Configure error

Beech Rintoul freebsd at alaskaparadise.com
Fri Dec 15 23:50:39 PST 2006


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 at 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 at 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
---------------------------------------------------------------------------------------











-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20061216/f292a96c/attachment.pgp


More information about the freebsd-hackers mailing list