This is the mail archive of the
mailing list for the Cygwin project.
Re: Installing Perl modules with
- From: Luffe <dogo at luukku dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 22 May 2006 18:37:26 +0000 (UTC)
- Subject: Re: Installing Perl modules with
- References: <421F0A9C.firstname.lastname@example.org> <email@example.com>
Short solution: install cygwin-provided wget and change CPAN setting to
use /usr/bin/wget, not Windows native wget.exe.
David Christensen <dpchrist <at> holgerdanske.com> writes:
: Stephan Petersen wrote:
: :::Please check the validity of the index file by comparing it to more
: :::than one CPAN mirror.
: :: Have you tried this? E.g. configured CPAN to use another mirror and
: :: tried again?
: : yes, it's the same for every CPAN mirror I've tried. I've deleted
: : CPAN's config.pm and my .cpan directory several times now, it's the
: : same after every reconfiguration.
: : Testing 02packages.details.txt.gz with gzip -t reports:
: : gzip: 02packages.details.txt.gz: invalid compressed data--format
: : violated
: : Same with 03modlist.data.gz.
: : I'm using cygwin on W2k with default text file type "DOS", in case
: : that's relevant.
: Hmmm... I dunno. I run Win XP Pro with Cygwin in DOS mode, and my CPAN seems
: to work. It also worked when I ran Win2k Pro.
Another thread at http://www.cygwin.com/ml/cygwin/2005-02/msg00756.html speaks
about trying other protocols (in case proxy/firewall screws up things in
between) and ensuring that mounts are in binmode (type 'mount' to see things
like c:\cygwin\home\username\.cpan on /home/username/.cpan type system
After I checked these things, reinstalled gzip/zlib and wondered why even
WinRAR can't see proper files, I thought that the download application (wget)
is screwed. I checked the cpan.PM but changes to wget options would not help.
So only then it dawned on me that the _native Windows_ wget.exe (GNU Wget
1.9.1) which I had in c:\windows\system32 does not work with Cygwin. It just
doesn't do the right thing with Cygwin when doing -O - (to output downloaded
file to stdout). So, solution: run Cygwin setup and install cygwin-provided
wget. Then 'perl -MCPAN -e shell', o conf defaults, o conf init and give it new
path to wget (/usr/bin/wget).
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html