RE: Installing Perl modules with

2006-05-22 Thread David Christensen
Luffe wrote: > Short solution: install cygwin-provided wget and change CPAN setting to > use /usr/bin/wget, not Windows native wget.exe. The only wget on my PATH is Cygwin's: 2006-05-22 18:39:13 [EMAIL PROTECTED] ~ $ find `perl -e 'print map {$_, "\n"} split /:/, $ENV{PATH}'` -name 'wge

Re: Installing Perl modules with

2006-05-22 Thread Luffe
Hello all, Short solution: install cygwin-provided wget and change CPAN setting to use /usr/bin/wget, not Windows native wget.exe. To recap: David Christensen holgerdanske.com> writes: : Stephan Petersen wrote: : :::Please check the validity of the index file by comparing it to more : :::than

Re: (RESOLVED) Re: Installing Perl modules with "perl -MCPAN -e shell; " fails with "02packages.details.txt.gz does not contain a Line-Count header"

2005-03-01 Thread John Morrison
On Tue, March 1, 2005 2:47 pm, Igor Pechtchanski said: > On Tue, 1 Mar 2005, Yitzchak Scott-Thoennes wrote: > >> If they want a different directory, it still doesn't hurt to force >> ~/.cpan >> to binmode (except in so far as it uses up the AIUI limited number of >> mounts). I'd advocate putting i

Re: (RESOLVED) Re: Installing Perl modules with "perl -MCPAN -e shell; " fails with "02packages.details.txt.gz does not contain a Line-Count header"

2005-03-01 Thread Igor Pechtchanski
On Tue, 1 Mar 2005, Yitzchak Scott-Thoennes wrote: > If they want a different directory, it still doesn't hurt to force ~/.cpan > to binmode (except in so far as it uses up the AIUI limited number of > mounts). I'd advocate putting it in a postinstall script. Yes, it does sometimes. There used

Re: (RESOLVED) Re: Installing Perl modules with "perl -MCPAN -e shell; " fails with "02packages.details.txt.gz does not contain a Line-Count header"

2005-03-01 Thread Yitzchak Scott-Thoennes
On Mon, Feb 28, 2005 at 10:51:44PM +0100, Gerrit P. Haase wrote: > John Morrison wrote: > > >On Mon, February 28, 2005 12:19 pm, Stephan Petersen said: > > > >>Hi Gerrit, > >> > >>thanks for your and all the others' replies. > >> > >> > >>>- The CPAN repository and build directory *must* reside in

Re: (RESOLVED) Re: Installing Perl modules with "perl -MCPAN -e shell; " fails with "02packages.details.txt.gz does not contain a Line-Count header"

2005-03-01 Thread John Morrison (Cygwin)
On Mon, February 28, 2005 9:51 pm, Gerrit P. Haase said: > > The user may want to use a different directory as repository and build > directory. It should be done during the initial configuration, however > I'm not sure if is worth the time to implement it. Since there are two > or three rreports

Re: (RESOLVED) Re: Installing Perl modules with "perl -MCPAN -e shell; " fails with "02packages.details.txt.gz does not contain a Line-Count header"

2005-02-28 Thread Gerrit P. Haase
John Morrison wrote: On Mon, February 28, 2005 12:19 pm, Stephan Petersen said: Hi Gerrit, thanks for your and all the others' replies. - The CPAN repository and build directory *must* reside in a path mounted in binmode: mount -s -b -f c:/cygwin/home/username/.cpan /home/username/.cpan mou

Re: (RESOLVED) Re: Installing Perl modules with "perl -MCPAN -e shell; " fails with "02packages.details.txt.gz does not contain a Line-Count header"

