Date: Fri, 6 Feb 2004 17:10:06 -0600 (CST) From: "Douglas K. Rand" <rand@meridian-enviro.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/62454: jabberd WITH_BDB=YES won't configure Message-ID: <200402062310.i16NA6Go044909@delta.meridian-enviro.com> Resent-Message-ID: <200402062320.i16NKBqM042913@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 62454 >Category: ports >Synopsis: jabberd WITH_BDB=YES won't configure >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 Feb 06 15:20:11 PST 2004 >Closed-Date: >Last-Modified: >Originator: Douglas K. Rand >Release: FreeBSD 4.9-RELEASE-p1 i386 >Organization: Meridian Environmental Technology, Inc. >Environment: System: FreeBSD delta.meridian-enviro.com 4.9-RELEASE-p1 FreeBSD 4.9-RELEASE-p1 #19: Fri Jan 23 15:21:16 CST 2004 rand@delta.meridian-enviro.com:/usr/obj/usr/src/sys/DELTA i386 >Description: When trying to build the net/jabberd port and using the Berkeley DB package for the database, the configure script incorrectly finds /usr/include/db.h instead of /usr/local/include/db41/db.h. This happens because jabberd's configure script adds a -I/usr/include to the cc command line, which makes cc look in the "wrong" directory first. >How-To-Repeat: make WITH_BDB=YES configure >Fix: As a hack, I added --oldincludedir=/nonexistant to CONFIGURE_ARGS which prevents the -I/usr/include from showing up on the command line when configure tries to test for the Berkeley DB packages. Everything still works since cc always checks /usr/include. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200402062310.i16NA6Go044909>