On Feb 8, 4:54 pm, [EMAIL PROTECTED] (Andreas
J. Koenig) wrote:
> >>>>> On 8 Feb 2007 11:54:32 -0800, [EMAIL PROTECTED] said:
>   > 1) What has happened to File::HomeDir?  Has it been removed from CPAN?
>
> It's fine, but it is at version 0.64. For some reason you have a very
> old index file. Please try 'reload index' and watch carefully the
> output. Maybe your machine has a wrong date?

Ahhh, yes...'reload index' was the key for me.  Unfortunately, I had a
very stale mirror (ibiblio.org) as my first site.  I then repopulated
my cpan site list based on info from http://www.cs.uu.nl/people/henkp/
mirmon/cpan.html and thought my index would get updated automatically.

Thanks for your help!

>   > 2) Why do some mirrors return a bogus .gz file?  Is there anything
>   > that can be done to return a 404 instead of this automatically
>   > generated tarball?  (Some sites correctly DO return a 404.)
>
> Because 0.58 is gone from many mirrors.

True, but note below how this really confused cpan.  At first I
thought this was due to an auto-generated tarball, but instead it
appears that the root of the problem is that there is no error
checking when using 'lynx -source', which caused cpan to attempt an
install anyway.  Later, an 'upgrade' failed to notice that it needed
to be installed.  Only a manual 'install File::HomeDir' forced a
successful installation.

Running install for module File::HomeDir
Running make for A/AD/ADAMK/File-HomeDir-0.58.tar.gz
CPAN: LWP::UserAgent loaded ok
Fetching with LWP:
  http://cpan.pair.com/authors/id/A/AD/ADAMK/File-HomeDir-0.58.tar.gz
LWP failed with code[404] message[Not Found]
Fetching with LWP:
  http://mirrors.kernel.org/cpan/authors/id/A/AD/ADAMK/File-
HomeDir-0.58.tar.gz
LWP failed with code[404] message[Not Found]
Fetching with LWP:
  http://www.mednor.net/ftp/pub/mirrors/CPAN/authors/id/A/AD/ADAMK/
File-HomeDir-0.58.tar.gz
LWP failed with code[404] message[Not Found]
Fetching with LWP:
  http://mirror.sit.wisc.edu/pub/CPAN/authors/id/A/AD/ADAMK/File-
HomeDir-0.58.tar.gz
LWP failed with code[404] message[Not Found]

Trying with "/usr/bin/lynx -source" to get
    http://cpan.pair.com/authors/id/A/AD/ADAMK/File-
HomeDir-0.58.tar.gz

Trying with "/usr/bin/lynx -source" to get
    http://cpan.pair.com/authors/id/A/AD/ADAMK/CHECKSUMS
Package seems to come without Makefile.PL.
  (The test -f "/e/cpan/build/ADAMK000/Makefile.PL" returned false.)
  Writing one on our own (setting NAME to FileHomeDir)

  CPAN.pm: Going to build A/AD/ADAMK/File-HomeDir-0.58.tar.gz

Writing Makefile for FileHomeDir
  /usr/bin/make -j3 -- OK
Running make test
Prepending /e/cpan/build/Scalar-List-Utils-1.19/blib/arch /e/cpan/
build/Scalar-List-Utils-1.19/blib/lib /e/cpan/build/PathTools-3.24/
blib/arch /e/cpan/build/PathTools-3.24/blib/lib to PERL5LIB.
No tests defined for FileHomeDir extension.
  /usr/bin/make test -- OK
Running make install
Appending installation info to /usr/lib/perl5/5.8/cygwin/perllocal.pod
Writing /usr/lib/perl5/site_perl/5.8/cygwin/auto/FileHomeDir/.packlist
  /usr/bin/make install -j3 -- OK

Marco

Reply via email to