Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 385309

Summary: app-admin/webalizer 2.01.10-r15, r16 and r17 problem with geoip
Product: Gentoo Linux Reporter: Christophe PEREZ <chris>
Component: New packagesAssignee: Gentoo Web Application Packages Maintainers <web-apps>
Status: RESOLVED DUPLICATE    
Severity: normal CC: mlspamcb
Priority: Normal    
Version: 2008.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Christophe PEREZ 2011-10-02 04:25:58 UTC
app-admin/webalizer 2.01.10-r15, r16 and r17 fails to compile saying can't find libgeoip.a not found event if geoip is installed.
2.21.02 installs fine.

Reproducible: Always
Comment 1 Fabian Groffen gentoo-dev 2011-10-02 10:36:50 UTC
checking for gdImagePng in -lgd... yes
checking for gd.h... /usr/include
checking for GeoIP.h... /usr/include
checking for libGeoIP.a... no
configure: error: GeoIP library not found... please install GeoIP.

!!! Please attach the following file when seeking support:
!!! /export/scratch1/portage/portage/app-admin/webalizer-2.01.10-r15/work/webalizer-2.01-10/config.log
 * ERROR: app-admin/webalizer-2.01.10-r15 failed (configure phase):
 *   econf failed
 *
Comment 2 Fabian Groffen gentoo-dev 2011-10-02 10:43:34 UTC
*geoip-1.4.7 (19 Apr 2011)

  19 Apr 2011; Jeroen Roovers <jer@gentoo.org> +geoip-1.4.7.ebuild:
  Version bump thanks to euscan. Add USE=static-libs.

simplest solution, webalizer should depend on geoip[static-libs]
Comment 3 Fabian Groffen gentoo-dev 2011-10-02 10:47:37 UTC
@web-apps:

I recommend the following:
- change geoip dep in webalizer-2.01.10-r15 to geoip? ( dev-libs/geoip[static-libs] )
- open up a stabilisation request bug for webalizer-2.21.02, which just links fine against the dynamic lib (proper autoconf check)

workarounds for users:
- emerge geoip with USE=static-libs
- add app-admin/webalizer-2.21.02 ** to your /etc/portage/package.keywords and emerge the latest version
Comment 4 Anthony Basile gentoo-dev 2013-01-13 14:44:27 UTC
These are off the tree.  This is probably a dup of 396125 anyhow.

*** This bug has been marked as a duplicate of bug 396125 ***