1
我是新来的Perl,我试图通过运行cpanm Perl模块
cpanm Net::SFTP
安装的Net :: SFTP模块我尝试了安装和5-10分钟后用失败以下
! Configure failed for Math-GMP-2.06. See /Users/applemacbookpro/.cpanm/build.log for details.
! Bailing out the installation for Net-SSH-Perl-1.34. Retry with --prompt or --force.
! Bailing out the installation for Net-SFTP-0.10. Retry with --prompt or --force.
19 distributions installed
但是,当我尝试重新安装,我注意到这条消息:
Can't write to /opt/local/lib/perl5/site_perl/5.12.3 and /opt/local/bin: Installing modules to /Users/applemacbookpro/perl5
所以,不w我有一堆安装在~/perl5
目录中的模块 - 如果我使用sudo安装并且我的perl模块位于两个单独的目录中,我会遇到问题吗?