2009/8/14 Steve Bertrand <st...@ibctech.ca>:
> Philip Potter wrote:
>> Dear all,
>>
>> I'm having trouble installing stuff on CPAN. I'm using the cpan script:
>> cpan script version 1.03
>> CPAN.pm version 1.7602
>>
>> It tells me there's a new CPAN.pm available, so I type install
>> Bundle::CPAN. After a lot of text, including some requests for
>> dependencies, I get:
>>
>> Recursive dependency detected:
>>     Bundle::CPAN
>>  => Test::Harness
>>  => A/AN/ANDYA/Test-Harness-3.17.tar.gz
>>  => File::Spec
>>  => S/SM/SMUELLER/PathTools-3.30.tar.gz
>>  => Scalar::Util
>>  => G/GB/GBARR/Scalar-List-Utils-1.21.tar.gz
>>  => Test::More
>>  => M/MS/MSCHWERN/Test-Simple-0.92.tar.gz
>>  => Test::Harness.
>> Cannot continue.
>>
>> What do I do now? How do I update CPAN?
>
> From what I've read, this is an issue that affects CentOS/RedHat, which
> apparently ship with a faulty shell.
>
> In fact, I performed the install via the CPAN shell on FreeBSD 7.2
> successfully just now as a test ("install Bundle::CPAN").
>
> Perhaps you could try:
>
> % perl -MCPAN -e shell
> % cpan> install CPAN
> % cpan> o conf commit
>
> Be advised that even though that seemed to work ok on a test box, I
> don't know the complete ramifications.

What do those commands do? Is $ perl -MCPAN -e shell different from $ cpan?

I tried

$ perl -MCPAN -e shell
cpan> install CPAN

and it failed on a test, so I repeated it grabbing output:

$ perl -MCPAN -e shell 2>&1 | tee output.txt
cpan> install CPAN

output is here:
http://www.doc.ic.ac.uk/~pgp/output.txt

As you can see, it asked for Test::Harness which I supplied. I guess
it builds ok?

It then goes back to CPAN where it fails on t/30shell.t where it times
out. Apparently this is on i[206]prog[r] whatever that means.

I had a look in the pod for t/30shell.t and poked around looking at
the testcases but I'm not sure why it's failing. What do you think?

Philip

-- 
"I have always wished for my computer to be as easy to use as my
telephone; my wish has come true because I can no longer figure out
how to use my telephone."
  --Bjarne Stroustrup

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to