Subject: | geo-IP does not build on a redhat 7.3 |
I tried to build the Geo-IP on redhat7.3 with perl v5.6.1.
First I got this error:
/usr/bin/perl -I/usr/lib/perl5/5.6.1/i386-linux -I/usr/lib/perl5/5.6.1 /usr/lib/perl5/5.6.1/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.6.1/ExtUtils/typemap -typemap typemap IP.xs > IP.xsc && mv IP.xsc IP.c
Error: 'float' not in typemap in IP.xs, line 177
Error: 'float' not in typemap in IP.xs, line 185
make: *** [IP.c] Error 1
I kinda fix that (a replaced float with double at the end of the IP.xs file)
and I gor this errors:
gcc -c -fno-strict-aliasing -I/usr/local/include -O2 -march=i386 -mcpu=i686 -DVERSION=\"1.12\" -DXS_VERSION=\"1.12\" -fPIC -I/usr/lib/perl5/5.6.1/i386-linux/CORE IP.c
IP.xs: In function `XS_Geo__IP__Record_postal_code':
IP.xs:167: structure has no member named `postal_code'
make: *** [IP.o] Error 1
Any help is appreciated.
Neculai Macarie.