Hmm,
I guess it is a centos issue.
Have you installed Geo::IP yourself? With
perl Makefile.PL PP=1
after the big warning, that you use the slow fallback code?
The GeoIP CAPI is not installed you should do that. Otherwise try
perl Makefile.PL PP=1
to install this module anyway. It uses a slower pure perl version
and you can rebuid it later.
GeoIP must be installed prior to building Geo::IP and I can't find
it in the standard library directories. You can download GeoIP C API
from:
http://www.maxmind.com/app/c
If GeoIP is installed, but in a non-standard directory, then use the
following options to Makefile.PL:
perl Makefile.PL LIBS='-L/home/me/lib' INC='-I/home/me/include'
Note that if you build against a shareable library in a non-standard
location
you may (on some platforms) also have to set your LD_LIBRARY_PATH
environment
variable at run time for perl to find the library.
If you installed the GeoIP C libraries to the /usr/local/lib directory,
then you may need to add /usr/local/lib to /etc/ld.so.conf then run
/sbin/ldconfig /etc/ld.so.conf
Am 08.09.2009 um 23:29 schrieb Matthew Gallant via RT:
Show quoted text> Queue: Geo-IP
> Ticket <URL:
http://rt.cpan.org/Ticket/Display.html?id=49532 >
>
>> the PP mode is transparent, as long as you have not installed the
>> CAPI before.
>
> Thanks for the quick reply. I don't have any Geo-IP C libs installed
> that I can tell (`locate geo`).
>
> I moved over to Geo::IP::PurePerl which I hadn't seen before and now
> the only issue is that Sys::Mmap which must be installed or else I get
> a die() crash.
>
--
Boris