我正在尝试安装一些perl模块,但每次显示此消息时
New CPAN.pm version (v2.00) available.
[Currently running version is v1.960001]
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
reload cpan使用
pi@raspbmc:~$ sudo perl -MCPAN -e shell
Terminal does not support AddHistory.
cpan shell -- CPAN exploration and modules installation (v1.960001)
Enter 'h' for help.
cpan[1]> install CPAN但结果是
Going to read '/root/.cpan/sources/authors/01mailrc.txt.gz'
............................................................................DONE
Going to read '/root/.cpan/sources/modules/02packages.details.txt.gz'
Database was generated on Mon, 28 Oct 2013 23:41:06 GMT
HTTP::Date not available
..............
New CPAN.pm version (v2.00) available.
[Currently running version is v1.960001]
You might want to try
install CPAN
reload cpan
to both upgrade CPAN.pm and run the new version without leaving
the current session.
...............pi@raspbmc:~$ 版本仍然是1.960001。
发布于 2013-10-30 17:07:21
tar zxf CPAN-2.00.tar.gz),cd进入目录并运行perl Makefile.PL make test sudo make install
编辑:如果中断在其中使用::创建路径,则可能您的文件系统类型不支持在文件名中使用这些字符
要查看文件系统类型,请不带任何参数运行mount,将显示所有已挂载的文件系统及其类型
错误Can't write-open blib/man3/CPAN::Admin.3pm似乎表明文件系统有问题,但是rw模式下的ext4听起来没问题。尝试从CPAN-2.00目录执行此操作
perl -e 'open($f,">blib/man3/CPAN::thisisatest") || die $!;'发布于 2015-02-25 15:48:42
下面的过程
kuz1@banana:~$ sudo perl -MCPAN -e shellcpan[1]> install CPANcpan[2]> reload cpan我在装有Ubuntu 14.04的香蕉派单板计算机上工作。
https://stackoverflow.com/questions/19677296
复制相似问题