[webkit-dev] Error while building webkit on windows

Baskar CV baskar.cv at hotmail.com
Mon Mar 10 04:43:08 PDT 2014


I still couldnt built wekit on windows. I end up here now,

------ Build started: Project: testapi, Configuration: Debug Win32 ------
10>  /usr/bin/which: no bash in (/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 12.0/VC/bin:/cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.1A/bin:/cygdrive/c/Program Files (x86)/Windows Kits/8.1/bin/x86:/cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v8.1A/bin/NETFX 4.5.1 Tools:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 12.0/Common7/Tools/bin:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 12.0/Common7/tools:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 12.0/Common7/ide:/cygdrive/c/Program Files (x86)/HTML Help Workshop:/cygdrive/c/Program Files (x86)/MSBuild/12.0/bin:/cygdrive/c/Windows/Microsoft.NET/Framework/v4.0.30319:/cygdrive/c/Windows/SysWow64:/cygdrive/c/Ruby193/bin:/cygdrive/c/Program Files/Common Files/Microsoft Shared/Windows Live:/cygdrive/c/Program Files (x86)/Common Files/Microsoft Shared/Windows Live:/cygdrive/c/Program Files (x86)/Intel/iCLS Client:/cygdrive/c/Program Files/Intel/iCLS Client:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0:/cygdrive/c/Program Files/Intel/Intel(R) Management Engine Components/DAL:/cygdrive/c/Program Files/Intel/Intel(R) Management Engine Components/IPT:/cygdrive/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/DAL:/cygdrive/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/IPT:/cygdrive/c/Program Files (x86)/Intel/OpenCL SDK/3.0/bin/x86:/cygdrive/c/Program Files (x86)/Intel/OpenCL SDK/3.0/bin/x64:/cygdrive/c/Program Files/Intel/WiFi/bin:/cygdrive/c/Program Files/Common Files/Intel/WirelessCommon:/cygdrive/c/Program Files (x86)/Windows Live/Shared:/cygdrive/c/Program Files (x86)/QuickTime/QTSystem:/cygdrive/c/Program Files/Microsoft SQL Server/110/Tools/Binn:/cygdrive/c/Program Files (x86)/Windows Kits/8.1/Windows Performance Toolkit)
10>  testapi.c
10>LINK : fatal error LNK1104: cannot open file 'C:\cygwin\home\baskar.c\WebKit\WebKitBuild\Debug\bin32\testapi.exe'
11>------ Build started: Project: WebCoreGenerated, Configuration: Debug Win32 ------
11>  /usr/bin/which: no bash in (/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 12.0/VC/bin:/cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v7.1A/bin:/cygdrive/c/Program Files (x86)/Windows Kits/8.1/bin/x86:/cygdrive/c/Program Files (x86)/Microsoft SDKs/Windows/v8.1A/bin/NETFX 4.5.1 Tools:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 12.0/Common7/Tools/bin:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 12.0/Common7/tools:/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 12.0/Common7/ide:/cygdrive/c/Program Files (x86)/HTML Help Workshop:/cygdrive/c/Program Files (x86)/MSBuild/12.0/bin:/cygdrive/c/Windows/Microsoft.NET/Framework/v4.0.30319:/cygdrive/c/Windows/SysWow64:/cygdrive/c/Ruby193/bin:/cygdrive/c/Program Files/Common Files/Microsoft Shared/Windows Live:/cygdrive/c/Program Files (x86)/Common Files/Microsoft Shared/Windows Live:/cygdrive/c/Program Files (x86)/Intel/iCLS Client:/cygdrive/c/Program Files/Intel/iCLS Client:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0:/cygdrive/c/Program Files/Intel/Intel(R) Management Engine Components/DAL:/cygdrive/c/Program Files/Intel/Intel(R) Management Engine Components/IPT:/cygdrive/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/DAL:/cygdrive/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/IPT:/cygdrive/c/Program Files (x86)/Intel/OpenCL SDK/3.0/bin/x86:/cygdrive/c/Program Files (x86)/Intel/OpenCL SDK/3.0/bin/x64:/cygdrive/c/Program Files/Intel/WiFi/bin:/cygdrive/c/Program Files/Common Files/Intel/WirelessCommon:/cygdrive/c/Program Files (x86)/Windows Live/Shared:/cygdrive/c/Program Files (x86)/QuickTime/QTSystem:/cygdrive/c/Program Files/Microsoft SQL Server/110/Tools/Binn:/cygdrive/c/Program Files (x86)/Windows Kits/8.1/Windows Performance Toolkit)
11>      if exist "%ConfigurationBuildDir%\buildfailed" grep XXWebCoreGeneratedXX "%ConfigurationBuildDir%\buildfailed"
11>EXEC : cygwin warning : 
11>    MS-DOS style path detected: C:\cygwin\home\baskar.c\WebKit\WebKitBuild\Debug\buildfailed
11>    Preferred POSIX equivalent is: /home/baskar.c/WebKit/WebKitBuild/Debug/buildfailed
11>    CYGWIN environment variable option "nodosfilewarning" turns off this warning.
11>    Consult the user's guide for more details about POSIX paths:
11>      http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
11>NMAKE : fatal error U1077: 'if' : return code '0x1'
11>  Stop.
11>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets(38,5): error MSB3073: The command "%SystemDrive%\cygwin\bin\which.exe bash
11>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets(38,5): error MSB3073: if errorlevel 1 set PATH=%SystemDrive%\cygwin\bin;%PATH%
11>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets(38,5): error MSB3073: set PLATFORMARCHITECTURE=32
11>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets(38,5): error MSB3073: nmake /nologo -f WebCoreGenerated.make" exited with code 2.
========== Build: 9 succeeded, 2 failed, 0 up-to-date, 0 skipped ==========
It just shows the following error,
Error    8    error U1077: 'if' : return code '0x1'    C:\cygwin\home\baskar.c\WebKit\Source\WebCore\WebCore.vcxproj\NMAKE    WebCoreGenerated

