Digest-MD5 提示错误,帮忙看一下..
下面是我编译的,经常报错...大家帮我看一下....
# tar xvf Digest-MD5-2.36.tar
x Digest-MD5-2.36, 0 bytes, 0 tape blocks
x Digest-MD5-2.36/t, 0 bytes, 0 tape blocks
x Digest-MD5-2.36/t/md5-aaa.t, 88334 bytes, 173 tape blocks
x Digest-MD5-2.36/t/clone.t, 796 bytes, 2 tape blocks
x Digest-MD5-2.36/t/badfile.t, 329 bytes, 1 tape blocks
x Digest-MD5-2.36/t/utf8.t, 659 bytes, 2 tape blocks
x Digest-MD5-2.36/t/bits.t, 468 bytes, 1 tape blocks
x Digest-MD5-2.36/t/align.t, 428 bytes, 1 tape blocks
x Digest-MD5-2.36/t/files.t, 4973 bytes, 10 tape blocks
x Digest-MD5-2.36/README, 580 bytes, 2 tape blocks
x Digest-MD5-2.36/MANIFEST, 650 bytes, 2 tape blocks
x Digest-MD5-2.36/hints, 0 bytes, 0 tape blocks
x Digest-MD5-2.36/hints/MacOS.pl, 90 bytes, 1 tape blocks
x Digest-MD5-2.36/hints/irix_6.pl, 253 bytes, 1 tape blocks
x Digest-MD5-2.36/hints/dec_osf.pl, 411 bytes, 1 tape blocks
x Digest-MD5-2.36/Changes, 17014 bytes, 34 tape blocks
x Digest-MD5-2.36/Makefile.PL, 3747 bytes, 8 tape blocks
x Digest-MD5-2.36/MD5.xs, 19349 bytes, 38 tape blocks
x Digest-MD5-2.36/typemap, 68 bytes, 1 tape blocks
x Digest-MD5-2.36/MD5.pm, 10591 bytes, 21 tape blocks
x Digest-MD5-2.36/rfc1321.txt, 35223 bytes, 69 tape blocks
# ls
Data-Dumper-2.101 Digest-MD5-2.36.tar rsync
Digest-MD5-2.36 ora10g perl-5.6.2
# cd Di*
# ls
Changes MD5.pm Makefile.PL hints t
MANIFEST MD5.xs README rfc1321.txt typemap
# perl Makefile.PL
Testing alignment requirements for U32... Can't exec "cc": No such file or directory at Makefile.PL line 126.
Can't compile test program. Will ensure alignment to play safe.
Checking if your kit is complete...
Looks good
Warning: prerequisite Digest::base failed to load: Can't locate Digest/base.pm in @INC (@INC contains: /usr/perl5/5.6.1/lib/sun4-solaris-64int /usr/perl5/5.6.1/lib /usr/perl5/site_perl/5.6.1/sun4-solaris-64int /usr/perl5/site_perl/5.6.1 /usr/perl5/site_perl /usr/perl5/vendor_perl/5.6.1/sun4-solaris-64int /usr/perl5/vendor_perl/5.6.1 /usr/perl5/vendor_perl .) at (eval 4) line 3.
Writing Makefile for Digest::MD5
# make
cp MD5.pm blib/lib/Digest/MD5.pm
/usr/bin/perl -I/usr/perl5/5.6.1/lib/sun4-solaris-64int -I/usr/perl5/5.6.1/lib /usr/perl5/5.6.1/lib/ExtUtils/xsubpp -typemap /usr/perl5/5.6.1/lib/ExtUtils/typemap -typemap typemap MD5.xs > MD5.xsc && mv MD5.xsc MD5.c
cc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xO3 -xdepend -DVERSION=\"2.36\" -DXS_VERSION=\"2.36\" -KPIC -I/usr/perl5/5.6.1/lib/sun4-solaris-64int/CORE -DU32_ALIGNMENT_REQUIRED MD5.c
sh: cc: not found
*** Error code 1
make: Fatal error: Command failed for target `MD5.o'
#
#
#env
PATH=/usr/sbin:/usr/bin:/etc:/opt/EMCpower/bin/64:/etc/emc/bin:
/usr/ccs/bin:/usr/openwin/bin:/usr/dt/bin:/usr/platform/SUNW,Netra-T12/sbin:
/opt/sun/bin:/etc/vx/bin:/opt/VRTS/bin:/etc/vx/bin:/opt/VRTSob/bin:/opt/VRTSvlic/bin:/opt/SUNWvts/bin:
/opt/SUNWexplo/bin:/opt/SUNWsneep/bin:/opt/CTEact/bin:/opt/rsc/bin:/opt/VRTSvcs/bin