From owner-freebsd-ports@FreeBSD.ORG Thu Mar 21 07:56:38 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id EDA103C8 for ; Thu, 21 Mar 2013 07:56:38 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mail-ee0-f44.google.com (mail-ee0-f44.google.com [74.125.83.44]) by mx1.freebsd.org (Postfix) with ESMTP id 84E05F5A for ; Thu, 21 Mar 2013 07:56:38 +0000 (UTC) Received: by mail-ee0-f44.google.com with SMTP id l10so1565559eei.17 for ; Thu, 21 Mar 2013 00:56:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:date:from:to:cc:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=jR46Q3URje3qGNWOsPbUlFqAGnboMuA5AlrPuPfD7Ec=; b=trg7MWsq+zzyrchKSZ+IHEeHPfR2TChG31fQxjODfC4XfOL0B/29U+M6yQGNhptpVW LyKJxvR2Gzn7YOiWFc/3Hm5faBmgR9nJteg9uYCU3nwE52QHDVIfkD0x97ykpvERY+y3 DKcXfTIizntMpLYp+O6MJwRIphW10a8gdynl6ULfkvAtz0sIvROjYeOvU/Ey9EnT6vv8 vVdwPuVPrAjtgqGKQMXPsmHxAmJ5AlCAt1HCe0rbF1wasctRH+1ND6bn9BHBtg8IXK5Z bWTr/ffOk52h4qgHd1tlKKySStfBS21M1VdD6CNx8r+Yn0BusrWm0rmdHMg/e0Tevji/ cYAw== X-Received: by 10.15.43.132 with SMTP id x4mr80122486eev.31.1363852597416; Thu, 21 Mar 2013 00:56:37 -0700 (PDT) Received: from ithaqua.etoilebsd.net (ithaqua.etoilebsd.net. [37.59.37.188]) by mx.google.com with ESMTPS id r4sm6789191eeo.12.2013.03.21.00.56.35 (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 21 Mar 2013 00:56:36 -0700 (PDT) Sender: Baptiste Daroussin Date: Thu, 21 Mar 2013 08:56:34 +0100 From: Baptiste Daroussin To: Vikas Mahajan Subject: Re: Unable to install new dialog for ports on FreeBsd 7.0 Message-ID: <20130321075634.GB34508@ithaqua.etoilebsd.net> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ZfOjI3PrQbgiZnxM" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Mar 2013 07:56:39 -0000 --ZfOjI3PrQbgiZnxM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Mar 21, 2013 at 11:39:07AM +0530, Vikas Mahajan wrote: > Hi all, >=20 > After updating portsnap I tried to install php5. Now make config fails > with following error: >=20 > =3D=3D=3D> Building for dialog4ports-0.1 > Warning: Object directory not changed from original > /usr/ports/ports-mgmt/dialog4ports/wor k/dialog4ports-0.1 > cc -O2 -fno-strict-aliasing -pipe > -I/usr/ports/ports-mgmt/dialog4ports/work/dialog-1.1-20 120706 > -D_XOPEN_SOURCE_EXTENDED -Wsystem-headers -Werror -Wall > -Wno-format-y2k -W -Wno-unu sed-parameter -Wstrict-prototypes > -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized > -Wno-pointer-sign -o dialog4ports dialog4ports.o mixedlist.o arrows.o > buttons.o dlg_keys. o help.o inputstr.o mouse.o mousewget.o textbox.o > rc.o trace.o ui_getc.o util.o version.o -lncursesw > util.o(.text+0x2e02): In function `dlg_auto_size': > : undefined reference to `sqrt' > *** Error code 1 > 1 error > *** Error code 1 >=20 > Stop in /usr/ports/ports-mgmt/dialog4ports. >=20 > If I set NO_DIALOG=3Dyes in /etc/make.conf, I am getting: > =3D=3D=3D> Skipping 'config' as NO_DIALOG is defined >=20 > How can solve this problem? Any way to fix this error or using old > make config dialog. >=20 > Please help. Try replacing the ports-mgmt/pkg/files/patch-Makefile by this one: http://people.freebsd.org/~bapt/patch-Makefile And tell me if it works. But please notice that 7.x is EOLed 28 feb, more and more the ports tree wi= ll get incompatible, and if we want to follow the direction for FreeBSD 10 (re= place our make by bmake) we will need to a day or another break totally compatibi= lity with 7. Consider upgrading your boxes. regards, Bapt --ZfOjI3PrQbgiZnxM Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlFKvTIACgkQ8kTtMUmk6ExMGwCgjYuFNti6XGlZj4HjhKoE+CCf PzkAoJTNiUOvaFPGImd2xG1lFINtYsrA =Gwww -----END PGP SIGNATURE----- --ZfOjI3PrQbgiZnxM--