Linux compile problem

For everything NOT server specific support. Do NOT ask for connectivity help here!.

Moderator: Moderators

JeffShadow90
Noob
Noob
Posts: 3
Joined: 27 Aug 2010, 08:44
Noob?: No

Linux compile problem

#1 Post by JeffShadow90 »

I have followed all the linux complile guide installing everything for my centOS and no errors appeared

Now I m facing this problem that is not in the common problems

Code: Select all

make: Entering directory `/root/Desktop/openkore_ready'
scons: Reading SConscript files ...
Checking Perl configuration ...(cached) yes
Checking for C library ncurses... no
Checking for GNU readline 4.3 or higher...yes
Checking for libcurl...(cached) libcurl 7.15.5
scons: done reading SConscript files.
scons: Building targets ...
o src/auto/XSTools/PaddedPackets/Algorithms/algorithms.os -c -Wall -O3 -pipe -fPIC -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -Wall -O3 -pipe -fPIC -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -fPIC -I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE src/auto/XSTools/PaddedPackets/Algorithms/algorithms.cpp
sh: o: command not found
g++ -o src/auto/XSTools/PaddedPackets/Algorithms/cast.os -c -Wall -O3 -pipe -fPIC -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -fPIC -I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE src/auto/XSTools/PaddedPackets/Algorithms/cast.c
sh: g++: command not found
scons: *** [src/auto/XSTools/PaddedPackets/Algorithms/cast.os] Error 127
scons: building terminated because of errors.
Compilation failed. Please read http://www.openkore.com/index.php/How_to_run_OpenKore for help.
make: Leaving directory `/root/Desktop/openkore_ready'
Can't locate loadable object for module XSTools in @INC (@INC contains: /root/Desktop/openkore_ready/src/deps /root/Desktop/openkore_ready/src /root/Desktop/openkore_ready /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at ./openkore.pl line 25
[root@jakk-ro openkore_ready]# 
[root@jakk-ro openkore_ready]# perl ./openkore.pl
make: Entering directory `/root/Desktop/openkore_ready'
scons: Reading SConscript files ...
Checking Perl configuration ...(cached) yes
Checking for C library ncurses... (cached) no
Checking for GNU readline 4.3 or higher...(cached) yes
Checking for libcurl...(cached) libcurl 7.15.5
scons: done reading SConscript files.
scons: Building targets ...
o src/auto/XSTools/PaddedPackets/Algorithms/algorithms.os -c -Wall -O3 -pipe -fPIC -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -Wall -O3 -pipe -fPIC -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -fPIC -I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE src/auto/XSTools/PaddedPackets/Algorithms/algorithms.cpp
sh: o: command not found
g++ -o src/auto/XSTools/PaddedPackets/Algorithms/cast.os -c -Wall -O3 -pipe -fPIC -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -fPIC -I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE src/auto/XSTools/PaddedPackets/Algorithms/cast.c
sh: g++: command not found
scons: *** [src/auto/XSTools/PaddedPackets/Algorithms/cast.os] Error 127
scons: building terminated because of errors.
Compilation failed. Please read http://www.openkore.com/index.php/How_to_run_OpenKore for help.
make: Leaving directory `/root/Desktop/openkore_ready'
Can't locate loadable object for module XSTools in @INC (@INC contains: /root/Desktop/openkore_ready/src/deps /root/Desktop/openkore_ready/src /root/Desktop/openkore_ready /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at ./openkore.pl line 25
[root@jakk-ro openkore_ready]# 
I pasted all because I m not a linux expert and I guess you need this

Thanks ;)
EternalHarvest
Developers
Developers
Posts: 1798
Joined: 05 Dec 2008, 05:42
Noob?: Yes

Re: Linux compile problem

#2 Post by EternalHarvest »

JeffShadow90 wrote:

Code: Select all

sh: g++: command not found
Well, you need g++.
JeffShadow90
Noob
Noob
Posts: 3
Joined: 27 Aug 2010, 08:44
Noob?: No

Re: Linux compile problem

#3 Post by JeffShadow90 »

Ok.. I installed g++ and it was compiling everything but than an error appeared

Code: Select all

[root@jakk-ro openkore_ready]# perl ./openkore.pl
Can't locate Compress/Zlib.pm in @INC (@INC contains: src src/deps /root/Desktop/openkore_ready/src/deps /root/Desktop/openkore_ready/src /root/Desktop/openkore_ready /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at src/Field.pm line 45.
BEGIN failed--compilation aborted at src/Field.pm line 45.
Compilation failed in require at src/Utils/PathFinding.pm line 31.
BEGIN failed--compilation aborted at src/Utils/PathFinding.pm line 31.
Compilation failed in require at ./openkore.pl line 50.
BEGIN failed--compilation aborted at ./openkore.pl line 50.
Thanks :)