Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Aug 2010 18:21:25 GMT
From:      Barbara <barbara.xxx1975@libero.it>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/149627: net-p2p/amule2: fix for geoip and for a gd warning
Message-ID:  <201008131821.o7DILPcr018175@www.freebsd.org>
Resent-Message-ID: <201008131830.o7DIU4dk060934@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008131821.o7DILPcr018175>