安装perl sftp模块时出现问题

时间:2015-04-17 07:36:27

标签: linux perl sftp redhat

我在redhat 5.x上使用perl 5.8.8。我进入了目录perl / bin /并执行 cpan Net:SFTP ,但遇到了以下问题。你能帮忙检查一下吗?

………………………………………………………
…………………………………………

  CPAN.pm: Going to build T/TU/TURNSTEP/Math-GMP-2.07.tar.gz

Checking if your kit is complete...
Looks good
Warning (mostly harmless): No library found for -lgmp
Generating a Unix-style Makefile
Writing Makefile for Math::GMP
Writing MYMETA.yml and MYMETA.json

==========================================================

WARNING! No GMP libraries were detected!

Please see the INSTALL file.

===========================================================


Removing (Makefile)
Running make test
  Make had some problems, maybe interrupted? Won't test
Running make install
  Make had some problems, maybe interrupted? Won't install
Running make for T/TU/TURNSTEP/Net-SSH-Perl-1.38.tar.gz
  Is already unwrapped into directory /root/.cpan/build/Net-SSH-Perl-1.38

  CPAN.pm: Going to build T/TU/TURNSTEP/Net-SSH-Perl-1.38.tar.gz

Couldn't chdir /root/.cpan/build/Net-SSH-Perl-1.38: No such file or directory at /usr/local/clo/xxx/xxxx/perl588/lib/5.8.8/CPAN.pm line 2137

1 个答案:

答案 0 :(得分:0)

如果您使用的是Red Hat Linux,请使用up2date命令安装最常用的模块:

up2date module-name

要获得基本的理解,请查看此tutorial

有关详细信息,请查看以下内容:How to install perl modules