Hi
 I'm trying to compile dev-perl/Geo-IP and I got the following message:

Source unpacked.
* Using ExtUtils::MakeMaker
Checking if your kit is complete...
Looks good
Unrecognized argument in LIBS ignored: ''-L/usr/lib64''
Writing Makefile for Geo::IP
cp lib/Geo/Mirror.pm blib/lib/Geo/Mirror.pm
cp lib/Geo/IP/Record.pod blib/lib/Geo/IP/Record.pod
cp lib/Geo/IP/Record.pm blib/lib/Geo/IP/Record.pm
cp lib/Geo/IP.pm blib/lib/Geo/IP.pm
/usr/bin/perl5.8.8 /usr/lib64/perl5/5.8.8/ExtUtils/xsubpp  -typemap
/usr/lib64/perl5/5.8.8/ExtUtils/typemap -typemap typemap  IP.xs >
IP.xsc && mv IP.xsc IP.c
x86_64-pc-linux-gnu-gcc -c   -fno-strict-aliasing -pipe
-Wdeclaration-after-statement -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -march=athlon64 -O2 -pipe   -DVERSION=\"1.27\"
-DXS_VERSION=\"1.27\" -fPIC
"-I/usr/lib64/perl5/5.8.8/x86_64-linux/CORE"   IP.c
Running Mkbootstrap for Geo::IP ()
chmod 644 IP.bs
rm -f blib/arch/auto/Geo/IP/IP.so
x86_64-pc-linux-gnu-gcc  -shared -L/usr/local/lib64 IP.o  -o
blib/arch/auto/Geo/IP/IP.so        \
  -lGeoIP      \

/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/../../../../x86_64-pc-linux-gnu/bin/ld:
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/../../../../lib64/libGeoIP.a(GeoIP.o):
relocation R_X86_64_32 against `a local symbol' can not be used when
making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/../../../../lib64/libGeoIP.a:
could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [blib/arch/auto/Geo/IP/IP.so] Error 1

!!! ERROR: dev-perl/Geo-IP-1.27 failed.
!!! Function perl-module_src_compile, Line 121, Exitcode 2


What's up?

Thank u,

Leandro.
--
gentoo-user@gentoo.org mailing list

Reply via email to