Error compiling latest openkore in RHEL 7.3
Posted: 29 Jul 2017, 03:11
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.
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.