|
Hello,
I installed Term::ReadLine::Gnu module via CPAN shell and meanwhile doing something else I exited the shell. After a while I realized I need some another modules, therefore I launched the CPAN shell again, only to find out I cannot install anything ending up on "Out of memory!" error, e.g.:
cpan[1]> reload index
CPAN: Storable loaded ok (v2.18)
Going to read /opt/local/CPAN/Metadata
Database was generated on Sat, 04 Oct 2008 07:28:40 GMT
CPAN: LWP::UserAgent loaded ok (v2.036)
Out of memory!
Lockfile removed.
#
After several hours of googling, fury (what the hell had happened?!) and desperation I realized I installed the Term::ReadLine::Gnu module and that the CPAN shell is working with Term::ReadLine::Perl. Only export of PERL_RL variable made the CPAN shell work again:
# export PERL_RL=Perl
# cpan
...
The host is Solaris 10 zone. The same error did not happen on my Gentoo Linux workstation, so there could be some deep issue on this related with OS.
This is only an informational post, as anybody else could meet the same problem - finding it via google will spare him some time.
Thanks and best regards
geronime |