您有Archive :: Tar 1.3901,但建议使用1.50或更高版本。请升级。问题

时间:2011-08-03 11:26:06

标签: linux command-line

您好我正在尝试在我的mediatemple服务器上安装bugzilla,当我来到cmmd线路时,我完全是一个新手,所以我已经找到了一个在线教程,直到我试图升级上面。

以下是我在命令行中收到的消息,在线上看了大约一个小时后,我似乎无法找到解决问题的方法。基本上我被困在现在去哪里升级它的要求

Installing Archive::Tar version 1.76...
Running install for module 'Archive::Tar'
Running make for B/BI/BINGOS/Archive-Tar-1.76.tar.gz
CPAN: Digest::SHA loaded ok (v5.62)
CPAN: Compress::Zlib loaded ok (v1.42)
Checksum for /root/.cpan/source/authors/id/B/BI/BINGOS/Archive-Tar-1.76.tar.gz ok
CPAN: Archive::Tar loaded ok (v1.3901)
You have Archive::Tar 1.3901, but 1.50 or later is recommended. Please upgrade.
Uncompressed /root/.cpan/source/authors/id/B/BI/BINGOS/Archive-Tar-1.76.tar.gz successfully
Using Tar:/bin/tar xvf "Archive-Tar-1.76.tar":
Couldn't untar Archive-Tar-1.76.tar
CPAN: File::Temp loaded ok (v0.22)
CPAN: CPAN::Meta loaded ok (v2.110930001)
CPAN: Time::HiRes loaded ok (v1.9717)
Package seems to come without Makefile.PL.
  (The test -f "/root/.cpan/build/BINGOS-J_TqCf/Makefile.PL" returned false.)
  Writing one on our own (setting NAME to ArchiveTar)
  Had problems unarchiving. Please build manually
Skipping test because of notest pragma
Running make install
  Make had some problems, won't install

1 个答案:

答案 0 :(得分:0)

首先手动安装新的Archive::Tar版本。看起来它正在尝试使用/bin/tar解压缩它下载的Archive::Tar包,但未能这样做,可能是因为这不是tar二进制文件的正确位置。

使用which tar查找系统中tar的位置 - 可能是/usr/bin/tar,在这种情况下,它看错了位置。

如果您正在使用CPAN.pm,则可以使用CPAN.pm shell中的以下内容更正tar的路径(您可以使用cpanperl -MCPAN -e shell:< / p>

o conf tar '/usr/bin/tar'
o conf commit

(使用which tar给你的任何路径。)