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模塊位於兩個單獨的目錄中,我會遇到問題嗎?