ArtemZ

Registered
Feb 12, 2008
4
0
51
Hello! I tryed to install pecl_geoip, but i have some problems. I tryed to install it via
Main >> Software >> Module Installers PHP Pecl Installer
Code:
downloading geoip-1.0.2.tgz ...
Starting to download geoip-1.0.2.tgz (7,643 bytes)
.....done: 7,643 bytes
3 source files, building
running: phpize
Configuring for:
PHP Api Version:         20041225
Zend Module Api No:      20060613
Zend Extension Api No:   220060519
building in /root/tmp/pear-build-root/geoip-1.0.2
running: /root/tmp/pear/geoip/configure
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc and cc understand -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... yes
checking build system type... i386-unknown-freebsd6.3
checking host system type... i386-unknown-freebsd6.3
checking target system type... i386-unknown-freebsd6.3
checking for PHP prefix... /usr/local
checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib
checking for PHP extension directory... /usr/local/lib/php/extensions/no-debug-non-zts-20060613
checking for PHP installed headers prefix... /usr/local/include/php
checking for re2c... re2c
checking for re2c version... 0.12.1 (ok)
checking for gawk... no
checking for nawk... nawk
checking if nawk is broken... no
checking for geoip support... yes, shared
checking for geoip files in default path... found in /usr/local
checking for GeoIP_open in -lGeoIP... no
configure: error: wrong geoip lib version or lib not found
ERROR: `/root/tmp/pear/geoip/configure' failed
The geoip.so object is not in /usr/local/lib/php/extensions/no-debug-non-zts-20060613
Can you please help me?
P.S
Installation via /usr/ports/net/pecl-geoip cannot help me too:
configure:4085: result: no
configure:4202: error: wrong geoip lib version or lib not found
 
Last edited: