简体   繁体   English

使用cpan安装Perl模块时遇到问题

[英]Having trouble installing Perl modules using cpan

Had to download Command Line Tools from Apple to get make to work, but not sure if that's still the problem here? 必须从Apple下载Command Line Tools才能正常使用,但不确定在这里是否仍然存在问题?

cpan[8]> install HTML::Template
Running install for module 'HTML::Template'
Running make for W/WO/WONKO/HTML-Template-2.91.tar.gz
  Has already been unwrapped into directory /Users/jaldama/.cpan/build/HTML-Template-2.91-    0bPiwL
  Has already been made
Running make test
  Has already been tested successfully
Running make install
Already tried without success

最终以root用户身份运行,从而解决了明显的权限问题,但是我将遵循@daxim关于将我自己的Perl分开的建议。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM