PDA

View Full Version : world compiling errors


bushman77
05-11-2008, 01:36 PM
after chatting in irc it seems that the compiler is having troubles with perl.
http://rafb.net/p/BiGPlw10.html
this is my pasting

trevius
05-11-2008, 04:33 PM
I'm not sure what the problem you are having is, but I followed the wiki to setup a server on Debian Linux and it worked perfectly. The wiki can be found here if you want to check it out:

http://www.eqemulator.net/wiki/wikka.php?wakka=DebianLinuxServer

sesmar
05-12-2008, 06:58 AM
I just did a clean install of Gentoo last week and did not have any problems getting the emu up and running again. However, the latest version of perl in Gentoo's emerge is 5.8, if you are using a version newer than 5.8 that could be the problem. According to this post: http://eqemulator.net/forums/showthread.php?t=24915&highlight=perl+problem eqemu depends on files that were not in the latest version of perl.

bushman77
05-12-2008, 11:34 PM
the rpm package apparenlty has some include files missing so you should isntall it via tarball and copy the files over manually

bushman77
05-13-2008, 12:16 AM
i got past the includes errors but now

> make
Can't locate ExtUtils/Embed.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .).
BEGIN failed--compilation aborted.
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wcomment -Wcast-align -Wno-deprecated -g -march=i686 -O -pthread -pipe -I../common/SocketLib -DFX -D_GNU_SOURCE -DINVERSEXY -DWORLD -DDEBUG=5 -DEQDEBUG=5 -DSHAREMEM -DCATCH_CRASH -DNO_PIDLOG -DFIELD_ITEMS -DIRC -Di386 -DAPP_OPCODE_SIZE=2 -DEMBPERL -DEMBPERL_PLUGIN -DHAS_UNION_SEMUN -I/usr/include/mysql -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv EQW.cpp -o EQW.o
In file included from ../common/useperl.h:12,
from EQWParser.h:31,
from EQW.cpp:23:
/usr/include/perl.h:3993:22: error: reentr.inc: No such file or directory
/usr/include/regexp.h: In function 'char* compile(char*, char*, const char*, int)':
/usr/include/regexp.h:110: error: 'INIT' was not declared in this scope
/usr/include/regexp.h:115: error: expected `;' before 'regex_t'
/usr/include/regexp.h:127: error: 'ERROR' was not declared in this scope
/usr/include/regexp.h:129: error: '__expr_ptr' was not declared in this scope
/usr/include/regexp.h:135: error: 'GETC' was not declared in this scope
/usr/include/regexp.h:139: error: 'UNGETC' was not declared in this scope
/usr/include/regexp.h:182: error: 'RETURN' was not declared in this scope
/usr/include/regexp.h:197: error: 'ERROR' was not declared in this scope
/usr/include/regexp.h:201: error: 'RETURN' was not declared in this scope
/usr/include/perl.h: At global scope:
/usr/include/perl.h:2771: error: expected ';' before '*' token
/usr/include/perl.h:2772: error: expected ';' before '*' token
make: *** [EQW.o] Error 1


i'm gettin there slowly but surely