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: Matthias Gehre
Subject: Re: [Mingw-cross-env-list] Sourceforge download troubles
Date: Sat, 14 Apr 2012 18:00:13 +0200

None of

wget http://ncu.dl.sourceforge.net/project/expat/expat/2.0.1/expat-2.0.1.tar.gz
wget 
http://sourceforge.net/projects/expat/files/expat/2.0.1/expat-2.0.1.tar.gz/download
wget 
http://downloads.sourceforge.net/project/expat/expat/2.0.1/expat-2.0.1.tar.gz
make expat SOURCEFORGE_MIRROR=downloads.sourceforge.net

worked for me. All returned text/html content.

For example
wget 
http://downloads.sourceforge.net/project/expat/expat/2.0.1/expat-2.0.1.tar.gz
gives:
--2012-04-14 17:58:57--
http://downloads.sourceforge.net/project/expat/expat/2.0.1/expat-2.0.1.tar.gz
Resolving downloads.sourceforge.net (downloads.sourceforge.net)... 216.34.181.59
Connecting to downloads.sourceforge.net
(downloads.sourceforge.net)|216.34.181.59|:80... connected.
HTTP request sent, awaiting response... 307 Temporary Redirect
Location: 
http://sourceforge.net/projects/expat/files/expat/2.0.1/expat-2.0.1.tar.gz/download?use_mirror=kent
[following]
--2012-04-14 17:58:58--
http://sourceforge.net/projects/expat/files/expat/2.0.1/expat-2.0.1.tar.gz/download?use_mirror=kent
Resolving sourceforge.net (sourceforge.net)... 216.34.181.60
Connecting to sourceforge.net (sourceforge.net)|216.34.181.60|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 17183 (17K) [text/html]
Saving to: `expat-2.0.1.tar.gz'

100%[======================================>] 17.183      --.-K/s   in 0,1s

2012-04-14 17:58:58 (131 KB/s) - `expat-2.0.1.tar.gz` saved [17183/17183]


2012/4/14 Tony Theodore <address@hidden>:
>
> 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.
>
> Could you try using "downloads" instead of specifying the mirror? i.e:
>
> wget 
> http://downloads.sourceforge.net/project/expat/expat/2.0.1/expat-2.0.1.tar.gz
>
> or
>
> make download SOURCEFORGE_MIRROR=downloads.sourceforge.net
>
> and see if that works any better?
>
> Thanks,
>
> Tony
>



reply via email to

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