From owner-freebsd-hackers@FreeBSD.ORG Sat Dec 16 03:14:32 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EAA4916A412 for ; Sat, 16 Dec 2006 03:14:32 +0000 (UTC) (envelope-from ntarmos@ceid.upatras.gr) Received: from poseidon.ceid.upatras.gr (poseidon.ceid.upatras.gr [150.140.141.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2931E43C9E for ; Sat, 16 Dec 2006 03:12:47 +0000 (GMT) (envelope-from ntarmos@ceid.upatras.gr) Received: from rhea.ceid.upatras.gr (rhea.ceid.upatras.gr [150.140.141.171]) by poseidon.ceid.upatras.gr (Postfix) with ESMTP id 6DB2E5C1E12 for ; Sat, 16 Dec 2006 05:14:34 +0200 (EET) Received: from localhost (localhost [127.0.0.1]) by rhea.ceid.upatras.gr (Postfix) with ESMTP id 5A89E80005 for ; Sat, 16 Dec 2006 05:14:30 +0200 (EET) Received: from rhea.ceid.upatras.gr ([127.0.0.1]) by localhost (rhea [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 08058-07 for ; Sat, 16 Dec 2006 05:14:29 +0200 (EET) Received: from ace.b020.ceid.upatras.gr (unknown [150.140.143.234]) by rhea.ceid.upatras.gr (Postfix) with ESMTP id 01BA280002 for ; Sat, 16 Dec 2006 05:14:28 +0200 (EET) Received: by ace.b020.ceid.upatras.gr (Postfix, from userid 1001) id 9225E5E; Sat, 16 Dec 2006 05:14:32 +0200 (EET) Date: Sat, 16 Dec 2006 05:14:32 +0200 From: Nikos Ntarmos To: freebsd-hackers@freebsd.org Message-ID: <20061216031432.GA17978@ace.b020.ceid.upatras.gr> Mail-Followup-To: freebsd-hackers@freebsd.org References: <200612151716.32713.freebsd@alaskaparadise.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200612151716.32713.freebsd@alaskaparadise.com> Organization: NetCInS Lab., C.E.I.D., U. of Patras, Greece WWW-Homepage: http://ntarmos.dyndns.org/ X-PGP-Fingerprint: 9680 60A7 DE60 0298 B1F0 9B22 9BA2 7569 CF95 160A Office-Phone: +30-2610-996919 Office-Fax: +30-2610-969011 GPS-Info: 38.31N, 21.82E User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Virus-Scanned: by amavisd-new at ceid.upatras.gr Subject: Re: Configure error X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Dec 2006 03:14:33 -0000 Hi there. On Fri, Dec 15, 2006 at 05:16:12PM -0900, Beech Rintoul wrote: > I googled the problem and found that autoconf by default doesn't look > in usr/local/include even if it's in the path. So, my question is what > to put in the makefile or what to patch in the sources to make > autoconf pick up that header? I was just bitten by the same problem while trying to make a new port. Adding: USE_AUTOTOOLS= aclocal:19 automake:19 autoheader:259 autoconf:259 LDFLAGS+= -L${LOCALBASE}/lib CFLAGS+= -I${LOCALBASE}/include CONFIGURE_ENV= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" pre-configure: @(cd ${CONFIGURE_WRKSRC} && \ ${SETENV} ${AUTOTOOLS_ENV} ${ACLOCAL}) in the Makefile did the trick for me. This is without GNU_CONFIGURE=yes. Cheers. \n\n