From owner-freebsd-hackers@FreeBSD.ORG Sat Dec 16 09:18:11 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 6A06516A403 for ; Sat, 16 Dec 2006 09:18:11 +0000 (UTC) (envelope-from Jose-Marcio.Martins@ensmp.fr) Received: from joe.j-chkmail.org (mar92-6-82-226-38-60.fbx.proxad.net [82.226.38.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id A6A0343CA3 for ; Sat, 16 Dec 2006 09:18:10 +0000 (GMT) (envelope-from Jose-Marcio.Martins@ensmp.fr) Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by joe.j-chkmail.org (8.13.7/8.13.7) with ESMTP id kBG9I0NK004602; Sat, 16 Dec 2006 10:18:04 +0100 Message-ID: <4583B9C8.9060707@ensmp.fr> Date: Sat, 16 Dec 2006 10:18:00 +0100 From: Jose-Marcio Martins da Cruz User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.13) Gecko/20060501 Fedora/1.7.13-1.1.fc4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Beech Rintoul References: <200612151716.32713.freebsd@alaskaparadise.com> In-Reply-To: <200612151716.32713.freebsd@alaskaparadise.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Miltered: at localhost.localdomain with ID 4583B9C8.000 by Joe's j-chkmail (http://j-chkmail dot ensmp dot fr)! Cc: freebsd-hackers@freebsd.org 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 09:18:11 -0000 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