[webkit-dev] Error while building webkit on windows

Baskar CV baskar.cv at hotmail.com
Wed Mar 5 01:52:03 PST 2014




Hi,
Thanks for the reply. 
No i got both the errors rectified. It was due to some mistakes in the environmental variable
I have built webkit on C:\WebKit
And set
WEBKIT_LIBRARIES="C:\WebKit\WebKitLibraries\win"
WEBKIT_OUTPUTDIR="C:\WebKitOut"
I am building within visual studio 2013 and i configured it using Debug/Win32
And I'm building it on AppleWin port
But now i got both WTF generated and JavaScriptCoreGenerated built successfully, then when i try to built WebCoreGenerated, the built halts. It neither fails nor get sucess
The built runs for some time and halts near the below o/p

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

I tried for two to three times it exactly halts here. Can someone help me resolve it.
Thanks in advance
Baskar CV
Date: Tue, 4 Mar 2014 13:07:58 -0700
Subject: Re: [webkit-dev] Error while building webkit on windows
From: alex.christensen at flexsim.com
To: baskar.cv at hotmail.com
CC: webkit-dev at lists.webkit.org

I've only built WebKit on Windows from C:\cygwin\webkit.  It looks like you are not using a subdirectory of cygwin.  Did you follow the instructions on http://www.webkit.org/building/tools.html correctly?  Are the WEBKIT_LIBRARIES and WEBKIT_OUTPUTDIR environment variables set correctly?

Were you building from within Visual Studio or from the command line build-webkit script?  Which configuration were you using (Debug, Debug_WinCairo, Release, Release_WinCairo, Production)?  Were you building the WinCairo or the AppleWin port?

Alex Christensen

On Tue, Mar 4, 2014 at 3:26 AM, Baskar CV <baskar.cv at hotmail.com> wrote:




When i was trying to built WebKit on windows 7 using visual studio 2013
and building JavaScriptCoreGenerated. I got this following 3 error messages

Error    2    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 WTFGenerated.make" exited with code 2.    C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets    38    5    WTFGenerated


Error    3    error MSB3073: The command "REM Do not edit from the Visual Studio IDE! Customize via a WTFPreBuild.cmd file.
if not exist "C:\WebKit\Source\WTF\WTF.vcxproj\WTFPreBuild.cmd" exit /b


set CONFIGURATIONBUILDDIR=C:\webkitop\Debug
set CONFIGURATIONNAME=Debug
set INPUTDIR=
set INPUTFILENAME=
set INPUTPATH=
set INTDIR=C:\webkitop\Debug\obj32\WTF\
set OUTDIR=C:\webkitop\Debug\bin32\

set PLATFORMARCHITECTURE=32
set PLATFORMNAME=Win32
set PROJECTDIR=C:\WebKit\Source\WTF\WTF.vcxproj\
set PROJECTFILENAME=WTF.vcxproj
set PROJECTNAME=WTF
set PROJECTPATH=C:\WebKit\Source\WTF\WTF.vcxproj\WTF.vcxproj

set SOLUTIONDIR=C:\WebKit\Source\WebKit\WebKit.vcxproj\
set SOLUTIONFILENAME=WebKit.sln
set SOLUTIONNAME=WebKit
set SOLUTIONPATH=C:\WebKit\Source\WebKit\WebKit.vcxproj\WebKit.sln
set TARGETDIR=C:\webkitop\Debug\bin32\

set TARGETEXT=.dll
set TARGETFILENAME=WTF.dll
set TARGETPATH=C:\webkitop\Debug\bin32\WTF.dll
set DEBUGSUFFIX=

REM If any of the above variables didn't exist previously and
REM were set to an empty string, set will set the errorlevel to 1,

REM which will cause the project-specific script to think the build
REM has failed. This cmd /c call will clear the errorlevel.
cmd /c

"C:\WebKit\Source\WTF\WTF.vcxproj\WTFPreBuild.cmd"

:VCEnd" exited with code 1.    C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets    122    5    WTF


Error    1    error U1077: 'C:\cygwin\bin\bash.EXE' : return code '0x1'    C:\WebKit\Source\WTF\WTF.vcxproj\NMAKE    WTFGenerated

Can someone help me resolve it.
Thanks in advance

Baskar CV
 		 	   		  

_______________________________________________

webkit-dev mailing list

webkit-dev at lists.webkit.org

https://lists.webkit.org/mailman/listinfo/webkit-dev




-- 
 
Alex Christensen
FlexSim Software Products, Inc.
1577 North Technology Way | Building A | Suite 2300 | Orem, Utah 84097

Voice: 801-224-6914 | Fax: 801-224-6984
Email: alexc at flexsim.com

URL: www.flexsim.com

 
---------------------------------------------------------------------------------------- 
This message may contain confidential information, and is intended

only for the use of the individual(s) to whom it is addressed. 
----------------------------------------------------------------------------------------



 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-dev/attachments/20140305/a236e33b/attachment.html>


More information about the webkit-dev mailing list