[ensembl-dev] GeoIP C library

Anne Parker ap5 at sanger.ac.uk
Tue Feb 12 16:18:12 GMT 2013


Yes - we recommend downloading the latest (free) version from MaxMind.com - we tried committing it to CVS but it tends to get easily corrupted. Put it into your plugin and then configure the location in SiteDefs.pm:

$SiteDefs::GEOCITY_DAT = '/path/to/plugin/geocity/GeoLiteCity.dat';

Regards

Anne

On 12 Feb 2013, at 16:08, Sharon Wei <weix at cshl.edu> wrote:

> 
> Thanks, I just got the C libs installed with the help from Stuart. Another question, I suppose I also need the GeoLiteCity database file configured somewhere, right?
> 
> Sharon
> 
> On 2/12/13 10:16 AM, Nick Langridge wrote:
>> Hi Sharon
>> 
>> Maybe someone on the list can help with the C libs, if not, another option is to install the pure perl version.
>> 
>> To do this, install Geo::IP::PurePerl module from CPAN and install Geo::IP with PP (pure perl) flag set, e.g.
>> $ perl Makefile.PL PP=1 [...other args...]
>> 
>> Cheers,
>> Nick
>> 
>> On 12/02/2013 15:01, Sharon Wei wrote:
>>> Hi Ensembl Web developers,
>>> 
>>> I am trying to install the Geo::IP module, which requires the GeoIP C library to be installed. I am having a hard time find that library, could somebody point me to the right place?
>>> 
>>> Thanks a lot.
>>> 
>>> 
>>> Sharon
>>> 
>>> 
>>> _______________________________________________
>>> Dev mailing list    Dev at ensembl.org
>>> Posting guidelines and subscribe/unsubscribe info: http://lists.ensembl.org/mailman/listinfo/dev
>>> Ensembl Blog: http://www.ensembl.info/
>> 
>> 
>> 
>> _______________________________________________
>> Dev mailing list    Dev at ensembl.org
>> Posting guidelines and subscribe/unsubscribe info: http://lists.ensembl.org/mailman/listinfo/dev
>> Ensembl Blog: http://www.ensembl.info/
> 
> 
> _______________________________________________
> Dev mailing list    Dev at ensembl.org
> Posting guidelines and subscribe/unsubscribe info: http://lists.ensembl.org/mailman/listinfo/dev
> Ensembl Blog: http://www.ensembl.info/

Anne Parker
Ensembl Web Production Manager
http://www.ensembl.org







More information about the Dev mailing list