pnk*_*dgr 4 unix perl aix cpan
我收到了Out of memory!所有安装的消息.我之前从未使用过cpan而且我不确定它是如何工作的.我ulimit在/.cpan目录上做了一个,结果是无限制的.这就是我在看的内容:
[/usr/bin]# perl -MCPAN -e shell
Terminal does not support AddHistory.
cpan shell -- CPAN exploration and modules installation (v1.7602)
ReadLine support available (try 'install Bundle::CPAN')
cpan> install Term::Readline
CPAN: Storable loaded ok
Going to read /.cpan/Metadata
Going to read /.cpan/sources/authors/01mailrc.txt.gz
Going to read /.cpan/sources/modules/02packages.details.txt.gz
Database was generated on Tue, 19 Jun 2012 11:51:03 GMT
CPAN: HTTP::Date loaded ok
There's a new CPAN.pm version (v1.9800) available!
[Current version is v1.7602]
You might want to try
install Bundle::CPAN
reload cpan
without quitting the current session. It should be a seamless upgrade
while we are running...
Out of memory!
Terminal does not support GetHistory.
Lockfile removed.
另一个原因是您用来运行的用户cpan对其可以使用的内存量有限制.发出以下命令以使用所有可用内存:
ulimit -m unlimited
ulimit -d unlimited
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
6158 次 |
| 最近记录: |