2005-02-28 Thread Stephan Petersen
Could something along these lines be done in the postinstall for perl? (Only if the mount doesn't exist of cause...) Alternatively, maybe the CPAN module could issue a warning when it's running under cygwin using a textmode-mounted .cpan directory. Stephan -- Stephan Petersen [EMAIL PROTECTED]

Re: (RESOLVED) Re: Installing Perl modules with "perl -MCPAN -e shell; " fails with "02packages.details.txt.gz does not contain a Line-Count header"

2005-02-28 Thread John Morrison
On Mon, February 28, 2005 12:19 pm, Stephan Petersen said: > > Hi Gerrit, > > thanks for your and all the others' replies. > >> - The CPAN repository and build directory *must* reside in a path >> mounted in binmode: >> >> mount -s -b -f c:/cygwin/home/username/.cpan /home/username/.cpan >>

(RESOLVED) Re: Installing Perl modules with "perl -MCPAN -e shell;" fails with "02packages.details.txt.gz does not contain a Line-Count header"

2005-02-28 Thread Stephan Petersen
Hi Gerrit, thanks for your and all the others' replies. - The CPAN repository and build directory *must* reside in a path mounted in binmode: mount -s -b -f c:/cygwin/home/username/.cpan /home/username/.cpan mount -u -b -f c:/cygwin/home/username/.cpan /home/username/.cpan That seems to h

Re: Installing Perl modules with "perl -MCPAN -e shell;" fails with "02packages.details.txt.gz does not contain a Line-Count header"

2005-02-27 Thread Gerrit P. Haase
Stephan Petersen wrote: Hi David, 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

Re: Installing Perl modules with "perl -MCPAN -e shell;" fails with "02packages.details.txt.gz does not contain a Line-Count header"

2005-02-27 Thread Jason Pearce
Stephan, I don't recall -- did you attach the output of "cygcheck -svr" at some point (if so, just point to it in the archives, no need to repost)? My guess is that this may be a textmode vs. binmode issue. Try making your home directory a binmode mount, or setting PERLIO=crlf and see if that he

Re: Installing Perl modules with "perl -MCPAN -e shell;" fails with "02packages.details.txt.gz does not contain a Line-Count header"

2005-02-25 Thread Brian Dessent
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 > co

Re: Installing Perl modules with "perl -MCPAN -e shell;" fails with "02packages.details.txt.gz does not contain a Line-Count header"

2005-02-25 Thread Greg Matheson
On Fri, 25 Feb 2005, David Christensen wrote: > > 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: 02

RE: Installing Perl modules with "perl -MCPAN -e shell;" fails with "02packages.details.txt.gz does not contain a Line-Count header"

2005-02-25 Thread David Christensen
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

Re: Installing Perl modules with "perl -MCPAN -e shell;" fails with "02packages.details.txt.gz does not contain a Line-Count header"

2005-02-25 Thread Igor Pechtchanski
On Fri, 25 Feb 2005, Stephan Petersen wrote: > Hi Greg, > > thanks for your reply. > > > Probably your file got damaged, I think. > > yes, but reproducably for all CPAN mirrors... > > Testing 02packages.details.txt.gz with gzip -t reports: > gzip: 02packages.details.txt.gz: invalid compressed data

Re: Installing Perl modules with "perl -MCPAN -e shell;" fails with "02packages.details.txt.gz does not contain a Line-Count header"

2005-02-25 Thread Stephan Petersen
Hi Greg, thanks for your reply. Probably your file got damaged, I think. yes, but reproducably for all CPAN mirrors... Testing 02packages.details.txt.gz with gzip -t reports: gzip: 02packages.details.txt.gz: invalid compressed data--format violated Same with 03modlist.data.gz. Stephan -- Stephan Pe

Re: Installing Perl modules with "perl -MCPAN -e shell;" fails with "02packages.details.txt.gz does not contain a Line-Count header"

2005-02-25 Thread Stephan Petersen
Hi David, 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 tim

RE: Installing Perl modules with "perl -MCPAN -e shell;" fails with "02packages.details.txt.gz does not contain a Line-Count header"

2005-02-24 Thread David Christensen
Stephan Petersen wrote: ... > When I fire up > perl -MCPAN -e shell; > and for instance try to install Config::Inifiles, it fails ... > 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 t

Re: Installing Perl modules with "perl -MCPAN -e shell;" fails with "02packages.details.txt.gz does not contain a Line-Count header"

2005-02-24 Thread Greg Matheson
On Thu, 24 Feb 2005, Stephan Petersen wrote: > When I fire up > perl -MCPAN -e shell; > and for instance try to install Config::Inifiles, it fails with strange > "02packages.details.txt.gz does not contain a Line-Count header" > messages (see below). I see here that the file begins this way:

Installing Perl modules with "perl -MCPAN -e shell;" fails with "02packages.details.txt.gz does not contain a Line-Count header"

2005-02-24 Thread Stephan Petersen
Hi guys, I updated my cygwin installation and obviously got a new Perl version, which means I need to reinstall a lot of modules again... When I fire up perl -MCPAN -e shell; and for instance try to install Config::Inifiles, it fails with strange "02packages.details.txt.gz does not contain a Lin