升级perl到Latest is 5.8.8
rm -f config.sh Policy.sh
sh Configure -de -Dprefix=/usr
make
显示下面,不管,继续make install
DVERSION=\"0.94\" -DXS_VERSION=\"0.94\" -DPIC -fPIC "-I../../.." shared.c
Running Mkbootstrap for threads::shared ()
chmod 644 shared.bs
rm -f ../../../lib/auto/threads/shared/shared.so
cc -shared -L/usr/local/lib shared.o -o ../../../lib/auto/threads/shared/shared.so
chmod 755 ../../../lib/auto/threads/shared/shared.so
cp shared.bs ../../../lib/auto/threads/shared/shared.bs
chmod 644 ../../../lib/auto/threads/shared/shared.bs
Making Errno (nonxs)
Makefile out-of-date with respect to ../../lib/Config.pm ../../config.h
Cleaning current config before rebuilding Makefile...
make -f Makefile.old clean > /dev/null 2>&1
../../miniperl "-I../../lib" "-I../../lib" Makefile.PL "INSTALLDIRS=perl" "PERL_CORE=1" "LIBPERL_A=libperl.a"
Writing Makefile for Errno
==> Your Makefile has been rebuilt. <==
==> Please rerun the make command. <==
false
*** Error code 1
Stop in /home/spider/perl-5.8.8/ext/Errno.
make config failed, continuing anyway...
../../miniperl "-I../../lib" "-I../../lib" Errno_pm.PL Errno.pm
Skip ../../lib/Errno.pm (unchanged)
*** Error code 1 (ignored)
Everything is up to date. Type 'make test' to run test suite.
继续安装模块
perl -MCPAN -e shell