"Irfan J Sayed (isayed)" schreef:

> Please find the attached log.

I don't see the output of `perl -V` there. You did do `perl -v`.


> Please please suggest. Now it is asking to enter the CPAN site.

It looks like you are behind a firewall that doesn't allow ftp nor http
traffic.
Do you have an http or ftp proxy?


I tried it from a shell account without firewall issues, and got this:
Can't locate object method "safe_quote" via package "CPAN::HandleConfig"
at [...]/.cpan/lib/CPAN.pm line 5425.

I decided to try
    perl -MCPAN -e 'install Bundle::CPAN'
but got the same error.

I copied the sub safe_quote from the newly created
    ~/.cpan/build/CPAN-1.9205/lib/CPAN/HandleConfig.pm
into the old
    ~/.cpan/lib/CPAN/HandleConfig.pm.


Here some lines from my .cpan/CPAN/MyConfig.pm:

  'build_dir' => q[~/.cpan/build],
  'cpan_home' => q[~/.cpan],
  'makepl_arg' => q[LIB=~/.cpan/lib \
                 PREFIX=~/.cpan/perl \
         INSTALLMAN1DIR=~/man/man1 \
         INSTALLMAN3DIR=~/man/man3],

With a lot of patience, and switching to the shell of a box with a newer
OS (FreeBSD 7.0-STABLE v.s. FreeBSD 4.10-RELEASE-p2) I finally managed
to install Bundle::CPAN.

At the start, cpan says: "install Bundle::CPAN; reload cpan", but I had
to leave the cpan shell, and enter it again, to get the new version
active. My CPAN there is now v1.9205.


Trying install of Math::Pari again now ...

Succeeded:

cpan[3]> install Math::Pari
Math::Pari is up to date (2.010800).

<phew>

-- 
Affijn, Ruud

"Gewoon is een tijger."


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to