ports of perl install error [-lsocket]

epstar epstar at vip.sina.com
Wed Jul 22 02:36:49 UTC 2009


DEAR:
==============================================================================
#uname -a
FreeBSD MyC.FB.cn 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May  1 08:49:13  
UTC 2009     root at walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

**************/usr/ports/lang/perl5.8 or perl5.10************************

==============================================================================
# make showconfig
===> The following configuration options are available for  
perl-threaded-5.8.9_3:
      DEBUGGING=on "Build with debugging support"
      GDBM=on "Build GDBM_File extension"
      PERL_MALLOC=on "Use Perl malloc"
      PERL_64BITINT=on "Use 64 bit integers (on i386)"
      THREADS=on "Build threaded perl"
      SUIDPERL=on "Build set-user-id suidperl binary"
      SITECUSTOMIZE=on "Run-time customization of @INC"
      USE_PERL=on "Rewrite links in /usr/bin"
===> Use 'make config' to modify these settings

==============================================================================
# make
===>  Vulnerability check disabled, database not found
===>  Found saved configuration for perl-threaded-5.8.9_3
===>  Extracting for perl-threaded-5.8.9_3
=> MD5 Checksum OK for perl/perl-5.8.9.tar.bz2.
=> SHA256 Checksum OK for perl/perl-5.8.9.tar.bz2.
=> MD5 Checksum OK for perl/BSDPAN-5.8.9_20090303.tar.bz2.
=> SHA256 Checksum OK for perl/BSDPAN-5.8.9_20090303.tar.bz2.
=> MD5 Checksum OK for perl/defined-or-5.8.9.bz2.
=> SHA256 Checksum OK for perl/defined-or-5.8.9.bz2.
===>  Patching for perl-threaded-5.8.9_3
===>  Applying distribution patches for perl-threaded-5.8.9_3
===>  Applying FreeBSD patches for perl-threaded-5.8.9_3
/usr/bin/sed -e 's|%%PREFIX%%|/usr/local|g;'  -e  
's|%%PERL_VERSION%%|5.8.9|g;'  -e 's|%%PERL_ARCH%%|mach|g;'  -e  
's|%%MAKE_CONF%%|/etc/make.conf|g;'   
/usr/ports/lang/perl5.8/files/use.perl  >  
/usr/ports/lang/perl5.8/work/use.perl
/usr/bin/sed -e 's|%%PERL%%|/usr/local/bin/perl|g;  
s|%%PERL_VERSION%%|5.8.9|g; s|%%PKGNAME%%|perl-threaded-5.8.9_3|g'   
/usr/ports/lang/perl5.8/files/perl-after-upgrade  >  
/usr/ports/lang/perl5.8/work/perl-after-upgrade
/bin/cp /usr/ports/lang/perl5.8/work/use.perl  
/usr/ports/lang/perl5.8/work/pkg-install
/bin/cp /usr/ports/lang/perl5.8/work/use.perl  
/usr/ports/lang/perl5.8/work/pkg-deinstall
/usr/bin/sed -i '' -e 's|%%PERL_PKGNAME%%|perl-threaded-5.8.9_3|g;  
s|%%PERL_VER%%|5.8|g;'   
/usr/ports/lang/perl5.8/work/BSDPAN-5.8.9_20090303/ExtUtils/*.pm
/usr/bin/sed -i.bak -e 's|/usr/local|/usr/local|g'   
/usr/ports/lang/perl5.8/work/perl-5.8.9/Configure  
/usr/ports/lang/perl5.8/work/perl-5.8.9/hints/freebsd.sh
/usr/bin/sed -i.bak -e 's|%%PTHREAD_LIBS%%|-pthread|g;'  -e  
's|%%PTHREAD_CFLAGS%%||g;'   
/usr/ports/lang/perl5.8/work/perl-5.8.9/hints/freebsd.sh
===>   perl-threaded-5.8.9_3 depends on shared library: gdbm.3 - found
===>  Configuring for perl-threaded-5.8.9_3
First let's make sure your kit is complete.  Checking...
Locating common programs...
Checking compatibility between /bin/echo and builtin echo (if any)...
Symbolic links are supported.
Checking how to test for symbolic links...
You can test for symbolic links with '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   	next_4   	stellar
aix   		dragonfly   	irix_6_1   	nonstopux   	sunos_4_0
aix_3   	dynix   	isc   		openbsd   	sunos_4_1
aix_4   	dynixptx   	isc_2   	opus   		super-ux
altos486   	epix   		linux   	os2   		svr4
amigaos   	esix4   	lynxos   	os390   	svr5
apollo   	fps   		machten   	os400   	ti1500
atheos   	freebsd   	machten_2   	posix-bc   	titanos
aux_3   	genix   	midnightbsd   	powerux   	ultrix_4
beos   		gnu   		mint   		qnx   		umips
bsdos   	gnukfreebsd   	mips   		rhapsody   	unicos
catamount   	gnuknetbsd   	mirbsd   	riscos   	unicosmk
convexos   	greenhills   	mpc   		sco   		unisysdynix
cxux   		hpux   		mpeix   	sco_2_3_0   	utekv
cygwin   	i386   		ncr_tower   	sco_2_3_1   	uts
darwin   	interix   	netbsd   	sco_2_3_2   	uwin
dcosx   	irix_4   	newsos4   	sco_2_3_3   	vmesa
dec_osf   	irix_5   	next_3   	sco_2_3_4   	vos
dgux   		irix_6   	next_3_0   	solaris_2
Which of these apply, if any? [freebsd]
========================================================
== PLEASE REMOVE ALL REFERENCES TO /usr/bin/objformat ==
=========== IT HAS BEEN OBSOLETE FOR YEARS! ====-=======
========================================================

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? [7.2-release]
Installation prefix to use? (~name ok) [/usr/local]
AFS does not seem to be running...
What installation prefix should I use for installing files? (~name ok)
[/usr/local]
Build Perl for SOCKS? [n]
Use the PerlIO abstraction layer? [y]
Getting the current patchlevel...
Build a threading Perl? [y]
Use the newer interpreter-based ithreads? [y]
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? [-lsocket -lgdbm -lm -lcrypt -lutil]
What optimizer/debugger flag should be used? [-g]
Any additional cc flags?
[-DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.9/BSDPAN" -DHAS_FPSETMASK  
-DHAS_FLOATINGPOINT_H -DDEBUGGING -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 -g -DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.9/BSDPAN"  
-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -DDEBUGGING -fno-strict-aliasing  
-pipe -I/usr/local/include -pthread -Wl,-E -L/usr/local/lib try.c -lsocket  
-lgdbm -lm -lcrypt -lutil
	 ./try

and I got the following output:

/usr/bin/ld: cannot find -lsocket
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 skv at FreeBSD.org [maintainer] and attach the
"/usr/ports/lang/perl5.8/work/perl-5.8.9/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.
*** Error code 1

Stop in /usr/ports/lang/perl5.8.


===============================================================================
#locate socket.so
/usr/local/diablo-jdk1.6.0/jre/lib/i386/libdt_socket.so
/usr/local/lib/libsocket.so.1
/usr/local/lib/python2.5/lib-dynload/_socket.so
/usr/local/lib/python3.0/lib-dynload/_socket.so
/usr/local/lib/ruby/1.8/i386-freebsd7/socket.so
/usr/local/lib/ruby/1.9/i386-freebsd7/socket.so
/usr/ports/lang/python30/work/Python-3.0.1/portbld.static/build/lib.freebsd-7.2-RELEASE-i386-3.0/_socket.so

==============================================================================
#ln -s /usr/local/lib/libsocket.so.1 /usr/local/lib/libsocket.so

==============================================================================
#make
===>   perl-threaded-5.8.9_3 depends on shared library: gdbm.3 - found
===>  Configuring for perl-threaded-5.8.9_3
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...
You can test for symbolic links with '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   	next_4   	stellar
aix   		dragonfly   	irix_6_1   	nonstopux   	sunos_4_0
aix_3   	dynix   	isc   		openbsd   	sunos_4_1
aix_4   	dynixptx   	isc_2   	opus   		super-ux
altos486   	epix   		linux   	os2   		svr4
amigaos   	esix4   	lynxos   	os390   	svr5
apollo   	fps   		machten   	os400   	ti1500
atheos   	freebsd   	machten_2   	posix-bc   	titanos
aux_3   	genix   	midnightbsd   	powerux   	ultrix_4
beos   		gnu   		mint   		qnx   		umips
bsdos   	gnukfreebsd   	mips   		rhapsody   	unicos
catamount   	gnuknetbsd   	mirbsd   	riscos   	unicosmk
convexos   	greenhills   	mpc   		sco   		unisysdynix
cxux   		hpux   		mpeix   	sco_2_3_0   	utekv
cygwin   	i386   		ncr_tower   	sco_2_3_1   	uts
darwin   	interix   	netbsd   	sco_2_3_2   	uwin
dcosx   	irix_4   	newsos4   	sco_2_3_3   	vmesa
dec_osf   	irix_5   	next_3   	sco_2_3_4   	vos
dgux   		irix_6   	next_3_0   	solaris_2
Which of these apply, if any? [freebsd]
========================================================
== PLEASE REMOVE ALL REFERENCES TO /usr/bin/objformat ==
=========== IT HAS BEEN OBSOLETE FOR YEARS! ====-=======
========================================================
========================================================
== PLEASE REMOVE ALL REFERENCES TO /usr/bin/objformat ==
=========== IT HAS BEEN OBSOLETE FOR YEARS! ====-=======
========================================================

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? [7.2-release]
Installation prefix to use? (~name ok) [/usr/local]
AFS does not seem to be running...
What installation prefix should I use for installing files? (~name ok)
[/usr/local]
Build Perl for SOCKS? [n]
Use the PerlIO abstraction layer? [y]
Getting the current patchlevel...
Build a threading Perl? [y]
Use the newer interpreter-based ithreads? [y]
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? [-lsocket -lgdbm -lm -lcrypt -lutil]
What optimizer/debugger flag should be used? [-g]
Any additional cc flags?
[-DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.9/BSDPAN" -DHAS_FPSETMASK  
-DHAS_FLOATINGPOINT_H -DDEBUGGING -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 -g -DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.9/BSDPAN"  
-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -DDEBUGGING -fno-strict-aliasing  
-pipe -I/usr/local/include -pthread -Wl,-E -L/usr/local/lib try.c -lsocket  
-lgdbm -lm -lcrypt -lutil
	 ./try

and I got the following output:

/usr/bin/ld: warning: /usr/lib/libnsl.so.1, needed by  
/usr/local/lib/libsocket.so, not found (try using -rpath or -rpath-link)
/usr/local/lib/libsocket.so: undefined reference to `_xt_sndudata'
/usr/local/lib/libsocket.so: undefined reference to `_abi_setegid'
/usr/local/lib/libsocket.so: undefined reference to  
`_mt_get_thr_specific_storage'
/usr/local/lib/libsocket.so: undefined reference to `__ctype'
/usr/local/lib/libsocket.so: undefined reference to `__thr_errno'
/usr/local/lib/libsocket.so: undefined reference to `_dlclose'
/usr/local/lib/libsocket.so: undefined reference to `netdir_free'
/usr/local/lib/libsocket.so: undefined reference to `_sockaddr_convert'
/usr/local/lib/libsocket.so: undefined reference to `_convsa_ortentry'
/usr/local/lib/libsocket.so: undefined reference to `_xnetdir_getbyaddr'
/usr/local/lib/libsocket.so: undefined reference to `_xnetdir_getbyname'
/usr/local/lib/libsocket.so: undefined reference to `_dlsym'
/usr/local/lib/libsocket.so: undefined reference to `_convsa_ifaliasreq'
/usr/local/lib/libsocket.so: undefined reference to `pfmt'
/usr/local/lib/libsocket.so: undefined reference to `_mt_first_thread'
/usr/local/lib/libsocket.so: undefined reference to `_dlopen'
/usr/local/lib/libsocket.so: undefined reference to `_mt_thr_keycreatep'
/usr/local/lib/libsocket.so: undefined reference to `_mt_thr_selfp'
/usr/local/lib/libsocket.so: undefined reference to `inet_pton_comp'
/usr/local/lib/libsocket.so: undefined reference to `_mt_mutex_lockp'
/usr/local/lib/libsocket.so: undefined reference to `_convsa_sockaddr'
/usr/local/lib/libsocket.so: undefined reference to `_xt_bind'
/usr/local/lib/libsocket.so: undefined reference to `gettxt'
/usr/local/lib/libsocket.so: undefined reference to `_convsa_ifreq'
/usr/local/lib/libsocket.so: undefined reference to `_fopen'
/usr/local/lib/libsocket.so: undefined reference to `_xt_getname'
/usr/local/lib/libsocket.so: undefined reference to `_xt_rcvudata'
/usr/local/lib/libsocket.so: undefined reference to `_x_xti_getprotaddr'
/usr/local/lib/libsocket.so: undefined reference to `_abi_seteuid'
/usr/local/lib/libsocket.so: undefined reference to `_xt_rcvconnect'
/usr/local/lib/libsocket.so: undefined reference to `_gethtent'
/usr/local/lib/libsocket.so: undefined reference to `_x_xti_bind'
/usr/local/lib/libsocket.so: undefined reference to `_xt_getprotaddr'
/usr/local/lib/libsocket.so: undefined reference to `_mt_multi_threaded'
/usr/local/lib/libsocket.so: undefined reference to `_xt_rcvuderr'
/usr/local/lib/libsocket.so: undefined reference to `_convsa_ifreq_all'
/usr/local/lib/libsocket.so: undefined reference to `_sethtent'
/usr/local/lib/libsocket.so: undefined reference to `_fxstat'
/usr/local/lib/libsocket.so: undefined reference to `_xt_connect'
/usr/local/lib/libsocket.so: undefined reference to `usingypmap'
/usr/local/lib/libsocket.so: undefined reference to `_abi_syslog'
/usr/local/lib/libsocket.so: undefined reference to `__iob'
/usr/local/lib/libsocket.so: undefined reference to `_mt_mutex_initp'
/usr/local/lib/libsocket.so: undefined reference to `_endhtent'
/usr/local/lib/libsocket.so: undefined reference to `_mt_mutex_unlockp'
/usr/local/lib/libsocket.so: undefined reference to `_abi_select'
/usr/local/lib/libsocket.so: undefined reference to `_nsload'
/usr/local/lib/libsocket.so: undefined reference to `_convsa_arpreq'
/usr/local/lib/libsocket.so: undefined reference to `_xt_accept'
/usr/local/lib/libsocket.so: undefined reference to `_xt_listen'
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 skv at FreeBSD.org [maintainer] and attach the
"/usr/ports/lang/perl5.8/work/perl-5.8.9/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.
*** Error code 1

Stop in /usr/ports/lang/perl5.8.

===============================================================================
#locate libnsl.so.1
/usr/compat/linux/lib/libnsl.so.1
/usr/local/lib/libnsl.so.1

==============================================================================
#ln -s /usr/local/lib/libnsl.so.1 /usr/lib/libnsl.so.1

==============================================================================
#make
===>   perl-threaded-5.8.9_3 depends on shared library: gdbm.3 - found
===>  Configuring for perl-threaded-5.8.9_3
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...
You can test for symbolic links with '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   	next_4   	stellar
aix   		dragonfly   	irix_6_1   	nonstopux   	sunos_4_0
aix_3   	dynix   	isc   		openbsd   	sunos_4_1
aix_4   	dynixptx   	isc_2   	opus   		super-ux
altos486   	epix   		linux   	os2   		svr4
amigaos   	esix4   	lynxos   	os390   	svr5
apollo   	fps   		machten   	os400   	ti1500
atheos   	freebsd   	machten_2   	posix-bc   	titanos
aux_3   	genix   	midnightbsd   	powerux   	ultrix_4
beos   		gnu   		mint   		qnx   		umips
bsdos   	gnukfreebsd   	mips   		rhapsody   	unicos
catamount   	gnuknetbsd   	mirbsd   	riscos   	unicosmk
convexos   	greenhills   	mpc   		sco   		unisysdynix
cxux   		hpux   		mpeix   	sco_2_3_0   	utekv
cygwin   	i386   		ncr_tower   	sco_2_3_1   	uts
darwin   	interix   	netbsd   	sco_2_3_2   	uwin
dcosx   	irix_4   	newsos4   	sco_2_3_3   	vmesa
dec_osf   	irix_5   	next_3   	sco_2_3_4   	vos
dgux   		irix_6   	next_3_0   	solaris_2
Which of these apply, if any? [freebsd]
========================================================
== PLEASE REMOVE ALL REFERENCES TO /usr/bin/objformat ==
=========== IT HAS BEEN OBSOLETE FOR YEARS! ====-=======
========================================================
========================================================
== PLEASE REMOVE ALL REFERENCES TO /usr/bin/objformat ==
=========== IT HAS BEEN OBSOLETE FOR YEARS! ====-=======
========================================================

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? [7.2-release]
Installation prefix to use? (~name ok) [/usr/local]
AFS does not seem to be running...
What installation prefix should I use for installing files? (~name ok)
[/usr/local]
Build Perl for SOCKS? [n]
Use the PerlIO abstraction layer? [y]
Getting the current patchlevel...
Build a threading Perl? [y]
Use the newer interpreter-based ithreads? [y]
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? [-lsocket -lgdbm -lm -lcrypt -lutil]
What optimizer/debugger flag should be used? [-g]
Any additional cc flags?
[-DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.9/BSDPAN" -DHAS_FPSETMASK  
-DHAS_FLOATINGPOINT_H -DDEBUGGING -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 -g -DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.9/BSDPAN"  
-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -DDEBUGGING -fno-strict-aliasing  
-pipe -I/usr/local/include -pthread -Wl,-E -L/usr/local/lib try.c -lsocket  
-lgdbm -lm -lcrypt -lutil
	 ./try

and I got the following output:

/usr/bin/ld: warning: /usr/lib/libnsl.so.1, needed by  
/usr/local/lib/libsocket.so, not found (try using -rpath or -rpath-link)
/usr/local/lib/libsocket.so: undefined reference to `_xt_sndudata'
/usr/local/lib/libsocket.so: undefined reference to `_abi_setegid'
/usr/local/lib/libsocket.so: undefined reference to  
`_mt_get_thr_specific_storage'
/usr/local/lib/libsocket.so: undefined reference to `__ctype'
/usr/local/lib/libsocket.so: undefined reference to `__thr_errno'
/usr/local/lib/libsocket.so: undefined reference to `_dlclose'
/usr/local/lib/libsocket.so: undefined reference to `netdir_free'
/usr/local/lib/libsocket.so: undefined reference to `_sockaddr_convert'
/usr/local/lib/libsocket.so: undefined reference to `_convsa_ortentry'
/usr/local/lib/libsocket.so: undefined reference to `_xnetdir_getbyaddr'
/usr/local/lib/libsocket.so: undefined reference to `_xnetdir_getbyname'
/usr/local/lib/libsocket.so: undefined reference to `_dlsym'
/usr/local/lib/libsocket.so: undefined reference to `_convsa_ifaliasreq'
/usr/local/lib/libsocket.so: undefined reference to `pfmt'
/usr/local/lib/libsocket.so: undefined reference to `_mt_first_thread'
/usr/local/lib/libsocket.so: undefined reference to `_dlopen'
/usr/local/lib/libsocket.so: undefined reference to `_mt_thr_keycreatep'
/usr/local/lib/libsocket.so: undefined reference to `_mt_thr_selfp'
/usr/local/lib/libsocket.so: undefined reference to `inet_pton_comp'
/usr/local/lib/libsocket.so: undefined reference to `_mt_mutex_lockp'
/usr/local/lib/libsocket.so: undefined reference to `_convsa_sockaddr'
/usr/local/lib/libsocket.so: undefined reference to `_xt_bind'
/usr/local/lib/libsocket.so: undefined reference to `gettxt'
/usr/local/lib/libsocket.so: undefined reference to `_convsa_ifreq'
/usr/local/lib/libsocket.so: undefined reference to `_fopen'
/usr/local/lib/libsocket.so: undefined reference to `_xt_getname'
/usr/local/lib/libsocket.so: undefined reference to `_xt_rcvudata'
/usr/local/lib/libsocket.so: undefined reference to `_x_xti_getprotaddr'
/usr/local/lib/libsocket.so: undefined reference to `_abi_seteuid'
/usr/local/lib/libsocket.so: undefined reference to `_xt_rcvconnect'
/usr/local/lib/libsocket.so: undefined reference to `_gethtent'
/usr/local/lib/libsocket.so: undefined reference to `_x_xti_bind'
/usr/local/lib/libsocket.so: undefined reference to `_xt_getprotaddr'
/usr/local/lib/libsocket.so: undefined reference to `_mt_multi_threaded'
/usr/local/lib/libsocket.so: undefined reference to `_xt_rcvuderr'
/usr/local/lib/libsocket.so: undefined reference to `_convsa_ifreq_all'
/usr/local/lib/libsocket.so: undefined reference to `_sethtent'
/usr/local/lib/libsocket.so: undefined reference to `_fxstat'
/usr/local/lib/libsocket.so: undefined reference to `_xt_connect'
/usr/local/lib/libsocket.so: undefined reference to `usingypmap'
/usr/local/lib/libsocket.so: undefined reference to `_abi_syslog'
/usr/local/lib/libsocket.so: undefined reference to `__iob'
/usr/local/lib/libsocket.so: undefined reference to `_mt_mutex_initp'
/usr/local/lib/libsocket.so: undefined reference to `_endhtent'
/usr/local/lib/libsocket.so: undefined reference to `_mt_mutex_unlockp'
/usr/local/lib/libsocket.so: undefined reference to `_abi_select'
/usr/local/lib/libsocket.so: undefined reference to `_nsload'
/usr/local/lib/libsocket.so: undefined reference to `_convsa_arpreq'
/usr/local/lib/libsocket.so: undefined reference to `_xt_accept'
/usr/local/lib/libsocket.so: undefined reference to `_xt_listen'
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 skv at FreeBSD.org [maintainer] and attach the
"/usr/ports/lang/perl5.8/work/perl-5.8.9/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.
*** Error code 1

Stop in /usr/ports/lang/perl5.8.

==============================================================================
#cat distinfo
MD5 (perl/perl-5.8.9.tar.bz2) = 1cb52a76ce77fa300218da96577793ec
SHA256 (perl/perl-5.8.9.tar.bz2) =  
1097fbcd48ceccb2bc735d119c9db399a02a8ab9f7dc53e29e47e6a8d0d72e79
SIZE (perl/perl-5.8.9.tar.bz2) = 11121414
MD5 (perl/BSDPAN-5.8.9_20090303.tar.bz2) = c87a6507c0837e61f0ab5f11d290de39
SHA256 (perl/BSDPAN-5.8.9_20090303.tar.bz2) =  
3e16cb7e8e927e282b8f155f4b59e05d4efa4403ed1feb033cd22397d81596f2
SIZE (perl/BSDPAN-5.8.9_20090303.tar.bz2) = 8157
MD5 (perl/defined-or-5.8.9.bz2) = af0d3d86f437547bedb2d99539ba7a6e
SHA256 (perl/defined-or-5.8.9.bz2) =  
021b46afd429f5c56b76195565394f1e74770681c5ad98f98936ad2cab58bda4
SIZE (perl/defined-or-5.8.9.bz2) = 36178

==============================================================================
#cat ../perl5.10/distinfo
MD5 (perl/perl-5.10.0.tar.gz) = d2c39b002ebfd2c3c5dba589365c5a71
SHA256 (perl/perl-5.10.0.tar.gz) =  
94464a0d374fa63226eee56e0bb3d35564f9d8391a1a8d9f0055805ec25f3b2e
SIZE (perl/perl-5.10.0.tar.gz) = 15595020
MD5 (perl/BSDPAN-5.10.0_20090303.tar.gz) = 512a97f56569f137635ff5908e85af78
SHA256 (perl/BSDPAN-5.10.0_20090303.tar.gz) =  
e5a9428e9f3259caaaf702d1e04ed23eef24cfb55376588d7766e2c799af983f
SIZE (perl/BSDPAN-5.10.0_20090303.tar.gz) = 8337

For normally, Use this distfiles on other new system.

THANKS.
-- 
使用 Opera 革命性的电子邮件客户程序: http://www.opera.com/mail/


More information about the freebsd-perl mailing list