Skip to content
Advertisement

geoip + pecl + 64 bits box

Has anyone tried to install geoip over pecl on a 64bits box?

I can install geoip just fine using these commands on my 32bits fedora box. I can’t on the 64bits version. Any ideas why?

yum install make gcc cpp gcc-c++ glibc glibc-headers php-pear php- devel geoip geoip-devel

pecl install geoip

=> on the 64bits version it breaks here with the following message:

In file included from /var/tmp/geoip/geoip.c:32: /var/tmp/geoip/php_geoip.h:62:22: error: operator ‘>=’ has no left operand (…) make: *** [geoip.lo] Error 1 ERROR: `make’ failed

Thank you for you comments, Frankie

Advertisement

Answer

They had a bug but it’s now fixed on PECL.

Nothing like open source to make your day.

Thanks to the dev.

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement