>>вероятно неудачно обновили порты, в целом непонятно что и как вы делаете
Скатал еще раз и порты и исходники, таже фигня:
bash-2.05b# cd /usr/ports/lang/perl5.8/
bash-2.05b# make
===> Configuring for perl-5.8.7_2
First let's make sure your kit is complete. Checking...
Would you like to see the instructions? [n]
Locating common programs...
Checking compatibility between /bin/echo and builtin echo (if any)...
Symbolic links are supported.
Checking how to test for symbolic links...
Your builtin 'test -h' may be broken.
Trying external '/bin/test -h'.
You can test for symbolic links with '/bin/test -h'.
Good, your tr supports [:lower:] and [:upper:] to convert case.
Using [:upper:] and [:lower:] to convert case.
3b1 dos_djgpp irix_6_0 nonstopux sunos_4_0
aix dynix irix_6_1 openbsd sunos_4_1
aix_3 dynixptx isc opus super-ux
aix_4 epix isc_2 os2 svr4
altos486 esix4 linux os390 svr5
amigaos fps lynxos os400 ti1500
apollo freebsd machten posix-bc titanos
atheos genix machten_2 powerux ultrix_4
aux_3 gnu mint qnx umips
beos gnukfreebsd mips rhapsody unicos
bsdos gnuknetbsd mpc sco unicosmk
convexos greenhills mpeix sco_2_3_0 unisysdynix
cxux hpux ncr_tower sco_2_3_1 utekv
cygwin i386 netbsd sco_2_3_2 uts
darwin interix newsos4 sco_2_3_3 uwin
dcosx irix_4 next_3 sco_2_3_4 vmesa
dec_osf irix_5 next_3_0 solaris_2 vos
dgux irix_6 next_4 stellar
Which of these apply, if any? [freebsd]
Some users have reported that Configure halts when testing for
the O_NONBLOCK symbol with a syntax error. This is apparently a
sh error. Rerunning Configure with ksh apparently fixes the
problem. Try
ksh Configure [your options]
Operating system name? [freebsd]
Operating system version? [5.3-release-p18]
Build Perl for SOCKS? [n]
Use the PerlIO abstraction layer? [y]
Build a threading Perl? [n]
Build Perl for multiplicity? [n]
Use which C compiler? [cc]
Checking for GNU cc in disguise and/or its version number...
Now, how can we feed standard input to your C preprocessor...
Directories to use for library searches? [/usr/lib /usr/local/lib]
What is the file extension used for shared libraries? [so]
Try to use long doubles if available? [n]
Checking for optional libraries...
What libraries to use? [-lnsl -lgdbm -lm -lcrypt -lutil]
What optimizer/debugger flag should be used? [-O -pipe ]
Any additional cc flags?
[-DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.7/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -I/usr/local/include]
Let me guess what the preprocessor flags are...
Any additional ld flags (NOT including libraries)?
[-pthread -Wl,-E -L/usr/local/lib]
Checking your choice of C compiler and flags for coherency...
I've tried to compile and run the following simple program:
#include <stdio.h>
int main() { printf("Ok\n"); return(0); }
I used the command:
cc -o try -O -pipe -DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.7/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -I/usr/local/include -pthread -Wl,-E -L/usr/local/lib try.c -lnsl -lgdbm -lm -lcrypt -lutil
./try
and I got the following output:
/usr/bin/ld: cannot find -lnsl
I can't compile the test program.
You have a BIG problem. Shall I abort Configure [y]
Ok. Stopping Configure.
===> Script "Configure" failed unexpectedly.
Please report the problem to tobez@FreeBSD.org [maintainer] and attach the
"/usr/ports/lang/perl5.8/work/perl-5.8.7/config.log" including the output of
the failure of your make command. Also, it might be a good idea to provide
an overview of all packages installed on your system (e.g. an `ls
/var/db/pkg`).
*** Error code 1
Stop in /usr/ports/lang/perl5.8.
Че делать?