From owner-freebsd-ports@FreeBSD.ORG Tue May 17 15:06:30 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 1B92916A4CE for ; Tue, 17 May 2005 15:06:30 +0000 (GMT) Received: from mail.gmx.net (pop.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id E49BE43DC3 for ; Tue, 17 May 2005 15:06:28 +0000 (GMT) (envelope-from ralf.folkerts@gmx.de) Received: (qmail invoked by alias); 17 May 2005 15:06:22 -0000 Received: from dsl-084-056-132-076.arcor-ip.net (EHLO beaster) [84.56.132.76] by mail.gmx.net (mp013) with SMTP; 17 May 2005 17:06:22 +0200 X-Authenticated: #18511927 From: Ralf Folkerts To: Andy Newman In-Reply-To: <20050517174818.A75847@juju.bsn> References: <200505151343.07338.steve@howes-macnaghten.com> <20050516091157.GB4670@dragon.NUXI.org> <428867EE.7090907@howes-macnaghten.com> <1116314420.878.3.camel@beaster> <20050517174818.A75847@juju.bsn> Content-Type: text/plain Organization: Wohnzimmerrechenzentrum Date: Tue, 17 May 2005 17:06:22 +0200 Message-Id: <1116342382.878.19.camel@beaster> Mime-Version: 1.0 X-Mailer: Evolution 2.2.2 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 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 15:06:30 -0000 Am Dienstag, den 17.05.2005, 17:48 +1000 schrieb Andy Newman: Hi Andy, > [...] > 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. well, I just Portupgraded rdesktop and, as you suggested, passed "-M 'CPPFLAGS=-I/usr/local/include'" to portupgrade. The compile ran thru fine! Just wanted to let you (and others who have the same Problem) know that your circumvention works :-) Cheers, _ralf_