Error    9    error MSB3073: The command "%SystemDrive%\cygwin\bin\which.exe bash
if errorlevel 1 set PATH=%SystemDrive%\cygwin\bin;%PATH%
set PLATFORMARCHITECTURE=32
nmake /nologo -f WebCoreGenerated.make" exited with code 2.    C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets    38    5    WebCoreGenerated

Error    6    error LNK1104: cannot open file 'C:\cygwin\home\baskar.c\WebKit\WebKitBuild\Debug\bin32\testapi.exe'    C:\cygwin\home\baskar.c\WebKit\Source\JavaScriptCore\JavaScriptCore.vcxproj\testapi\LINK    testapi

I got struck for weeks, googling doesnt turned up good. Can someone please help me out of it.
Thanks in advance

Subject: Re: [webkit-dev] Error while building webkit on windows
From: fpizlo at apple.com
Date: Wed, 5 Mar 2014 22:32:36 -0800
CC: bfulgham at apple.com; webkit-dev at lists.webkit.org
To: baskar.cv at hotmail.com


On Mar 5, 2014, at 10:05 PM, Baskar CV <baskar.cv at hotmail.com> wrote:Hi Brent,
Thanks for the reply.
I just checked with the CSSGrammar.y it seems to be fine for for me.
I checked with cygwin too and found grep, flex, and bison installed

... yes, but do you have gperf?
-Filip

Can someone help me on this?


Thanks in advance
BaskarCV
Subject: Re: [webkit-dev] Error while building webkit on windows
From: bfulgham at apple.com
Date: Wed, 5 Mar 2014 14:21:38 -0800
CC: alex.christensen at flexsim.com; gur.trio at gmail.com; webkit-dev at lists.webkit.org
To: baskar.cv at hotmail.com

Hi,
The problem is with the processing of the CSSGrammar.y file.
On Mar 5, 2014, at 1:52 AM, Baskar CV <baskar.cv at hotmail.com> wrote:10>  ./CSSGrammar.y:62.1: error: syntax error, unexpected end of file
10>  open3: exec of /usr/bin/gcc -E -P -x c++ -DENABLE_3D_RENDERING -DENABLE_CHANNEL_MESSAGING -DENABLE_CSS_BOX_DECORATION_BREAK -DENABLE_CSS_FILTERS -DENABLE_CSS_IMAGE_SET -DENABLE_CSS_REGIONS -DENABLE_CSS_SHAPES -DENABLE_CSS_SHAPE_INSIDE -DENABLE_CSS_STICKY_POSITION -DENABLE_CSS_TRANSFORMS_ANIMATIONS_TRANSITIONS_UNPREFIXED -DENABLE_DETAILS_ELEMENT -DENABLE_FILTERS -DENABLE_FULLSCREEN_API -DENABLE_GEOLOCATION -DENABLE_HIGH_DPI_CANVAS -DENABLE_ICONDATABASE -DENABLE_LEGACY_CSS_VENDOR_PREFIXES -DENABLE_MATHML -DENABLE_MEDIA_CONTROLS_SCRIPT -DENABLE_MEDIA_STATISTICS -DENABLE_METER_ELEMENT -DENABLE_PAGE_VISIBILITY_API -DENABLE_PROMISES -DENABLE_REQUEST_ANIMATION_FRAME -DENABLE_SHARED_WORKERS -DENABLE_SQL_DATABASE -DENABLE_SUBPIXEL_LAYOUT -DENABLE_SVG -DENABLE_SVG_FONTS -DENABLE_TEMPLATE_ELEMENT -DENABLE_VIDEO -DENABLE_VIDEO_TRACK -DENABLE_VIEW_MODE_CSS_MEDIA -DENABLE_WEB_SOCKETS -DENABLE_XHR_TIMEOUT -DENABLE_XSLT /webkit/Source/WebCore/css/CSSGrammar.y.in failed at /webkit/Source/WebCore/bindings/scripts/preprocessor.pm line 81
10>      ...propagated at /webkit/Source/WebCore/css/makegrammar.pl line 84.
10>  /webkit/Source/WebCore/DerivedSources.make:842: recipe for target 'CSSGrammar.cpp' failed
10>  make: *** [CSSGrammar.cpp] Error 2
10>  make: *** Waiting for unfinished jobs....
10>  CSSPropertyNames.gperf: No keywords in input file!
10>  calling gperf failed: 256 at /webkit/Source/WebCore/css/makeprop.pl line 306.
10>  /webkit/Source/WebCore/DerivedSources.make:785: recipe for target 'CSSPropertyNames.h' failed
10>  make: *** [CSSPropertyNames.h] Error 1
Things to check:
1. Is CSSGrammar.y complete? Make sure the checkout didn’t get messed up in some fashion.2. Do you have gperf, flex, and bison installed?  You need flex/bison to process the grammar file and turn it into the stub implementation.
10>  CSSPropertyNames.gperf: No keywords in input file!

This makes me think that you do NOT have gperf installed. Did you use our Cygwin installer package? Or are you using your own local install?
If you are using your own install from the Cygwin website, you should use the Setup.exe utility and make sure that flex, bison, and gperf are installed.
Thanks,
-Brent_______________________________________________
webkit-dev mailing list
webkit-dev at lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-dev/attachments/20140310/44e2fd0c/attachment.html>


More information about the webkit-dev mailing list