[CentOS] Webalizer and GeoIP?

Sun Apr 10 14:41:20 UTC 2011
Eero Volotinen <eero.volotinen at iki.fi>

2011/4/10 Marko Vojinovic <vvmarko at gmail.com>:
> On Sunday 10 April 2011 12:49:40 Kai Schaetzl wrote:
>> >From webalizer.conf.sample
>> # The GeoIP option enables or disables the use of geolocation
>> # services provided by the GeoIP library (http://www.maxmind.com),
>> #GeoIP          no
>> # GeoIPDatabase specifies an alternate database filename to use by the
>> # GeoIP library.  If an absolute path is not given as part of the name
>> #GeoIPDatabase  /usr/share/GeoIP/GeoIP.dat
>> It works only, if it is compiled in, of course. I don't know if that is
>> the case with the webalizer coming with CentOS. If the conf doesn't
>> contain these comments it is probably not compiled in.
> Ok, what would be the proper way to verify the compile-time options for the
> package?

rpm -q --queryformat="%{NAME}: %{OPTFLAGS}\n" webalizer might work

> And if it is not compiled with GeoIP support, can anyone explain why?

well, I think geoip library it not supported in rhel and this requires
geoip library..