PDA

View Full Version : 0.6.3 & Latest CVS compile issue


CompGeek01
01-02-2006, 11:56 AM
I'm getting an interesting issue when trying to compile ZONE (the final executable) on my debian system:


Note (probably harmless): No library found for -lperl
net.o(.text+0x1036): In function `NetConnection::GetIP(char*)':
/eqemu/source/01.02.06/zone/net.cpp:611: undefined reference to `Perl_Gthr_key_ptr'
net.o(.text+0x1048):/eqemu/source/01.02.06/zone/net.cpp:611: undefined reference to `Perl_Ireentrant_buffer_ptr'
net.o(.text+0x105e):/eqemu/source/01.02.06/zone/net.cpp:611: undefined reference to `Perl_Gthr_key_ptr'
net.o(.text+0x1070):/eqemu/source/01.02.06/zone/net.cpp:611: undefined reference to `Perl_Ireentrant_buffer_ptr'
net.o(.text+0x1084):/eqemu/source/01.02.06/zone/net.cpp:611: undefined reference to `Perl_Gthr_key_ptr'
net.o(.text+0x1096):/eqemu/source/01.02.06/zone/net.cpp:611: undefined reference to `Perl_Ireentrant_buffer_ptr'
net.o(.text+0x10a4):/eqemu/source/01.02.06/zone/net.cpp:611: undefined reference to `Perl_Gthr_key_ptr'
net.o(.text+0x10b6):/eqemu/source/01.02.06/zone/net.cpp:611: undefined reference to `Perl_Ireentrant_buffer_ptr'

Is it some dependency I'm missing? This snippet is follow by 5000+ lines of errors of the same nature.

Belfedia
01-03-2006, 02:38 AM
What debian version ? What Gcc version ? What mysql version ? What perl version ? Have you intall IO-scalar function ?

Too many question before try to help you...
But perl error is the problem i think... are you sure about your install ?

CompGeek01
01-03-2006, 03:48 AM
Sorry for skipping obvious details:

Debian sarge 2.4.27-2
mysql 4.1.11
perl 5.8.4
gcc version 3.3.5 (Debian 1:3.3.5-13)

I've install perl stringy-perl module which I though included IO::scalar

What would you thing I'd have to do? I've already removed perl and reinstall...although maybe not completely as I just did an apt-get remove perl and then apt-get install perl. Same error before and after I did it. Is there more to reinstalling perl? Kinda new to debian package management.

I appreciate it.

Belfedia
01-03-2006, 05:00 AM
I'm not a linux expert
But i think if you have perl problem, you can have support on perl forum better than here ?
Perl is need for make quest system on eqemu.
I have install it with apt-get and i have no error with same distrib than you.
But apt-get (remove) don't change config files. you must use dpkg reconfigure (but i don't remember syntax).

fathernitwit
01-03-2006, 03:46 PM
it seems like this might be related to your version of perl not being compiled with any thread support.

Gimme a "perl -V"

CompGeek01
01-04-2006, 06:41 AM
This is perl, v5.8.4 built for i386-linux-thread-multi

Copyright 1987-2004, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using `man perl' or `perldoc perl'. If you have access to the
Internet, point your browser at http://www.perl.com/, the Perl Home Page.

****EDIT*****
$Config{usethreads} or die "no threads"

dies....going to see if i can find how to get them in there