Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Mar 2013 08:15:16 +0000
From:      Chris Rees <utisoft@gmail.com>
To:        Vikas Mahajan <vikas.mahajan12@gmail.com>
Cc:        FreeBSD Mailing List <freebsd-ports@freebsd.org>
Subject:   Re: Unable to install new dialog for ports on FreeBsd 7.0
Message-ID:  <CADLo8396H9J2TB_2NLzendridJjAQ4jW=tbrcFGQ81cU0CZxkQ@mail.gmail.com>
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
On 21 Mar 2013 06:09, "Vikas Mahajan" <vikas.mahajan12@gmail.com> wrote:
>
> Hi all,
>
> After updating portsnap I tried to install php5. Now make config fails
> with following error:
>
> ===>  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
>
> Stop in /usr/ports/ports-mgmt/dialog4ports.
>
> If I set NO_DIALOG=yes in /etc/make.conf, I am getting:
> ===> Skipping 'config' as NO_DIALOG is defined
>
> How can solve this problem? Any way to fix this error or using old
> make config dialog.
>
> Please help.
>

You're not really running 7.0, are you?  You probably mean 7.4.

Look at using OPTIONS_SET=OPT1 OPT2 in /etc/make.conf.

Chris



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