Ken,
you are so right. Now I am blushing for my idiocy. It seems that the 
CPAN installer took my erroneous "y" answer to mean make a ~/y 
directory. This is clearly a very silly place to keep the cpan module 
and to place the downloaded modules, but why is it wrong? In other 
words why does it result in the error uncompressing the source file? 
In other other words, where should I be placing these things to 
prevent this error?

  I have included the ./config file bellow to help with the diagnosis:

$CPAN::Config = {
   'build_cache' => q[20],
   'build_dir' => q[y/build],
   'cpan_home' => q[y],
   'ftp' => q[/usr/bin/ftp],
   'ftp_proxy' => q[],
   'getcwd' => q[cwd],
   'gzip' => q[/usr/bin/gzip],
   'http_proxy' => q[],
   'inactivity_timeout' => q[0],
   'index_expire' => q[1],
   'inhibit_startup_message' => q[0],
   'keep_source_where' => q[y/sources],
   'lynx' => q[],
   'make' => q[],
   'make_arg' => q[],
   'make_install_arg' => q[],
   'makepl_arg' => q[],
   'ncftp' => q[/usr/bin/ncftp],
   'ncftpget' => q[],
   'no_proxy' => q[],
   'pager' => q[/usr/bin/less],
   'prerequisites_policy' => q[ask],
   'scan_cache' => q[atstart],
   'shell' => q[/bin/tcsh],
   'tar' => q[/usr/bin/tar],
   'unzip' => q[],
   'urllist' => [q[ftp://ftp.cs.colorado.edu/pub/perl/CPAN/]],
   'wait_list' => [q[wait://ls6.informatik.uni-dortmund.de:1404]],
};
1;
__END__

Thanks for all your help.
-Hans


>On Friday, May 3, 2002, at 08:13 AM, Hans Holtan wrote:
>
>>I keep getting this set of errors when I try do install directly 
>>from CPAN with:
>>
>>% sudo perl -MCPAN -e shell
>>
>>I have tried installing various modules but this is what I get every time:
>>
>>cpan> install MD5
>>Running make for G/GA/GAAS/MD5-2.02.tar.gz
>>Fetching with Net::FTP:
>>   ftp://ftp.cs.colorado.edu/pub/perl/CPAN/authors/id/G/GA/GAAS/MD5-2.02.tar.
>>gz
>>
>>   CPAN: MD5 security checks disabled because MD5 not installed.
>>   Please consider installing the MD5 module.
>>
>>zsh: no such file or directory: 
>>y/sources/authors/id/G/GA/GAAS/MD5-2.02.tar.gz
>>tar: End of archive volume 1 reached
>>tar: Sorry, unable to determine archive format.
>>y/sources/authors/id/G/GA/GAAS/MD5-2.02.tar.gz: No such file or directory
>>Couldn't uncompress y/sources/authors/id/G/GA/GAAS/MD5-2.02.tar.gz
>>
>
>What's the "y" directory?  Try having a look at your 
>~/.cpan/CPAN/MyConfig.pm file.  What are the values of 'build_dir', 
>'cpan_home', and 'keep_source_where'?  My guess is that they're 
>wrong.  Maybe you answered "y" to one of the configuration 
>questions, when it wasn't looking for a y/n answer?
>
>  -Ken


Reply via email to