Browsing through the gentoo forums, I've found that many people don't know how to enable Geo-IP plugin in awstats. Since there's a global "geoip" use flag, why not use it? ;) Reproducible: Always Steps to Reproduce: Dropped alpha, amd64, hppa and mips due to new dependencies. dev-perl/Geo-IP needs testing on alpha, amd64, hppa and mips and depends on dev-libs/geoip, which needs testing on mips.
Created attachment 66838 [details, diff] patch against net-www/awstats-6.5 ebuild
I can test on amd64, hppa, and mips. CC'ing alpha@.
dev-perl/Geo-IP doesn't build on alpha... I'm trying to figure out why. In case you were going to ask, use.mask'ing geoip in alpha is not a solution since dev-libs/geoip works fine (I'm using it with webalizer) Cheers, Ferdy
dev-libs/geoip *should* 'append-flags -fPIC' that way everything works fine on alpha. And follows the policy :) Cheers, Ferdy
netmon herd, could you please fix dev-libs/geoip ebuild per comment #4? Thanks.
Ok, just a ping here, this is a really important issue. Please netmon, fix geoip.
Sorry Ferdy - added -fPIC to geoip-1.3.13.ebuild and geoip-1.3.14.ebuild I'll need to revisit this - I'm sure its an automake problem somewhere.
Thanks for fixing that one. I marked dev-perl/Geo-IP ~alpha. If we have to do something else, please CC us again. Cheers, Ferdy
Just a post-Xmas ping :=)
which Geo::IP ebuild should we be building for use with AWStats 6.5? there are a few in portage: dev-perl/Geo-IP dev-libs/geoip dev-python/geoip-python dev-ruby/net-geoip in my case, i installed using dev-libs/geoip and ran into a famous error: <snip> Error: Plugin load for plugin 'geoip' failed with return code: Error: Can't locate Geo/IP/PurePerl.pm in @INC (@INC contains: /etc/perl /usr/lib/perl5/site_perl/5.8.6/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.6/i586-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.6/i586-linux-thread-multi /usr/lib/perl5/5.8.6 /usr/local/lib/site_perl . /usr/share/webapps/awstats/6.5/hostroot/cgi-bin/lib /usr/share/webapps/awstats/6.5/hostroot/cgi-bin/plugins) at (eval 3) line 1. Setup ('/etc/awstats/awstats.ahrends.conf' file, web server or permissions) may be wrong. Check config file, permissions and AWStats documentation (in 'docs' directory). </snip> i ended up manually building GeoIP following the directions at maxmind.com.
(In reply to comment #10) > which Geo::IP ebuild should we be building for use with AWStats 6.5? there are Why don't you see/use the ebuild patch in Comment #1?
Uncomenting the line #LoadPlugin = "geoip GEOIP_STANDARD" is not enough. You should add /usr/share/GeoIP/GeoIP.dat. I thinl that this should be added to the default conf too.
(In reply to comment #12) > Uncomenting the line > > #LoadPlugin = "geoip GEOIP_STANDARD" > > is not enough. You should add /usr/share/GeoIP/GeoIP.dat. I thinl that this > should be added to the default conf too. > Oops. Sorry, I see that this change have been already submitted.
So, is the bug solved? I'd be more than happy to take this one on if not. Such a trivial merge should have taken place 2 years ago!
I'm not the maintainer of this and I don't use it... Best regards, CHTEKK.
done in 6.6. not sure why this took so long.