[webkit-help] WebKit Build fails on Win 7

Jeremy Ralegh jeremy.ralegh at gmx.ch
Tue Feb 12 03:34:35 PST 2013


Hello together,

I've problems building WebKit on my Window 7 (32bit) machine. An old post in
this list (http://article.gmane.org/gmane.os.opendarwin.webkit.user/2926)
discussed the matter, but wasn't completed.

Here's what I've tried so far:

I followed the instructions under http://www.webkit.org/building/tools.html and
installed all the stuff mentioned there. Then I grabbed the code in cygwin via
"svn checkout https://svn.webkit.org/repository/webkit/trunk WebKit", installed
the WebKit Support Libryries and ran "update-webkit".

When I first tried "build-webkit --debug" in cygwin I received the error:

***************************
WebKitSupportLibrary is up-to-date.
Building results into: /home/JR/WebKit/WebKitBuild
WEBKITOUTPUTDIR is set to: C:\cygwin\home\JR\WebKit\WebKitBuild
WEBKITLIBRARIESDIR is set to: C:\cygwin\home\JR\WebKit\WebKitLibraries\win
/cygdrive/c/Program Files/Microsoft Visual Studio 8/Common7/IDE/VCExpress.exe wi
                                                             
n\WebKit.vcproj\WebKit.sln /build Debug
Traceback (most recent call last):
  File "Tools/Scripts/print-vse-failure-logs", line 113, in <module>
    PrintVisualStudioExpressLogs().main()
  File "Tools/Scripts/print-vse-failure-logs", line 102, in main
    build_log_paths = self._sort_buildlogs(self._find_buildlogs(self._obj_direct
                                                              ory()))
  File "Tools/Scripts/print-vse-failure-logs", line 67, in _sort_buildlogs
    build_order = self._build_order()
  File "Tools/Scripts/print-vse-failure-logs", line 60, in _build_order
    sln_path = os.path.join(scm.find_checkout_root(), "WebKit", "win", "WebKit.v
                                                              cproj", "WebKit.sln")
AttributeError: 'module' object has no attribute 'find_checkout_root'


===== BUILD FAILED ======

Please ensure you have run Tools/Scripts/update-webkit to install dependencies.

You can view build errors by checking the BuildLog.htm files located at:
/home/JR/WebKit/WebKitBuild/obj/<project>/<config>.
**************************

In another forum I found the hint to change scm.find_checkout_root() in
C:\cygwin\home\JR\WebKit\Tools\Scripts\print-vse-failure-logs manually to a
fixed path. So I changed it to "C:\cygwin\home\JR\WebKit\Source"

What I get now is the following error:

******************************
$ build-webkit --debug
WebKitSupportLibrary is up-to-date.
Building results into: /home/JR/WebKit/WebKitBuild
WEBKITOUTPUTDIR is set to: C:\cygwin\home\JR\WebKit\WebKitBuild
WEBKITLIBRARIESDIR is set to: C:\cygwin\home\JR\WebKit\WebKitLibraries\win
/cygdrive/c/Program Files/Microsoft Visual Studio 8/Common7/IDE/VCExpress.exe
win\WebKit.vcproj\WebKit.sln /build Debug
Found 0 Visual Studio Express Build Logs:



===== BUILD FAILED ======

Please ensure you have run Tools/Scripts/update-webkit to install dependencies.

You can view build errors by checking the BuildLog.htm files located at:
/home/JR/WebKit/WebKitBuild/obj/<project>/<config>.
******************************

I understand that you will probably need info from some BuildLog.htm in
WebKit\WebKitBuild\Debug\obj to help, but there are many of them and I don't
know which one you need.

If anyone knows what to do, I but be very grateful. Really any kind of help is
appreciated.

Jeremy



More information about the webkit-help mailing list