Unable to install new dialog for ports on FreeBsd 7.0

Chris Rees utisoft at gmail.com
Thu Mar 21 08:15:17 UTC 2013


On 21 Mar 2013 06:09, "Vikas Mahajan" <vikas.mahajan12 at 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


More information about the freebsd-ports mailing list