Results 1 to 3 of 3
  1. #1

    Install GeoIP on cPanel Server

    I am trying to install geoip using
    pecl install geoip
    but I get the following error:

    pecl install geoip
    downloading geoip-1.0.8.tgz ...
    Starting to download geoip-1.0.8.tgz (10,061 bytes)
    .....done: 10,061 bytes
    5 source files, building
    running: phpize
    Configuring for:
    PHP Api Version: 20090626
    Zend Module Api No: 20090626
    Zend Extension Api No: 220090626
    building in /root/tmp/pear/pear-build-rootU4nhxz/geoip-1.0.8
    running: /root/tmp/pear/geoip/configure
    checking for egrep... grep -E
    checking for a sed that does not truncate output... /bin/sed
    checking for cc... cc
    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 cc accepts -g... yes
    checking for cc option to accept ANSI C... none needed
    checking how to run the C preprocessor... cc -E
    checking for icc... no
    checking for suncc... no
    checking whether cc understands -c and -o together... yes
    checking for system library directory... lib
    checking if compiler supports -R... no
    checking if compiler supports -Wl,-rpath,... yes
    checking build system type... x86_64-unknown-linux-gnu
    checking host system type... x86_64-unknown-linux-gnu
    checking target system type... x86_64-unknown-linux-gnu
    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-20090626
    checking for PHP installed headers prefix... /usr/local/include/php
    checking if debug is enabled... no
    checking if zts is enabled... no
    checking for re2c... re2c
    checking for re2c version... invalid
    configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
    checking for gawk... gawk
    checking for geoip support... yes, shared
    checking for geoip files in default path... not found
    configure: error: Please reinstall the geoip distribution
    ERROR: `/root/tmp/pear/geoip/configure' failed
    Any ideas?

  2. #2
    Join Date
    Apr 2001
    Location
    Paradise
    Posts
    12,052
    Try to install/upgrade re2c

    yum install re2c
    Shared Web Hosting - Reseller Hosting - Semi-Dedicated Servers - SolusVM/XEN VPS
    LiteSpeed Powered - R1Soft Continuous Data Protection - 24/7 Chat/Email/Helpdesk Support
    Cpanel/WHM - Softaculous - R1soft Backup - Litespeed - Cloudlinux -Site Builder- SSH support - Account Migration
    DowntownHost LLC - In Business since 2001- West/Center/East USA - Netherlands - Singapore

  3. #3
    Thanks, Problem resolved thanks to this article:

    http://www.daniweb.com/web-developme...stallin-geoip#

    Cheers!

Similar Threads

  1. Replies: 0
    Last Post: 06-04-2012, 10:43 PM
  2. Vectro.com - cPanel | Fantastico | GeoIP - 50% Your First Order
    By vectro in forum Shared Hosting Offers
    Replies: 3
    Last Post: 03-18-2012, 08:42 PM
  3. Replies: 0
    Last Post: 10-29-2011, 03:48 AM
  4. Replies: 0
    Last Post: 09-16-2011, 09:46 AM
  5. Replies: 0
    Last Post: 06-19-2011, 02:42 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •