- 论坛徽章:
- 0
|
我安装Digest-SHA1-2.11时报错,如下:
安装过程:
#perl Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for Digest::SHA1
# make
cp SHA1.pm blib/lib/Digest/SHA1.pm
/usr/bin/perl /usr/perl5/5.8.4/lib/ExtUtils/xsubpp -typemap /usr/perl5/5.8.4/lib/ExtUtils/typemap -typemap typemap SHA1.xs > SHA1.xsc && mv SHA1.xsc SHA1.c
cc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xarch=v8 -D_TS_ERRNO -xO3 -xspace -xildoff -DVERSION=\"2.11\" -DXS_VERSION=\"2.11\" -KPIC "-I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE" SHA1.c
cc: unrecognized option `-KPIC'
cc: language ildoff not recognized
cc: SHA1.c: linker input file unused because linking not done
Running Mkbootstrap for Digest::SHA1 ()
chmod 644 SHA1.bs
rm -f blib/arch/auto/Digest/SHA1/SHA1.so
LD_RUN_PATH="" cc -G SHA1.o -o blib/arch/auto/Digest/SHA1/SHA1.so
cc: SHA1.o: No such file or directory
cc: no input files
*** Error code 1
make: Fatal error: Command failed for target `blib/arch/auto/Digest/SHA1/SHA1.so'
我查看了相关资料,修改了Makefile.PL,重新perl Makefile.PL,之后出现如下提示:
# make
Running Mkbootstrap for Digest ()
chmod 644 Digest.bs
rm -f blib/arch/auto/Digest/Digest.so
LD_RUN_PATH="" cc -G Digest.o -o blib/arch/auto/Digest/Digest.so
cc: Digest.o: No such file or directory
cc: no input files
*** Error code 1
make: Fatal error: Command failed for target `blib/arch/auto/Digest/Digest.so'
查找Digest.o,安装目录根本没有这个文件,不明白,请各位老大指点!!!
[ 本帖最后由 gms168 于 2007-6-14 10:32 编辑 ] |
|