Jul 18, 2012, 12:43 PM
Post #1 of 1
cpan shell doesn't start
I encountered today a problem I haven't faced before. I wanted to install a module on our server via CPAN, but the shell did not start up. I am quite sure that I didn't install anything via CPAN shell before, but I did on our other servers and on my home computer. And I have no idea why the command
perl -eshell -MCPAN
doesn't work this time.
This is what I get:
[root@doro jms]# perl -eshell -MCPAN
Terminal does not support AddHistory.
cpan shell -- CPAN exploration and modules installation (v1.9456)
Enter 'h' for help.
print() on closed filehandle FOUT at /usr/share/perl5/Term/ReadLine.pm line 193.
print() on closed filehandle FOUT at /usr/share/perl5/Term/ReadLine.pm line 203.
Terminal does not support GetHistory.
The server runs under FedoreCore 14, perl5 is installed, cpan as well. I also did some research on the internet, but without success so far. I also don't really see an error message. I had a look at /usr/share/perl5/Term/ReadLine.pm line 193 and line 203, but no hint when this will be called and why. Maybe anybody can tell me which script calls ReadLine.pm, so I can have a look WHY I get these strange print() on closed filehandle... message?
Many thanks in advance!