ports/149627: net-p2p/amule2: fix for geoip and for a gd warning

Barbara barbara.xxx1975 at libero.it
Fri Aug 13 18:30:07 UTC 2010


>Number:         149627
>Category:       ports
>Synopsis:       net-p2p/amule2: fix for geoip and for a gd warning
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 13 18:30:04 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Barbara
>Release:        RELENG_8
>Organization:
>Environment:
FreeBSD satanasso.local.net 8.1-STABLE FreeBSD 8.1-STABLE #0: Tue Aug 10 13:51:27 CEST 2010     root at satanasso.local.net:/usr/obj/usr/src/sys/SATANASSO  i386
>Description:

Running "make configure" I'm getting an error about GeoIP:

checking GeoIP.h usability... no
checking GeoIP.h presence... no
checking for GeoIP.h... no
configure: WARNING:
        GeoIP support has been disabled because the GeoIP header files were
        not found
..
 *** Warnings during configuration ***

* GeoIP support has been disabled because the GeoIP header files were not
  found


and a warning about gd.h:

configure: WARNING: gd.h: accepted by the compiler, rejected by the preprocessor
!
configure: WARNING: gd.h: proceeding with the compiler's result


The strange thing is that I usually build aMule SVN by myself, but in my configure options I don't need to specify geoip headers directory or gdlib prefix. About gd I've always used "--with-gdlib-config=/usr/local/bin/gdlib-config", and I don't get the warning.

>How-To-Repeat:
# cd /usr/ports/net-p2p/amule2
# make config
if not checked, check CAS and GEOIP
# make configure

>Fix:


Patch attached with submission follows:

33c33,35
< CONFIGURE_ARGS=	--without-included-gettext \
---
> CONFIGURE_ARGS=	--with-gdlib-prefix=${LOCALBASE} \
> 		--with-geoip-headers=${LOCALBASE}/include \
> 		--without-included-gettext \


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list