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>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart10603851.P74RXg2Mqq
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

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=3D	aclocal:19 automake:19 autoheader:259 autoconf:259
> LDFLAGS+=3D	-L${LOCALBASE}/lib
> CFLAGS+=3D	-I${LOCALBASE}/include
> CONFIGURE_ENV=3D	CFLAGS=3D"${CFLAGS}" LDFLAGS=3D"${LDFLAGS}"
>
> pre-configure:
> 	@(cd ${CONFIGURE_WRKSRC} && \
> 	${SETENV} ${AUTOTOOLS_ENV} ${ACLOCAL})
>
> in the Makefile did the trick for me. This is without GNU_CONFIGURE=3Dyes.

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

=2Eif !defined(WITHOUT_WRAP)
MODULES:=3D${MODULES}:mod_wrap2
INCLUDEDIRS:=3D${INCLUDEDIRS}:${WORKDIR}/include
LIBDIRS:=3D${LIBDIRS}:${LOCALBASE}/lib
=2Eendif

Beech

=2D-=20
=2D------------------------------------------------------------------------=
=2D-------------
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
=2D------------------------------------------------------------------------=
=2D-------------












=2D-=20
=2D------------------------------------------------------------------------=
=2D-------------
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
=2D------------------------------------------------------------------------=
=2D-------------












--nextPart10603851.P74RXg2Mqq
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)

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

--nextPart10603851.P74RXg2Mqq--



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