harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geir Magnusson Jr." <g...@pobox.com>
Subject Re: [classlib] build broken on windows because msvcr71.dll is forbidden
Date Tue, 28 Nov 2006 15:49:07 GMT


Ivanov, Alexey A wrote:
>> -----Original Message-----
>> From: Geir Magnusson Jr. [mailto:geir@pobox.com]
>> Sent: Tuesday, November 28, 2006 6:08 PM
>> To: dev@harmony.apache.org
>> Subject: Re: [classlib] build broken on windows because msvcr71.dll is
>> forbidden
>>
>> The URL I mean is :
>>
>> http://www.dlldump.com/cgi-
>> bin/testwrap/downloadcounts.cgi?rt=count&path=dllfiles/M/MSVCR71.dll
> 
> This URL leads to a CGI script which increments a counter and then
> directs your browser to another URL with correct referrer and you
> successfully download the DLL. (This URL works perfectly for a browser.)

Ah - thanks - I should have thought of that.

> 
> I will be able to provide more info later. (I should mention that wget
> fails to download the DLL. It seems like there are some tricks it can't
> understand.)
> 
> I'm pretty sure ant wouldn't be able to download the DLL too using this
> URL.
> 

Alas.

geir

> Regards,
> Alexey.
> 
>> Ivanov, Alexey A wrote:
>>>> -----Original Message-----
>>>> From: Geir Magnusson Jr. [mailto:geir@pobox.com]
>>>> Sent: Tuesday, November 28, 2006 4:43 PM
>>>> To: dev@harmony.apache.org
>>>> Subject: Re: [classlib] build broken on windows because msvcr71.dll
> is
>>>> forbidden
>>>>
>>>>
>>>>
>>>> Ivanov, Alexey A wrote:
>>>>>> -----Original Message-----
>>>>>> From: Geir Magnusson Jr. [mailto:geir@pobox.com]
>>>>>> Sent: Tuesday, November 28, 2006 3:58 PM
>>>>>> To: dev@harmony.apache.org
>>>>>> Subject: Re: [classlib] build broken on windows because
> msvcr71.dll
>>> is
>>>>>> forbidden
>>>>>>
>>>>>>
>>>>>>
>>>>>> Ivanov, Alexey A wrote:
>>>>>>> Is it worth trying to copy this DLL from Windows\System32 folder?
>>>>> Most
>>>>>>> Windows systems will have this DLL there. For example using this
>>>>>>> command:
>>>>>>>
>>>>>>> copy %SYSTEMROOT%\system32\msvcr71.dll
>>>>>>>
>>>>>>>
>>>>>>> By the way, the link doesn't work for me in any of the browsers
I
>>>>> have.
>>>>>> Yes, you're right - no longer for me neither.  I suspect site
> owner
>>> is
>>>>>> doing all they can to ensure google adwords presentation :)
>>>>>>
>>>>>> This works for me :
>>>>>>
>>>>>> http://www.dlldump.com/cgi-
>>>>>>
> bin/testwrap/downloadcounts.cgi?rt=count&path=dllfiles/M/MSVCR71.dll
>>>>> Actually as you can see, the link to the file will be
>>>>> http://www.dlldump.com/dllfiles/M/MSVCR71.dll. With this script
> they
>>>>> just count how many times a file was downloaded. Also this script
>>> will
>>>>> pass the correct referrer, the lack of which prevents direct link
>>> from
>>>>> working.
>>>> really?  I can quit firefox, and click on teh link above, and it
> works
>>>> fine.  Where does it get referrer info?
>>> Which of the links do you mean? The first one you provided works OK.
> The
>>> second one which is in build file doesn't. Pasting it both to Firefox
>>> and to IE redirects to their main page.
>>>
>>> And I'm quite sure you can't use the first link to download the file
> in
>>> Ant.
>>>
>>>>> I believe there are other sites where we can pick this DLL, if
>>> required.
>>>> Right now, if the above link really doesn't work for you, we're
> broken.
>>>>  We need a solution
>>> I've copied the DLL from %SYSTEMROOT%\system32\msvcr71.dll and quite
>>> happy with it.
>>> That's why I recommend to try to copy it from that location first
>>> instead of blind downloads. Since MSVC is a requirement to build
>>> Harmony, anyone will have it there. Am I wrong?
>>>
>>>
>>> At the moment, I get the following output when msvcr71.dll is not in
>>> depends:
>>> -really-download:
>>>      [echo] Fetching depends/libs/windows.x86/msvcr71.dll
>>>       [get] Getting: http://www.dlldump.com/dllfiles/M/MSVCR71.dll
>>>       [get] To: C:\*\Harmony\depends\libs\windows.x86\msvcr71.dll
>>>       [get] Error opening connection java.io.IOException: Server
>>> returned HTTP response code: 403 for URL:
>>> http://www.dlldump.com/dllfiles/M
>>> /MSVCR71.dll
>>>       [get] Error opening connection java.io.IOException: Server
>>> returned HTTP response code: 403 for URL:
>>> http://www.dlldump.com/dllfiles/M
>>> /MSVCR71.dll
>>>       [get] Error opening connection java.io.IOException: Server
>>> returned HTTP response code: 403 for URL:
>>> http://www.dlldump.com/dllfiles/M
>>> /MSVCR71.dll
>>>       [get] Can't get http://www.dlldump.com/dllfiles/M/MSVCR71.dll
> to
>>> C:\*\Harmony\depends\libs\windows.x86\msvcr71.dll
>>>
>>> BUILD FAILED
>>> C:\*\Harmony\build.xml:280: The following error occurred while
> executing
>>> this line:
>>> C:\*\Harmony\make\depends.xml:276: The following error occurred while
>>> executing this line:
>>> C:\*\Harmony\make\depends.xml:292: The following error occurred while
>>> executing this line:
>>> C:\*\Harmony\make\depends.xml:318: Can't get
>>> http://www.dlldump.com/dllfiles/M/MSVCR71.dll to
>>> C:\*\Harmony\depends\libs\windows.x86\ms
>>> vcr71.dll
>>>
>>>
>>> Regards,
>>> Alexey.
>>>
>>>
>>>> geir
>>>>
>>>>> Regards,
>>>>> Alexey.
>>>>>
>>>>>> geir
>>>>>>
>>>>>>> Regards,
>>>>>>> --
>>>>>>> Alexey A. Ivanov
>>>>>>> Intel Enterprise Solutions Software Division
>>>>>>>
>>>>>>>
>>>>>>>> -----Original Message-----
>>>>>>>> From: Geir Magnusson Jr. [mailto:geir@pobox.com]
>>>>>>>> Sent: Tuesday, November 28, 2006 7:02 AM
>>>>>>>> To: dev@harmony.apache.org
>>>>>>>> Subject: Re: [classlib] build broken on windows because
>>> msvcr71.dll
>>>>> is
>>>>>>>> forbidden
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Stefano Mazzocchi wrote:
>>>>>>>>> I'm trying to build classlib on a win32 box and when
I try to
> do
>>>>> "ant
>>>>>>>>> fetch-depends" I get:
>>>>>>>>>
>>>>>>>>>  http://www.dlldump.com/dllfiles/M/MSVCR71.dll
>>>>>>>>>
>>>>>>>>> is 403-Forbidden.
>>>>>>>>>
>>>>>>>>> Why aren't our builds picking this up?
>>>>>>>> because they don't dump everything.  Most builds have it.
>>>>>>>>
>>>>>>>> If you go to that URL with a browser, it will work.  Then
you
> can
>>>>> copy
>>>>>>> it.
>>>>>>>> I'm wondering if they started blocking whatever user agent
is
>>>>> presented
>>>>>>>> by ant...
>>>>>>>>
>>>>>>>> geir
>>>>>>>>
>>>>> --
>>>>> Alexey A. Ivanov
>>>>> Intel Enterprise Solutions Software Division
>>> --
>>> Alexey A. Ivanov
>>> Intel Enterprise Solutions Software Division
> 
> --
> Alexey A. Ivanov
> Intel Enterprise Solutions Software Division

Mime
View raw message