尝试安装一些模块并出现错误,这似乎与 .gz 相关,但不太确定。任何铅
代码:
cpanm Digest::SHA1
日志 :
! Failed to unpack Digest-SHA1-2.13.tar.gz: no directory
! Failed to fetch distribution Digest-SHA1-2.13
代码
cpanm -v Digest::SHA1
日志:
cpanm (App::cpanminus) 1.6920 on perl 5.008008 built for aix-thread-multi
Work directory is /export/home/ty/.cpanm/work/1371400956.36241464
You have make /usr/bin/make
You have LWP 6.05
You have /usr/bin/tar:
You have /usr/bin/unzip
Checking if you have ExtUtils::MakeMaker 6.31 ... Yes (6.68)
Checking if you have ExtUtils::Install 1.46 ... Yes (1.54)
Searching Digest::SHA1 on cpanmetadb ...
--> Working on Digest::SHA1
Fetching http://www.cpan.org/authors/id/G/GA/GAAS/Digest-SHA1-2.13.tar.gz ...
OK
Unpacking Digest-SHA1-2.13.tar.gz
Usage: tar -{c|r|t|u|x} [-BdDEFhilmopRUsvwZ ] [ -Number ] [ -f TarFile ]
[ -b Blocks ] [ -S [ Feet ] | [ Feet@Density ] | [ Blocksb ] ]
[ -L InputList ] [-X ExcludeFile] [ -N Blocks ] [ -C Directory ] File ...
Usage: tar {c|r|t|u|x} [bBdDEfFhilLXmNopRsSUvwZ[0-9] ] ]
[ Blocks ] [ TarFile ] [ InputList ] [ ExcludeFile ]
[ [ Feet ] | [ Feet@Density ] | [ Blocksb ] ] [-C Directory ] File ...
! Failed to unpack Digest-SHA1-2.13.tar.gz: no directory
! Failed to fetch distribution Digest-SHA1-2.13