Error compiling latest openkore in RHEL 7.3

Wrote new code? Fixed a bug? Want to discuss technical stuff? Feel free to post it here.

Moderator: Moderators

Message
Author
loki408
Noob
Noob
Posts: 5
Joined: 03 Sep 2011, 05:36
Noob?: No

Error compiling latest openkore in RHEL 7.3

#1 Post by loki408 »

Steps taken:
1. Checked and confirmed the utilities and programs documented in the link below are installed prior to actually compiling:
http://openkore.com/index.php/How_to_run_OpenKore

2. Install git to pull openkore from svn:
sudo yum install git

3. Update
sudo yum update

4. Pull openkore:
git clone https://github.com/OpenKore/openkore.git

5. Compile openkore:
cd openkore
perl ./openkore.pl

Compile runs but at the end it fails with the following messages (I've only pasted last 13 lines):

g++ -o src/test/consoleui-test.o -c -Wall -O3 -pipe -Wall -O3 -pipe -Isrc/auto/XSTools/unix src/test/consoleui-test.cpp
g++ -o src/test/consoleui-test src/test/consoleui-test.o src/auto/XSTools/unix/consoleui.o -lreadline -lpthread -lncurses
g++ -o src/test/http-reader-test.o -c -Wall -O3 -pipe -Wall -O3 -pipe -Isrc/auto/XSTools/utils src/test/http-reader-test.cpp
g++ -o src/test/http-reader-test src/test/http-reader-test.o src/auto/XSTools/utils/http-reader.o src/auto/XSTools/utils/std-http-reader.o src/auto/XSTools/utils/mirror-http-reader.o -lpthread -lcurl
scons: done building targets.
make: Leaving directory `/home/ec2-user/openkore/openkore'
Can't locate Digest/MD5.pm in @INC (@INC contains: src src/deps /home/ec2-user/openkore/openkore/src/deps /home/ec2-user/openkore/openkore/src /home/ec2-user/openkore/openkore /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at src/Network/Send.pm line 31.
BEGIN failed--compilation aborted at src/Network/Send.pm line 31.
Compilation failed in require at src/Misc.pm line 42.
BEGIN failed--compilation aborted at src/Misc.pm line 42.
Compilation failed in require at ./openkore.pl line 59.
BEGIN failed--compilation aborted at ./openkore.pl line 59.


Not sure what is causing the failure or how to work around it, I was able to compile with basically the same procedure in raspbian (debian jessie distribution) earlier today. If anyone has feedback or ideas I would greatly appreciate it.

kali
OpenKore Monk
OpenKore Monk
Posts: 457
Joined: 04 Apr 2008, 10:10

Re: Error compiling latest openkore in RHEL 7.3

#2 Post by kali »

Got your topic trashed by a mod?

Trashing topics is one click, and moving a topic to its proper forum is a lot harder. You expend the least effort in deciding where to post, mods expend the least effort by trashing.

Have a nice day.

loki408
Noob
Noob
Posts: 5
Joined: 03 Sep 2011, 05:36
Noob?: No

Re: Error compiling latest openkore in RHEL 7.3

#3 Post by loki408 »

Thank you kali!!

Problem solved after updating cpan and installing Digest::MD5 module. My apologies for the noob question, I didn't realize the problem was related to a Perl Module but I appreciate the google link ;)

kali
OpenKore Monk
OpenKore Monk
Posts: 457
Joined: 04 Apr 2008, 10:10

Re: Error compiling latest openkore in RHEL 7.3

#4 Post by kali »

Hahaha no worries :) Although I like that you would find the forums to be your "first resort" when you have questions, sometimes it's also good to try and see if it can be found in google search results.

May I trouble you to edit the wiki page so future users of RHEL 7.3 won't have to deal with the same issues as you did?
Got your topic trashed by a mod?

Trashing topics is one click, and moving a topic to its proper forum is a lot harder. You expend the least effort in deciding where to post, mods expend the least effort by trashing.

Have a nice day.

loki408
Noob
Noob
Posts: 5
Joined: 03 Sep 2011, 05:36
Noob?: No

Re: Error compiling latest openkore in RHEL 7.3

#5 Post by loki408 »

I've been trying to figure out how to edit the wiki for the better half of the past hour now and I've concluded I do not have the ability to edit the page. I made an account with mediawiki.org, verified it, and tried to log in/reset password/etc but the result is that my account does not exist when attempting to login to openkore wiki, logging into mediawiki.org directly works fine.

I'm sure there are instructions on how to edit the wiki that I'm missing, I would gladly add the steps in the wiki otherwise.

kali
OpenKore Monk
OpenKore Monk
Posts: 457
Joined: 04 Apr 2008, 10:10

Re: Error compiling latest openkore in RHEL 7.3

#6 Post by kali »

Ah you are right.

If you hop on to IRC and hang around there, we can probably set you up with an account :)

I think we had to disable wiki account creation sometime back due to some spammers editing the wiki.
Got your topic trashed by a mod?

Trashing topics is one click, and moving a topic to its proper forum is a lot harder. You expend the least effort in deciding where to post, mods expend the least effort by trashing.

Have a nice day.

Post Reply