Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Mar 2013 08:56:34 +0100
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        Vikas Mahajan <vikas.mahajan12@gmail.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Unable to install new dialog for ports on FreeBsd 7.0
Message-ID:  <20130321075634.GB34508@ithaqua.etoilebsd.net>
In-Reply-To: <CAEd%2Bihz%2Bo6c_gbqdni-N7EfBjo=WZpXd3%2BrbbBY9zaC=A14quw@mail.gmail.com>
References:  <CAEd%2Bihz%2Bo6c_gbqdni-N7EfBjo=WZpXd3%2BrbbBY9zaC=A14quw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



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