mingw-cross-env-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mingw-cross-env-list] Sourceforge download troubles


From: Tony Theodore
Subject: Re: [Mingw-cross-env-list] Sourceforge download troubles
Date: Sun, 15 Apr 2012 00:25:45 +1000

On 14/04/2012, at 5:39 PM, Lothar May wrote:

> Hi,
> 
> Am 13. April 2012 17:32 schrieb Matthias Gehre <address@hidden>:
>> mingw-cross-env's experiences difficulties downloading packages from
>> sourceforge for me.
>> Examples are expat, pcre and libpng. I updated to latest git.
>> 
>> The wget output already shows 'Length: 20191 (20K) [text/html]',
>> and the file downloaded contains some sourceforge html. Then, of course,
>> it fails the checksum verification.
>> 
>> Does sourceforge try to prevent direct downloads? Is anyone else
>> experiencing this?
>> 
> 
> I'm also having trouble downloading from sourceforge using wget (or
> curl). It seems that command lines like
> wget 
> http://ncu.dl.sourceforge.net/project/expat/expat/2.0.1/expat-2.0.1.tar.gz
> no longer work (they used to work but were redirected to a random
> mirror for some time now, even though there was e.g. the "ncu" mirror
> in the url).
> Since mxe uses the upper kind of link for expat, this seems to be the problem.
> 
> What still works is
> wget 
> http://sourceforge.net/projects/expat/files/expat/2.0.1/expat-2.0.1.tar.gz/download
> However, the resulting file will be named "download", so either a
> rename has to follow or some parameter for wget.

Currently, the wget output is sent to stdout and then redirected to the package 
filename, so changing to this url style shouldn't be a problem. I "think" this 
form also detects the nearest mirror automatically.

Cheers,

Tony




reply via email to

[Prev in Thread] Current Thread [Next in Thread]