On Friday, December 27, 2002, at 07:29  AM, Josh Kuperman wrote:
I am having a major problem with fink and cpan and my perl
installation. I'm not quite sure when it happened; I haven't installed
any modules in a long time. I wanted to set up two programs which
required some missing modules.  I did install the
December 2002 Tools. When I went to install the software which requires
some Perl modules, I found that for whatever reason, when using
CPAN to attempt an install, it hangs on LWP::Agent's attempts to
download. I can download and install by hand easily. ncftpget works
greate with the same URLs that make CPAN using LWP::Agent hang.
Could be one of several problems, but the first one that comes to mind is that perhaps your proxy info isn't set up correctly. Do you use a proxy? You can set CPAN up to download in all kinds of weird situations, but it takes some tweaking with the options sometimes.


I would like to get things back in synch. I'm not sure how they got
out of synch. Fink creates problems for me. I would prefer to just
have a list of all the perl modules I need to install and install
through CPAN so that everything would be in one place. Now I seem to
have somehow added in conflicting modules - version of the same
version of the same program - one through fink and one by hand, from
my attempts to render CPAN usable.
They probably aren't actually "conflicting". They're probably just duplicated, not causing any real harm.


In an attempt to upgrade/update CPAN itself so it would work, I
downloaded and installed Compress-zlib, which CPAN had stopped while
trying to download. I've no idea why it didnt' see the fink installed
version.
To see perl modules in /sw/lib/perl5/ , you need to set the PERL5LIB environment variable to /sw/lib/perl5/ . Then CPAN and everything else will be able to use them.

-Ken



Reply via email to