Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re: newbie problem with Geo::IP installation through cpan

by syphilis (Bishop)
on Feb 03, 2010 at 08:13 UTC ( #821098=note: print w/replies, xml ) Need Help??

in reply to newbie problem with Geo::IP installation through cpan

Looks like a screwed Makefile.PL to me. I would just unpack the module's source to some location, cd to that location and run perl Makefile.PL LIBS="-L/usr/local/lib -lGeoIP" INC=-I/usr/local/include, followed by make test then sudo make install.

See if that works around the bug.


Replies are listed 'Best First'.
Re^2: newbie problem with Geo::IP installation through cpan
by jbakshi (Initiate) on Feb 03, 2010 at 08:58 UTC
    Thanks for your kind attention. I think the module location is given by this line Going to build B/BO/BORISZ/Geo-IP-1.38.tar.gz

    There is also a suggestion from cpan shell

    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'

    Please clarify a bit more what to do here. Shall I just untar from B/BO/BORISZ/Geo-IP-1.38.tar.gz and run the Makefile.PL there ? Please suggest.

      It seems to me that you have GeoIP installed in a standard location, so you won't need to do anything special except downloading and manually installing Geo::IP. I tried installing GeoIP and Geo::IP, and everything went without a hitch.
      Hello Rob,

      I have solved it as per your guidance. I have found the Geoip source located at

      So I have followed your suggestion with in that folder and now I get the Geoip tracking in awstats.

      many many thanks to you
      cpan>look Geo::IP or
      $ cpanp z Geo::IP
        Hello Anonymous Monk,

        thanks for this search technique

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://821098]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2020-10-28 06:05 GMT
Find Nodes?
    Voting Booth?
    My favourite web site is:

    Results (260 votes). Check out past polls.