[ic] perl CPAN update

delionsweb - minivend minivend@delionsweb.net
Fri, 24 Nov 2000 13:20:21 -0500


 From the CPAN readme:
"  Prerequisites

     If you have a local mirror of CPAN and can access all files with "file:"
     URLs, then you only need a perl better than perl5.003 to run this
     module. Otherwise Net::FTP is strongly recommended. LWP may be required
     for non-UNIX systems or if your nearest CPAN site is associated with an
     URL that is not `ftp:'.

     If you have neither Net::FTP nor LWP, there is a fallback mechanism
     implemented for an external ftp command or for an external lynx command.

"
Do this:
Download latest cpan: 
ftp://ftp.freesoftware.com/pub/perl/CPAN/modules/by-category/23_Miscellaneous_Modules/CPAN/CPAN-1.58.tar.gz
Expand and install with:
gzip -dc CPAN-1.58.tar.gz | tar xvf -
cd CPAN-1.58
make
make install

Then get Net::FTP module and LWP in the same way and install them.
ftp://ftp.freesoftware.com/pub/perl/CPAN/modules/by-category/15_World_Wide_Web_HTML_HTTP_CGI/LWP/libwww-perl-5.48.tar.gz
is the one I would recommend because it helps with other things too.

When you have all that working you can configure CPAN manually (if the CPAN 
install did not have you do it already) like this:
perl -MCPAN -e 'shell'
o conf init
o conf commit
And wile still in the shell:
install Bundle::Interchange
exit

Good luck!

At 06:06 AM 11/24/2000, you wrote:
>hi all.
>
>i was issueing
>
># perl -MCPAN -e 'install Bundle::Interchange'
>
>and it will updating perl CPAN automaticly, but my site (ftp) 
>configuration have error.
>
>---------
>Issuing "/usr/bin/ftp -n"
>Local directory now /root/.cpan/sources/authors/id/G/GA/GAAS
>Digest-MD5-2.11.tar.gz: No such file OR directory.
>Bad luck... Still failed!
>Can't access URL 
>ftp://ftp.freesoftware.com/pub/perl/CPAN/authors/id/G/GA/GAAS/Digest-MD5-2.11.tar.gz.
>
>Issuing "/usr/bin/ftp -n"
>Local directory now /root/.cpan/sources/authors/id/G/GA/GAAS
>/pub/languages/perl/CPAN/authors/id/G/GA/GAAS/Digest-MD5-2.11.tar.gz: No 
>such file or directory.
>Bad luck... Still failed!
>Can't access URL 
>ftp://ftp.funet.fi/pub/languages/perl/CPAN/authors/id/G/GA/GAAS/Digest-MD5-2.11.tar.gz.
>
>Please check, if the URLs I found in your configuration file
>(ftp://ftp.nus.edu.sg/pub/unix/perl/CPAN/,
>ftp://ftp.freesoftware.com/pub/perl/CPAN/,
>ftp://ftp.funet.fi/pub/languages/perl/CPAN/) are valid. The urllist can be
>edited. E.g. with ``o conf urllist push ftp://myurl/''
>
>Cannot fetch authors/id/G/GA/GAAS/Digest-MD5-2.11.tar.gz
>
>Giving up on '/root/.cpan/sources/authors/id/G/GA/GAAS/Digest-MD5-2.11.tar.gz'
>---------------------
>
>#1 how do i edit my url/ftp list ?
>#2 The urllist can be edited. E.g. with ``o conf urllist push ftp://myurl/''
>      what is that mean ?
>
>anyone?
>regards
>fay
>.bc # {F5131C24-E56D-51CF-B78A-888553580000}
>.mail main at : f51@technologist.com
>.web f51.w3.to
>.linux project LinuxMelayu.w3.to
>.web mail f51.i-p.com
>.icq #781787
>
>
>_______________________________________________
>Interchange-users mailing list
>Interchange-users@www.minivend.com
>http://www.minivend.com/mailman/listinfo/interchange-users