Do you happen to have ActiveState Perl installed and in your PATH? The build 
will fail if non-Cygwin Perl is used.

-Brent

Sent from my iPad

> On Mar 7, 2014, at 8:20 AM, Megan Thomas <m.thomas121...@gmail.com> wrote:
> 
> I'm attempting to build WebKit (r165172) in VS2013 Express on a Windows 7 
> Professional x64 machine, and am getting the following error:
> 
> if exist "%ConfigurationBuildDir%\buildfailed" grep XXWebCoreGeneratedXX 
> "%ConfigurationBuildDir%\buildfailed"
> 15>   if errorlevel 1 exit 1
> 15>   echo XXWebCoreGeneratedXX > "%ConfigurationBuildDir%\buildfailed"
> 15>   bash build-generated-files.sh "%ConfigurationBuildDir%" 
> "%WebKit_Libraries%" windows "%PlatformArchitecture%"
> 15>  perl -I /home/MEGAN~1.THO/WEBKIT~1/Source/WebCore/bindings/scripts 
> /home/MEGAN~1.THO/WEBKIT~1/Source/WebCore/css/makegrammar.pl --extraDefines " 
>    ENABLE_3D_RENDERING    ENABLE_CHANNEL_MESSAGING    
> ENABLE_CSS_BOX_DECORATION_BREAK    ENABLE_CSS_FILTERS    ENABLE_CSS_IMAGE_SET 
>    ENABLE_CSS_REGIONS    ENABLE_CSS_SHAPES    ENABLE_CSS_SHAPE_INSIDE    
> ENABLE_CSS_STICKY_POSITION    
> ENABLE_CSS_TRANSFORMS_ANIMATIONS_TRANSITIONS_UNPREFIXED    
> ENABLE_DETAILS_ELEMENT    ENABLE_FILTERS    ENABLE_FULLSCREEN_API    
> ENABLE_GEOLOCATION    ENABLE_HIGH_DPI_CANVAS    ENABLE_ICONDATABASE    
> ENABLE_LEGACY_CSS_VENDOR_PREFIXES    ENABLE_MATHML    
> ENABLE_MEDIA_CONTROLS_SCRIPT    ENABLE_MEDIA_STATISTICS    
> ENABLE_METER_ELEMENT    ENABLE_PAGE_VISIBILITY_API    ENABLE_PROMISES    
> ENABLE_REQUEST_ANIMATION_FRAME    ENABLE_SHARED_WORKERS    
> ENABLE_SQL_DATABASE    ENABLE_SUBPIXEL_LAYOUT    ENABLE_SVG    
> ENABLE_SVG_FONTS    ENABLE_TEMPLATE_ELEMENT    ENABLE_VIDEO    
> ENABLE_VIDEO_TRACK    ENABLE_VIEW_MODE_CSS_MEDIA    ENABLE_WEB_SOCKETS    
> ENABLE_XHR_TIMEOUT    ENABLE_XSLT" --outputDir . --bison "bison" 
> --symbolsPrefix cssyy 
> /home/MEGAN~1.THO/WEBKIT~1/Source/WebCore/css/CSSGrammar.y.in
> 15>  Died at /home/MEGAN~1.THO/WEBKIT~1/Source/WebCore/css/makegrammar.pl 
> line 85.
> 15>  make: *** [CSSGrammar.cpp] Error 2
> 15>  /home/MEGAN~1.THO/WEBKIT~1/Source/WebCore/DerivedSources.make:842: 
> recipe for target 'CSSGrammar.cpp' failed
> 15>NMAKE : fatal error U1077: 'bash' : return code '0x1'
> 
> I'm also getting the following error in several different projects:
> 
> 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
> 15>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%
> 15>C:\Program Files 
> (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets(38,5): error 
> MSB3073: set PLATFORMARCHITECTURE=32
> 15>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.
> 16>------ Build started: Project: WebCore, Configuration: Debug Win32 ------
> 16>  /usr/bin/bash
> 16>C:\Program Files 
> (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): 
> error MSB3073: The command "REM Do not edit from the Visual Studio IDE! 
> Customize via a WebCorePreBuild.cmd file.
> 16>C:\Program Files 
> (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): 
> error MSB3073: if not exist 
> "C:\cygwin\home\megan.thomas\WebKit-r165172\Source\WebCore\WebCore.vcxproj\WebCorePreBuild.cmd"
>  exit /b
> 16>C:\Program Files 
> (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): 
> error MSB3073: 
> 16>C:\Program Files 
> (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): 
> error MSB3073: set 
> CONFIGURATIONBUILDDIR=C:\cygwin\home\megan.thomas\WebKit-r165172\WebKitBuild\Debug
> 16>C:\Program Files 
> (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): 
> error MSB3073: set CONFIGURATIONNAME=Debug
> 16>C:\Program Files 
> (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): 
> error MSB3073: set INPUTDIR=
> 16>C:\Program Files 
> (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): 
> error MSB3073: set INPUTFILENAME=
> 16>C:\Program Files 
> (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): 
> error MSB3073: set INPUTPATH=
> 16>C:\Program Files 
> (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): 
> error MSB3073: set 
> INTDIR=C:\cygwin\home\megan.thomas\WebKit-r165172\WebKitBuild\Debug\obj32\WebCore\
> 16>C:\Program Files 
> (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): 
> error MSB3073: set 
> OUTDIR=C:\cygwin\home\megan.thomas\WebKit-r165172\WebKitBuild\Debug\lib32\
> 16>C:\Program Files 
> (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): 
> error MSB3073: set PLATFORMARCHITECTURE=32
> 16>C:\Program Files 
> (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): 
> error MSB3073: set PLATFORMNAME=Win32
> 16>C:\Program Files 
> (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): 
> error MSB3073: set 
> PROJECTDIR=C:\cygwin\home\megan.thomas\WebKit-r165172\Source\WebCore\WebCore.vcxproj\
> 16>C:\Program Files 
> (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): 
> error MSB3073: set PROJECTFILENAME=WebCore.vcxproj
> 16>C:\Program Files 
> (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): 
> error MSB3073: set PROJECTNAME=WebCore
> 16>C:\Program Files 
> (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): 
> error MSB3073: set 
> PROJECTPATH=C:\cygwin\home\megan.thomas\WebKit-r165172\Source\WebCore\WebCore.vcxproj\WebCore.vcxproj
> 16>C:\Program Files 
> (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): 
> error MSB3073: set 
> SOLUTIONDIR=C:\cygwin\home\megan.thomas\WebKit-r165172\Source\WebKit\WebKit.vcxproj\
> 16>C:\Program Files 
> (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): 
> error MSB3073: set SOLUTIONFILENAME=WebKit.sln
> 16>C:\Program Files 
> (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): 
> error MSB3073: set SOLUTIONNAME=WebKit
> 16>C:\Program Files 
> (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): 
> error MSB3073: set 
> SOLUTIONPATH=C:\cygwin\home\megan.thomas\WebKit-r165172\Source\WebKit\WebKit.vcxproj\WebKit.sln
> 16>C:\Program Files 
> (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): 
> error MSB3073: set 
> TARGETDIR=C:\cygwin\home\megan.thomas\WebKit-r165172\WebKitBuild\Debug\lib32\
> 16>C:\Program Files 
> (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): 
> error MSB3073: set TARGETEXT=.lib
> 16>C:\Program Files 
> (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): 
> error MSB3073: set TARGETFILENAME=WebCore.lib
> 16>C:\Program Files 
> (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): 
> error MSB3073: set 
> TARGETPATH=C:\cygwin\home\megan.thomas\WebKit-r165172\WebKitBuild\Debug\lib32\WebCore.lib
> 16>C:\Program Files 
> (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): 
> error MSB3073: set DEBUGSUFFIX=
> 16>C:\Program Files 
> (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): 
> error MSB3073: 
> 16>C:\Program Files 
> (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): 
> error MSB3073: REM If any of the above variables didn't exist previously and
> 16>C:\Program Files 
> (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): 
> error MSB3073: REM were set to an empty string, set will set the errorlevel 
> to 1,
> 16>C:\Program Files 
> (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): 
> error MSB3073: REM which will cause the project-specific script to think the 
> build
> 16>C:\Program Files 
> (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): 
> error MSB3073: REM has failed. This cmd /c call will clear the errorlevel.
> 16>C:\Program Files 
> (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): 
> error MSB3073: cmd /c
> 16>C:\Program Files 
> (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): 
> error MSB3073: 
> 16>C:\Program Files 
> (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): 
> error MSB3073: 
> "C:\cygwin\home\megan.thomas\WebKit-r165172\Source\WebCore\WebCore.vcxproj\WebCorePreBuild.cmd"
> 16>C:\Program Files 
> (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): 
> error MSB3073: 
> 16>C:\Program Files 
> (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): 
> error MSB3073: :VCEnd" exited with code 1.
> 
> Does anyone have any idea what could be causing these errors? Googling hasn't 
> turned up anything useful and I'm struggling to know how to proceed from here.
> 
> Thanks. 
> _______________________________________________
> webkit-help mailing list
> webkit-help@lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-help
_______________________________________________
webkit-help mailing list
webkit-help@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-help

Reply via email to