[webkit-help] Webkit Build Error

Aman Gupta aman2304 at gmail.com
Wed Feb 22 00:16:34 PST 2012


Thanks Adam. I switched to the version of Windows SDK mentioned on the
WebKit website. I am using Visual C++ Express Edition, not Visual Studio.

After the change, the "build-webkit" script started running. After running
for about an hour, it failed with the following error message:

*WebKitSupportLibrary is up-to-date.*

*Building results into: /home/amang/webkit/WebKitBuild*

*WEBKITOUTPUTDIR is set to: C:\cygwin\home\amang\webkit\WebKitBuild*

*WEBKITLIBRARIESDIR is set to:
C:\cygwin\home\amang\webkit\WebKitLibraries\win*

*/cygdrive/c/Program Files (x86)/Microsoft Visual Studio
8/Common7/IDE/VCExpress.exe win\WebKit.vcproj\WebKit.sln /build Release*

*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_directory()))*

*  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.vcproj", "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/amang/webkit/WebKitBuild/obj/<project>/<config>.*



Can you help me out again, please?



Thanks

Aman Gupta

On Tue, Feb 21, 2012 at 8:17 PM, Adam Roben <aroben at apple.com> wrote:

> On Feb 21, 2012, at 8:11 AM, Aman Gupta wrote:
>
> Thanks again Adam. I have successfully updated WebKit. While building
> WebKit (running "build-webkit" script), I encountered the following error:
>
>
> *$ perl build-webkit*
> *
> *
> *Installing WebKitSupportLibrary...*
> *The WebKitSupportLibrary has been sucessfully installed in*
> * /home/amang/webkit/WebKitLibraries/win*
> *Building results into: /home/amang/webkit/WebKitBuild*
> *WEBKITOUTPUTDIR is set to: C:\cygwin\home\amang\webkit\WebKitBuild*
> *WEBKITLIBRARIESDIR is set to:
> C:\cygwin\home\amang\webkit\WebKitLibraries\win*
> ***************************************************************
> *Cannot find registry entry
> 'HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/MicrosoftSDK/InstalledSDKs/D2FF9F89-8AA2-4373-8A31-C838BF4DBBE
>                                1'.*
> *Please download and install the Microsoft Windows Server 2003 R2*
> *Platform SDK from <http://www.microsoft.com/downloads/details.aspx?*
> *familyid=0baf2b35-c656-4969-ace8-e4c0c0716adb&displaylang=en>.*
> *
> *
> *Then follow step 2 in the Windows section of the "Installing Developer*
> *Tools" instructions at <http://www.webkit.org/building/tools.html>.*
> ***************************************************************
> *Died at /home/amang/webkit/Tools/Scripts/webkitdirs.pm line 1576.*
>
>
> I am working on a computer with Windows 7 64 bit version installed. I have
> also installed the Platform SDK, albeit a different version. I read
> somewhere that WebKit has problems recognising Platform SDK on Win64
> systems. Can you please help me out with this?
>
>
> Our scripts and build process only know how to work with that specific
> version of the SDK. You should install that version if possible. Does that
> version of the SDK not work on 64-bit Windows 7?
>
> Also, the SDK is only required if you are building with Visual C++ Express
> (as opposed to Visual Studio). If you are using Visual Studio and the
> script is telling you to install the SDK, that's a bug.
>
> -Adam
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-help/attachments/20120222/1502aa76/attachment-0001.html>


More information about the webkit-help mailing list