GeoIP install problem

lisas4567

Member
May 25, 2018
773
0
16
Hi guys!

I'm havin trouble installing the GeoIP

I did:
Code:
# pecl install geoip
# downloading geoip-1.0.7.tgz ...
# Starting to download geoip-1.0.7.tgz (9,416 bytes)
# .....done: 9,416 bytes
# 3 source files, building
# running: phpize
# sh: phpize: command not found
# ERROR: `phpize' failed
If I do:
Code:
# yum install php-develI get:
Code:
--> Running transaction check
---> Package php-devel.i386 0:5.1.6-27.el5_5.3 set to be updated
--> Processing Dependency: php = 5.1.6-27.el5_5.3 for package: php-devel
--> Finished Dependency Resolution
php-devel-5.1.6-27.el5_5.3.i386 from base has depsolving problems
--> Missing Dependency: php = 5.1.6-27.el5_5.3 is needed by package php-devel-5.1.6-27.el5_5.3.i386 (base)
Error: Missing Dependency: php = 5.1.6-27.el5_5.3 is needed by package php-devel-5.1.6-27.el5_5.3.i386 (base)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
Code:
#php -v
PHP 5.3.6 (cli) (built: Mar 19 2011 08:30:07)
Copyright (c) 1997-2011 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies
Can anyone tell me how I move on...I'm googling since hours sad.gif
 

simur612

Member
May 25, 2018
879
0
16
I dont use CentOS as my primary "preference" i use it at work (my rutorrent instalation is on Debian 6.1) but this might help you

Quote
yum search geoip

* addons: ftp.free.fr
* base: ftp.free.fr
* epel: be.mirror.eurid.eu
* extras: ftp.free.fr
* remi: iut-info.univ-reims.fr
* updates: ftp.free.fr

addons | 951 B 00:00
base | 1.1 kB 00:00
epel | 3.7 kB 00:00
epel/primary_db | 3.1 MB 00:00
extras | 2.1 kB 00:00
remi | 2.5 kB 00:00
remi/primary_db | 258 kB 00:00
updates | 1.9 kB 00:00
updates/primary_db | 627 kB 00:00

=================================== Matched: geoip =============================
GeoIP.i386 : C library finding what country an IP/hostname originates from
GeoIP-data.i386 : GeoIP database file
GeoIP-devel.i386 : GeoIP headers, libraries
lighttpd-mod_geoip.i386 : GeoIP module for lighttpd to use for location lookups
mod_geoip.i386 : GeoIP module for the Apache HTTP Server
opensips-mmgeoip.i386 : Wrapper for the MaxMind GeoIP API
perl-Geo-IP.i386 : Efficient Perl bindings for the GeoIP location database
php-pecl-geoip.i386 : Extension to map IP addresses to geographic places
python-GeoIP.i386 : Python bindings for the GeoIP geographical lookup libraries​


yum install php-pecl-geoip
 

peshua19

Member
May 25, 2018
897
0
16
Thanks for your reply...

Code:
yum install php-pecl-geoipgave me
Code:
No package php-pecl-geoip available.sad.gif I already did this:
Code:
yum install GeoIP
Code:
yum search geoipgave me this:
Code:
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.sanctuaryhost.com
* extras: mirror.steadfast.net
* updates: mirror.sanctuaryhost.com
base | 1.1 kB 00:00
extras | 2.1 kB 00:00
updates | 1.9 kB 00:00
================================ Matched: geoip ================================
GeoIP.i386 : C library finding what country an IP/hostname originates from
GeoIP-data.i386 : GeoIP database file
GeoIP-devel.i386 : GeoIP headers, libraries
 

simur612

Member
May 25, 2018
879
0
16
Nice thank you, worked! Cost me lot of time and anger cheesy.gif googled such a long time! Thank you finally!