Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Dec 2006 10:18:00 +0100
From:      Jose-Marcio Martins da Cruz <Jose-Marcio.Martins@ensmp.fr>
To:        Beech Rintoul <freebsd@alaskaparadise.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Configure error
Message-ID:  <4583B9C8.9060707@ensmp.fr>
In-Reply-To: <200612151716.32713.freebsd@alaskaparadise.com>
References:  <200612151716.32713.freebsd@alaskaparadise.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Beech Rintoul wrote:
> I'm the port maintainer for ftp/proftpd. I'm struggling with getting an 
> upgrade out. The problem I'm having is they added a new option which requires 
> libiconv. Autoconf looks for iconv.h, can't find it in /usr/local/include and 
> the build errors out when it can't link. 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? Any help would be appreciated.

Maybe

./configure CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib"

or

env CPPFLAGS="-I/usr/local/include" \
	LDFLAGS="-L/usr/local/lib" ./configure




-- 
 ---------------------------------------------------------------
 Jose Marcio MARTINS DA CRUZ           Tel. :(33) 01.40.51.93.41
 Ecole des Mines de Paris              http://j-chkmail.ensmp.fr
 60, bd Saint Michel                http://www.ensmp.fr/~martins
 75272 - PARIS CEDEX 06      mailto:Jose-Marcio.Martins@ensmp.fr



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