我第一次尝试使用 Perl,但安装时遇到一些困难纸盒。我正在关注本指南安装Erco。
我使用的是 Ubuntu 14。我有 build-essential。当我跑步时
carton install
我明白了
bash: carton: command not found
当我运行时,cpan Carton
它似乎起作用了,但which carton
什么也没产生。现在,当我运行时,cpan Carton
我的输出是:
Reading '/home/<username>/.cpan/Metadata'
Reading '/home/<username>/.cpan/sources/authors/01mailrc.txt.gz'
............................................................................DONE
Reading '/home/<username>/.cpan/sources/modules/02packages.details.txt.gz'
Database was generated on Tue, 02 Feb 2016 18:17:03 GMT
HTTP::Date not available
..............
New CPAN.pm version (v2.10) available.
[Currently running version is v2.00]
You might want to try
install CPAN
reload cpan
to both upgrade CPAN.pm and run the new version without leaving
the current session.
......................................................被杀
我尝试运行install CPAN
,但它的响应是
install: missing destination file operand after 'CPAN'
答案1
可能当你这样做时cpan
配置不正确Carton
我认为你应该尝试cpanm Carton
cpanminus (cpanm) 试图创建一个零配置客户端,自动为大多数用户做正确的事情。