我正在尝试安装一些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.
Run Code Online (Sandbox Code Playgroud)
我试过这样做
install CPAN
reload cpan
Run Code Online (Sandbox Code Playgroud)
同
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
Run Code Online (Sandbox Code Playgroud)
但结果是
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:~$
Run Code Online (Sandbox Code Playgroud)
版本仍然是1.960001.
hon*_*989 16
以下程序
kuz1@banana:~$ sudo perl -MCPAN -e shell
cpan[1]> install CPAN
cpan[2]> reload cpan
适用于使用Ubuntu 14.04的BANANA Pi单板计算机.
从这个页面下载 CPAN 模块http://metacpan.org/pod/CPAN
解压它 ( tar zxf CPAN-2.00.tar.gz
), cd 进入目录并运行
perl Makefile.PL
make test
sudo make install
Run Code Online (Sandbox Code Playgroud)编辑:如果它破坏了用 :: 在其中创建路径,那么您的文件系统类型可能不支持文件名中的这些字符
要查看文件系统类型,mount
不带任何参数运行,将显示所有已挂载的文件系统及其类型
该错误Can't write-open blib/man3/CPAN::Admin.3pm
似乎表明存在文件系统问题,但 rw 模式下的 ext4 听起来不错。从CPAN-2.00
目录中试试这个
perl -e 'open($f,">blib/man3/CPAN::thisisatest") || die $!;'
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
32366 次 |
最近记录: |