Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Feb 2008
    Posts
    4

    Default php geoip pecl big problem!

    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 by ArtemZ; 03-11-2008 at 02:58 PM.

  2. #2
    Member
    Join Date
    Jan 2005
    Location
    /dev/null
    Posts
    770

    Default

    did you install the geoip libraries from maxmind first?

Similar Threads & Tags
Similar threads

  1. PHP PEcl module installation fails
    By thobarn in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 03-20-2011, 04:05 PM
  2. Support for PHP APC (PECL)
    By dancryer in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 12-20-2010, 03:59 PM
  3. Instaling pecl uploadprogress or pecl APC
    By vukomir in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 02-10-2009, 12:39 PM
  4. How to install PHP pear/pecl ?
    By dber in forum cPanel and WHM Discussions
    Replies: 11
    Last Post: 04-13-2008, 07:25 AM
  5. pecl imagick problem
    By the_bobara in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 02-18-2008, 02:21 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube