From owner-freebsd-ports@FreeBSD.ORG Tue May 17 07:48:23 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0432116A4D0 for ; Tue, 17 May 2005 07:48:23 +0000 (GMT) Received: from mail17.syd.optusnet.com.au (mail17.syd.optusnet.com.au [211.29.132.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id 35F6743D9F for ; Tue, 17 May 2005 07:48:22 +0000 (GMT) (envelope-from an@atrn.org) Received: from juju.bsn (c220-237-108-211.carlnfd3.nsw.optusnet.com.au [220.237.108.211])j4H7mJpi023411; Tue, 17 May 2005 17:48:20 +1000 Received: by juju.bsn (Postfix, from userid 1000) id E72325D47; Tue, 17 May 2005 17:48:18 +1000 (EST) Date: Tue, 17 May 2005 17:48:18 +1000 From: Andy Newman To: Ralf Folkerts Message-ID: <20050517174818.A75847@juju.bsn> References: <200505151343.07338.steve@howes-macnaghten.com> <20050516091157.GB4670@dragon.NUXI.org> <428867EE.7090907@howes-macnaghten.com> <20050516181214.GB27232@dragon.NUXI.org> <1116314420.878.3.camel@beaster> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <1116314420.878.3.camel@beaster>; from ralf.folkerts@gmx.de on Tue, May 17, 2005 at 09:20:20AM +0200 cc: freebsd-ports@freebsd.org Subject: Re: Problems compiling rdesktop 1.4.1 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 May 2005 07:48:23 -0000 On Tue, May 17, 2005 at 09:20:20AM +0200, Ralf Folkerts wrote: > Am Montag, den 16.05.2005, 11:12 -0700 schrieb David O'Brien: > > Hi David, > > I also have a Problem here :-( I just forced a re-installation of > libiconv (I also have 1.9.2_1) - but that didn't help. However, the > "configure" did detect that iconv is installed... > > Do you have any hint? I built rdesktop manually earlier today. I haven't tried the port so please excuse any thing that's been gone over before or doesn't apply to the port. It appears rdesktop's configure isn't picking up that iconv.h is in /usr/local/include. Running configure with CPPFLAGS set to look there for headers fixed it, i.e. $ CPPFLAGS=-I/usr/local/include ./configure ... Note that without CPPFLAGS set like so configure reports, checking iconv.h usability... no checking iconv.h presence... no ... checking for iconv... yes Looking at the code they're using two macros to control iconv related things, HAVE_ICONV and HAVE_ICONV_H. The check for HAVE_ICONV_H in the autoconf configure input doesn't appear to use the setting of the --with-libiconv-prefix switch to configure so needs the CPPFLAGS setting to look in /usr/local/include and set the HAVE_ICONV_H. -- Andy