maxmind / GeoIP2-perl

Perl API for MaxMind's GeoIP2 web services and databases
https://metacpan.org/release/GeoIP2/
Other
18 stars 11 forks source link

Not able to install GeoIP2::Database::Reader #58

Closed laxminarayanp closed 6 years ago

laxminarayanp commented 6 years ago

Not able install GeoIP2::Database::Reader perl module on rhel 6 server. tried cpan/cpanm etc. Multiple Maxmind modules getting failed during the install process and at the end it says Bailing out the installation for GeoIP2-2.004000.

Installed perl version is 5.10.1.

It will be great help if someone shed some light on this issue.

Regards, Lakshminarayanan

oschwald commented 6 years ago

There isn't much to go on. Would you be able to provide the build.log from the cpanm install?

laxminarayanp commented 6 years ago

Thank for responding, oschwald. Please see the attached.

build.log.txt.log

oschwald commented 6 years ago

Glancing at your log file, it looks like some dependencies are failing to be installed due to gcc not being available. This library is supposed to be installable without any XS dependencies and I would consider this a bug. However, if you can, you may be able to work around it by installing basic build tools. I don't use RHEL, but something like yum groupinstall 'Development Tools' may work.

laxminarayanp commented 6 years ago

thanks oschwald for checking it and suggesting. I will try what you've suggested and update.

laxminarayanp commented 6 years ago

Able to resolve this after installing multiple dependencies.

Thank you Oschwald.