Date: Sat, 19 Jan 2002 00:20:05 +0000 From: Thomas Hurst <freaky@aagh.net> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/34052: net/ntop fails to build with modified PREFIX Message-ID: <E16RjEr-000ID4-00@voi.aagh.net>
next in thread | raw e-mail | index | archive | help
>Number: 34052 >Category: ports >Synopsis: net/ntop fails to build with modified PREFIX >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jan 18 16:30:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Thomas Hurst >Release: FreeBSD 4.5-PRERELEASE i386 >Organization: Very little >Environment: System: FreeBSD voi.freak.lan 4.5-PRERELEASE FreeBSD 4.5-PRERELEASE #0: Thu Dec 20 13:56:19 GMT 2001 root@voi.freak.lan:/usr/obj/usr/src/sys/VOI i386 LOCALBASE=/usr/pkg >Description: Upgrading net/ntop gave me: checking for gdbm.h... no checking for gdbm_open in -lgdbm... no checking for gdbm_close in -lgdbm... no *** FATAL ERROR *** It looks that you don't have the libgdbm distribution installed. configure: error: The GNU Gdbm Library development tree seems corrupted or incomplete! That's incorrect; I suspect it's because it's not looking in PREFIX, but /usr/local (mine is different; /usr/pkg). I notice mail/mutt-devel uses: CONFIGURE_ENV= CC="${CC} -I${LOCALBASE}/include" LDFLAGS=-L${LOCALBASE}/lib Adding this to the port Makefile appears to fix the problem, but shouldn't bsd.port.mk deal with this? >How-To-Repeat: cd /usr/ports/net/ntop && make LOCALBASE=/usr/pkg >Fix: --- /usr/home/freaky/.bak/Makefile~ Fri Jan 18 22:53:38 2002 +++ Makefile Sat Jan 19 00:16:01 2002 @@ -33,6 +33,7 @@ USE_GMAKE= yes USE_LIBTOOL= yes INSTALLS_SHLIB= yes +CONFIGURE_ENV= CC="${CC} -I${LOCALBASE}/include" LDFLAGS=-L${LOCALBASE}/lib CONFIGURE_ARGS= --localstatedir=${DBDIR} \ --with-gdchart-root=${LOCALBASE} >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E16RjEr-000ID4-00>