Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Dec 2006 22:50:14 -0900
From:      Beech Rintoul <freebsd@alaskaparadise.com>
To:        freebsd-hackers@freebsd.org
Cc:        Nikos Ntarmos <ntarmos@ceid.upatras.gr>
Subject:   Re: Configure error
Message-ID:  <200612152250.32896.freebsd@alaskaparadise.com>
In-Reply-To: <20061216031432.GA17978@ace.b020.ceid.upatras.gr>
References:  <200612151716.32713.freebsd@alaskaparadise.com> <20061216031432.GA17978@ace.b020.ceid.upatras.gr>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On Friday 15 December 2006 18:14, Nikos Ntarmos wrote:
> 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.

Thanks, that's more than I needed but it did point me in the right direction. 
I just needed to add the paths inside the option:

.if !defined(WITHOUT_WRAP)
MODULES:=${MODULES}:mod_wrap2
INCLUDEDIRS:=${INCLUDEDIRS}:${WORKDIR}/include
LIBDIRS:=${LIBDIRS}:${LOCALBASE}/lib
.endif

Beech

-- 
---------------------------------------------------------------------------------------
Beech Rintoul - Sys. Administrator - beech@alaskaparadise.com
/"\   ASCII Ribbon Campaign  | Alaska Paradise Travel
\ / - NO HTML/RTF in e-mail  | 201 East 9Th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \  - Please visit Alaska Paradise - http://www.alaskaparadise.com
---------------------------------------------------------------------------------------












-- 
---------------------------------------------------------------------------------------
Beech Rintoul - Sys. Administrator - beech@alaskaparadise.com
/"\   ASCII Ribbon Campaign  | Alaska Paradise Travel
\ / - NO HTML/RTF in e-mail  | 201 East 9Th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \  - Please visit Alaska Paradise - http://www.alaskaparadise.com
---------------------------------------------------------------------------------------












[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)

iD8DBQBFg6VIR5sEeCt9j00RAme7AJ4wvNRPUqNtS3nAxtElb7nsqVqjxwCdG8IL
5rSUle0SOdHcfkgI4EMaGew=
=SN40
-----END PGP SIGNATURE-----
help

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