# [webkit-help] Error running update-webkit script

Vienneau, Christopher cvienneau at ea.com
Fri Aug 21 11:00:03 PDT 2015

Alex I have worked around the problem as you have suggested:

·         Setup Dependencies

o   Webkit.org tells us to download  WebKit Support Libraries<http://developer.apple.com/opensource/internet/webkit_sptlib_agree.html>, and run the scripts ./Tools/Scripts/update-webkit and ./update-webkit –wincairo both scripts claimed I’m not connected to the internet, instead follow the below steps.

§  View ./Tools/Scripts/update-webkit-auxiliary-libs, from there see that url it downloads https://developer.apple.com/opensource/internet/WebKitAuxiliaryLibrary.zip, uncompress it to C:\cygwin\home\cvienneau\WebKit-r188436\WebKitLibraries\win

§  View ./Tools/Scripts/ update-webkit-wincairo-libs, from there see that url it downloads https://dl.dropboxusercontent.com/u/100779108/WinCairoRequirements.zip, uncompress it to C:\cygwin\home\cvienneau\WebKit-r188436\WebKitLibraries\win

Thanks

Chris

From: Alex Christensen [mailto:achristensen at apple.com]
Sent: Wednesday, August 19, 2015 9:55 AM
To: Vienneau, Christopher <cvienneau at ea.com>
Cc: webkit-help at lists.webkit.org
Subject: Re: [webkit-help] Error running update-webkit script

The AppleWin port needs WebKitAuxiliaryLibrary.zip, but the WinCairo port needs WinCairoRequirements.zip.  For WinCairo, you should run Tools/Scripts/update-webkit --wincairo which should run Tools/Scripts/update-webkit-wincairo-libs.  Or you could piece together the barely-obfuscated URL in update-webkit-wincairo-libs to download WinCairoRequirements.zip manually and put its contents in WebKitLibraries/win.  I’m not sure what is causing the script to think it is not connected to the internet.
On Aug 18, 2015, at 2:22 PM, Vienneau, Christopher <cvienneau at ea.com<mailto:cvienneau at ea.com>> wrote:

Hello,

I’m trying to setup a new instance of WinCairo with latest on my windows machine (I did it before successfully about 6 months ago).

I’m following the steps outlined on  http://www.webkit.org/building/checkout.html, for windows.  I’ve successfully done steps 1-3,  (run Cygwin, download nightly snapshot, download “WebKit Support Libraries),  the problem comes in at step 4:  “Run the ./Tools/Scripts/update-webkit script<http://www.webkit.org/coding/scripts.html> to update your source tree.  If you downloaded the tarball, this will bring it up to date. Windows users must always execute this command after first obtaining the code, since it will download additional libraries that are needed to build.”

It produces the error:
\$ ./update-webkit
Updating OpenSource
Checking Last-Modified date of WebKitAuxiliaryLibrary.zip...
Could not access https://developer.apple.com/opensource/internet/WebKitAuxiliaryLibrary.zip:
Content-Type: text/plain
Client-Date: Tue, 18 Aug 2015 21:12:46 GMT
Client-Warning: Internal response

You may not be connected to the internet. Attempting to build without updating.
*************************************************************
Mathematical fonts, such as STIX and MathJax, are needed to
use the MathML feature.  You do not appear to have these fonts

You can download a suitable set of fonts from the following URL:
https://developer.mozilla.org/Mozilla/MathML_Projects/Fonts
*************************************************************
Installed tools are correct for the WebKit build.
Setting the Environment Variable 'MSBUILDDISABLENODEREUSE' to '1'

SUCCESS: Specified value was saved.

-If I copy the url from the command and paste it in my browser the file does download successfully.
-A colleague of mine attempted the same steps and got the same issue.
-Other similar scripts like ./update-webkit-wincairo-libs behaves in a similar way.

What are the reasons the scripts might detect me as “may not be connected to the internet”?

Thanks

Chris
_______________________________________________
webkit-help mailing list
webkit-help at lists.webkit.org<mailto:webkit-help at lists.webkit.org>
https://lists.webkit.org/mailman/listinfo/webkit-help

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-help/attachments/20150821/de48f013/attachment-0001.html>