Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: GeoIP and mod_geoip2
PostPosted: Wed Jan 18, 2012 9:36 am 
Offline
Senior Newbie

Joined: Thu Dec 29, 2011 3:39 pm
Posts: 8
Hi guy's,

I am running Webalizer on my CentOS Linode to view stats for each site I host. I wanted to patch Webalizer with the Geolizer patch so that the location of visitors is more precise.

I found that I would need GeoIP and mod_geoip2 installed first so I found this guide. http://www.indiangnu.org/2010/how-to-install-geoip-and-mod_geoip2-on-centos-for-apache-2

I followed it step by step but I am getting the following output at step 7:



Code:
/usr/lib/apr-1/build/libtool –silent –mode=compile gcc -prefer-pic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector –param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -fno-strict-aliasing -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -pthread -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include -c -o mod_geoip.lo mod_geoip.c && touch mod_geoip.slo
mod_geoip.c: In function ‘geoip_header_parser’:
mod_geoip.c:328: warning: implicit declaration of function ‘ap_add_common_vars’
mod_geoip.c:423: error: ‘GEOIP_NETSPEED_EDITION_REV1′ undeclared (first use in this function)
mod_geoip.c:423: error: (Each undeclared identifier is reported only once
mod_geoip.c:423: error: for each function it appears in.)
mod_geoip.c:458: warning: implicit declaration of function ‘GeoIP_country_id_by_addr_v6′
mod_geoip.c:546: error: ‘GEOIP_CITY_EDITION_REV0_V6′ undeclared (first use in this function)
mod_geoip.c:547: error: ‘GEOIP_CITY_EDITION_REV1_V6′ undeclared (first use in this function)
mod_geoip.c:303: warning: unused variable ‘gip’
apxs:Error: Command failed with rc=65536
.


To be honest I don't even know what the step 7 command does (stupid I know :( )

Does anyone have any info on what this does and also where I am going wrong?

Thanks,

Tom


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group