It looks like the directory structure under ~/.cpan is messed up
somehow.  Take note of the following errors:

> Issuing "/usr/bin/ftp -n"
> Local directory now /home/phisco01/.cpan/sources/authors
> authors: No such file or directory

> Issuing "/usr/bin/ftp -n"
> Local directory now /home/phisco01/.cpan/sources/modules
> modules: No such file or directory

Normally, the hierarchy under ~/.cpan looks like this:

..cpan/
     /Bundle
     /build
     /sources/
             /authors/
             /modules/
     
One way to fix this would be to nuke ~/.cpan entirely and start over.  You
might have
to reconfig the module though, so if ~.cpan/CPAN/MyConfig.pm exists, grab a
copy of it
for reference first.

Before you go that drastic though, I'd check and see if the perms on the
directory
~/.cpan are correct.  Is it possible that you used the CPAN module some time
previously
as root (thus creating ~/.cpan with an ownership of root:system) and then
tried to
run it as yourself?  If so, you'd be trying to create a directory as a user
in a root-owned directory.

Try making sure that the user you're running 'perl -MCPAN' as has perms to
create dirs
in ~/.cpan.
   
-- 
j.

James FitzGibbon                       voice/fax 612-761-6121/4277 
Consultant, TTS-3D@TPN4H               [EMAIL PROTECTED]


> -----Original Message-----
> From: Kenny Smith [mailto:[EMAIL PROTECTED]]
> Sent: Friday, January 25, 2002 10:21 AM
> To: [EMAIL PROTECTED]
> Subject: perl -MCPAN -e 'install Bundle::libnet' - Failures
> 
> 
> when I attempt to install my first bundle with the MCPAN 
> option, I'm getting
> errors.
> I think there is a config file I need to change but I'm not 
> sure where....
> 
> this directory - /home/phisco01/.cpan/sources/authors  does exist.
> 
> I can ftp to ftp.perl.org and find the files but perl can't.
> 
> Here is my perl command and output. any ideas?
> 
> ----------------------
> 
> 
> 
> # perl -MCPAN -e 'install Bundle::libnet'
> LWP not available
> 
>   Please, install Net::FTP as soon as possible. CPAN.pm 
> installs it for you
>   if you just type
>       install Bundle::libnet
> 
> Issuing "/usr/bin/ftp -n"
> Local directory now /home/phisco01/.cpan/sources/authors
> authors: No such file or directory
> 01mailrc.txt.gz: No such file or directory
> Bad luck... Still failed!
> Can't access URL ftp://ftp.perl.org/authors/01mailrc.txt.gz.
> 
> Please check, if the URLs I found in your configuration file
> (ftp://ftp.perl.org/) are valid. The urllist can be edited. 
> E.g. with 'oconf
> urllist push ftp://myurl/'
> 
> Could not fetch authors/01mailrc.txt.gz
> LWP not available
> Issuing "/usr/bin/ftp -n"
> Local directory now /home/phisco01/.cpan/sources/modules
> modules: No such file or directory
> 02packages.details.txt.gz: No such file or directory
> Bad luck... Still failed!
> Can't access URL ftp://ftp.perl.org/modules/02packages.details.txt.gz.
> 
> Please check, if the URLs I found in your configuration file
> (ftp://ftp.perl.org/) are valid. The urllist can be edited. 
> E.g. with 'oconf
> urllist push ftp://myurl/'
> 
> Could not fetch modules/02packages.details.txt.gz
> LWP not available
> Issuing "/usr/bin/ftp -n"
> Local directory now /home/phisco01/.cpan/sources/modules
> modules: No such file or directory
> 03modlist.data.gz: No such file or directory
> Bad luck... Still failed!
> Can't access URL ftp://ftp.perl.org/modules/03modlist.data.gz.
> 
> Please check, if the URLs I found in your configuration file
> (ftp://ftp.perl.org/) are valid. The urllist can be edited. 
> E.g. with 'o
> conf urllist push ftp://myurl/'
> 
> Could not fetch modules/03modlist.data.gz
> Warning: Cannot install Bundle::libnet, don't know what it is.
> Try the command
> 
>     i /Bundle::libnet/
> 
> to find objects with matching identifiers.
> 
> Kenny Smith
> Pinnacle Data Technologies
> www.pinnacle-data.com
> 
> 

Reply via email to