Hi! I want to build the WebKit source with Cygwin, I followed the steps from webkit.org and the Building on Windows guide and became some errors when I run the build command! Please tell me what is wrong! OS: Windows Server 2003 Visual Studio: VS2005 Team Edition Thanks, Werner Here is the output: Microsoft (R) Visual Studio Version 8.0.50727.762. Copyright (C) Microsoft Corp 1984-2005. All rights reserved. 1>------ Build started: Project: JavaScriptCoreGenerated, Configuration: Release Win32 ------ 1>Performing Makefile project actions 1> xcopy /y/d/e/i "..\..\..\WebKitLibraries\win\tools" "C:\Documents and Settings\werner\WebKit\WebKitLibraries\win\tools" 1>Cannot perform a cyclic copy 1>0 File(s) copied 1> touch "D:\WebKitOutput\buildfailed" 1> bash build-generated-files.sh "D:\WebKitOutput" "C:\Documents and Settings\werner\WebKit\WebKitLibraries\win" 1>/cygdrive/c/DOCUME~1/werner/WebKit/JAVASC~1/pcre/dftables chartables.c 1>bison -d -p kjsyy /cygdrive/c/DOCUME~1/werner/WebKit/JAVASC~1/kjs/grammar.y -o grammar.cpp > bison_out.txt 2>&1 1>Error in tempfile() using /cygdrive/c/WINDOWS/TEMP/dftables-XXXXXXXX.in: Parent directory (/cygdrive/c/WINDOWS/TEMP/) is not wri table 1> at /cygdrive/c/DOCUME~1/werner/WebKit/JAVASC~1/pcre/dftables line 245 1>make: *** [chartables.c] Error 255 1>make: *** Waiting for unfinished jobs.... 1>perl -p -e 'END { if ($conflict) { unlink "grammar.cpp"; die; } } $conflict ||= /conflict/' < bison_out.txt 1>touch grammar.cpp.h 1>touch grammar.hpp 1>cat grammar.cpp.h grammar.hpp > grammar.h 1>rm -f grammar.cpp.h grammar.hpp bison_out.txt 1>NMAKE : fatal error U1077: 'C:\cygwin\bin\bash.EXE' : return code '0x1' 1>Stop. 1>Project : error PRJ0019: A tool returned an error code from "Performing Makefile project actions" 1>Build log was saved at "file://D:\WebKitOutput\obj\JavaScriptCoreGenerated\Release\BuildLog.htm" 1>JavaScriptCoreGenerated - 2 error(s), 0 warning(s) 2>------ Build started: Project: JavaScriptCore, Configuration: Release Win32 ------ 2>Performing Pre-Build Event... 2>Project : error PRJ0002 : Error result 1 returned from 'c:\WINDOWS\system32\cmd.exe'. 2>Project : warning PRJ0018 : The following environment variables were not found: 2>$(PRODUCTION) 2>Build log was saved at "file://D:\WebKitOutput\obj\JavaScriptCore\Release\BuildLog.htm" 2>JavaScriptCore - 1 error(s), 0 warning(s) 3>------ Build started: Project: WebCoreGenerated, Configuration: Release Win32 ------ 3>Performing Makefile project actions 3>Project : error PRJ0002 : Error result 1 returned from 'c:\WINDOWS\system32\cmd.exe'. 3>Build log was saved at "file://D:\WebKitOutput\obj\WebCoreGenerated\Release\BuildLog.htm" 3>WebCoreGenerated - 1 error(s), 0 warning(s) 4>------ Build started: Project: QTMovieWin, Configuration: Release Win32 ------ 4>Performing Pre-Build Event... 4>Project : error PRJ0002 : Error result 1 returned from 'c:\WINDOWS\system32\cmd.exe'. 4>Project : warning PRJ0018 : The following environment variables were not found: 4>$(PRODUCTION) 4>Build log was saved at "file://D:\WebKitOutput\obj\QTMovieWin\Release\BuildLog.htm" 4>QTMovieWin - 1 error(s), 0 warning(s) 5>------ Build started: Project: WebCore, Configuration: Release Win32 ------ 5>Performing Pre-Build Event... 5>Project : error PRJ0002 : Error result 1 returned from 'c:\WINDOWS\system32\cmd.exe'. 5>Project : warning PRJ0018 : The following environment variables were not found: 5>$(PRODUCTION) 5>$(AnalyzeWithLargeStack) 5>Build log was saved at "file://D:\WebKitOutput\obj\WebCore\Release\BuildLog.htm" 5>WebCore - 1 error(s), 0 warning(s) 6>------ Build started: Project: InterfacesGenerated, Configuration: Release Win32 ------ 6>Performing Makefile project actions 6>Project : error PRJ0002 : Error result 1 returned from 'c:\WINDOWS\system32\cmd.exe'. 6>Build log was saved at "file://D:\WebKitOutput\obj\InterfacesGenerated\Release\BuildLog.htm" 6>InterfacesGenerated - 1 error(s), 0 warning(s) 7>------ Build started: Project: Interfaces, Configuration: Release Win32 ------ 7>Performing Pre-Build Event... 7>Project : error PRJ0002 : Error result 1 returned from 'c:\WINDOWS\system32\cmd.exe'. 7>Project : warning PRJ0018 : The following environment variables were not found: 7>$(PRODUCTION) 7>Build log was saved at "file://D:\WebKitOutput\obj\Interfaces\Release\BuildLog.htm" 7>Interfaces - 1 error(s), 0 warning(s) 8>------ Build started: Project: WebKitGUID, Configuration: Release Win32 ------ 8>Performing Pre-Build Event... 8>Project : error PRJ0002 : Error result 1 returned from 'c:\WINDOWS\system32\cmd.exe'. 8>Project : warning PRJ0018 : The following environment variables were not found: 8>$(PRODUCTION) 8>Build log was saved at "file://D:\WebKitOutput\obj\WebKitGUID\Release\BuildLog.htm" 8>WebKitGUID - 1 error(s), 0 warning(s) 9>------ Build started: Project: WebKit, Configuration: Release Win32 ------ 9>Performing Pre-Build Event... 9>Project : error PRJ0002 : Error result 1 returned from 'c:\WINDOWS\system32\cmd.exe'. 9>Project : warning PRJ0018 : The following environment variables were not found: 9>$(PRODUCTION) 9>Build log was saved at "file://D:\WebKitOutput\obj\WebKit\Release\BuildLog.htm" 9>WebKit - 1 error(s), 0 warning(s) 10>------ Build started: Project: testapi, Configuration: Release Win32 ------ 10>Performing Pre-Build Event... 10>Project : error PRJ0002 : Error result 1 returned from 'c:\WINDOWS\system32\cmd.exe'. 10>Project : warning PRJ0018 : The following environment variables were not found: 10>$(PRODUCTION) 10>Build log was saved at "file://D:\WebKitOutput\obj\testapi\Release\BuildLog.htm" 10>testapi - 1 error(s), 0 warning(s) 11>------ Build started: Project: jsc, Configuration: Release Win32 ------ 11>Performing Pre-Build Event... 11>Project : error PRJ0002 : Error result 1 returned from 'c:\WINDOWS\system32\cmd.exe'. 11>Project : warning PRJ0018 : The following environment variables were not found: 11>$(PRODUCTION) 11>Build log was saved at "file://D:\WebKitOutput\obj\jsc\Release\BuildLog.htm" 11>jsc - 1 error(s), 0 warning(s) 12>------ Build started: Project: WinLauncher, Configuration: Release Win32 ------ 12>Compiling... 12>WinLauncher.cpp 12>c:\documents and settings\werner\webkit\webkittools\winlauncher\WinLauncher.h(29) : fatal error C1083: Cannot open include file : 'WebKit.h': No such file or directory 12>Project : warning PRJ0018 : The following environment variables were not found: 12>$(PRODUCTION) 12>Build log was saved at "file://D:\WebKitOutput\obj\WinLauncher\Release\BuildLog.htm" 12>WinLauncher - 1 error(s), 0 warning(s) 13>------ Build started: Project: TestNetscapePlugin, Configuration: Release Win32 ------ 13>Performing Pre-Build Event... 13>Project : error PRJ0002 : Error result 1 returned from 'c:\WINDOWS\system32\cmd.exe'. 13>Project : warning PRJ0018 : The following environment variables were not found: 13>$(PRODUCTION) 13>Build log was saved at "file://D:\WebKitOutput\obj\TestNetscapePlugin\Release\BuildLog.htm" 13>TestNetscapePlugin - 1 error(s), 0 warning(s) 14>------ Build started: Project: ImageDiff, Configuration: Release Win32 ------ 14>Performing Pre-Build Event... 14>Project : error PRJ0002 : Error result 1 returned from 'c:\WINDOWS\system32\cmd.exe'. 14>Project : warning PRJ0018 : The following environment variables were not found: 14>$(PRODUCTION) 14>Build log was saved at "file://D:\WebKitOutput\obj\ImageDiff\Release\BuildLog.htm" 14>ImageDiff - 1 error(s), 0 warning(s) 15>------ Build started: Project: DumpRenderTree, Configuration: Release Win32 ------ 15>Performing Pre-Build Event... 15>Project : error PRJ0002 : Error result 1 returned from 'c:\WINDOWS\system32\cmd.exe'. 15>Project : warning PRJ0018 : The following environment variables were not found: 15>$(PRODUCTION) 15>Build log was saved at "file://D:\WebKitOutput\obj\DumpRenderTree\Release\BuildLog.htm" 15>DumpRenderTree - 1 error(s), 0 warning(s) ========== Build: 0 succeeded, 15 failed, 2 up-to-date, 0 skipped ========== ===== BUILD FAILED ====== Please ensure you have run WebKit/WebKitTools/Scripts/update-webkit to install depenedencies. You can view build errors by checking the BuildLog.htm files located at: /cygdrive/d/WebKitOutput/obj/<project>/<config>.
Some permission problem? try changing "read only" ! 2008/8/20 Bruckmüller, Werner <Werner.Bruckmueller@fabasoft.com>
Hi!
I want to build the WebKit source with Cygwin, I followed the steps from webkit.org and the Building on Windows guide and became some errors when I run the build command!
Please tell me what is wrong!
OS: Windows Server 2003
Visual Studio: VS2005 Team Edition
Thanks,
Werner
Here is the output:
Microsoft (R) Visual Studio Version 8.0.50727.762.
Copyright (C) Microsoft Corp 1984-2005. All rights reserved.
1>------ Build started: Project: JavaScriptCoreGenerated, Configuration: Release Win32 ------
1>Performing Makefile project actions
1> xcopy /y/d/e/i "..\..\..\WebKitLibraries\win\tools" "C:\Documents and Settings\werner\WebKit\WebKitLibraries\win\tools"
1>Cannot perform a cyclic copy
1>0 File(s) copied
1> touch "D:\WebKitOutput\buildfailed"
1> bash build-generated-files.sh "D:\WebKitOutput" "C:\Documents and Settings\werner\WebKit\WebKitLibraries\win"
1>/cygdrive/c/DOCUME~1/werner/WebKit/JAVASC~1/pcre/dftables chartables.c
1>bison -d -p kjsyy /cygdrive/c/DOCUME~1/werner/WebKit/JAVASC~1/kjs/grammar.y -o grammar.cpp > bison_out.txt 2>&1
1>Error in tempfile() using /cygdrive/c/WINDOWS/TEMP/dftables-XXXXXXXX.in: Parent directory (/cygdrive/c/WINDOWS/TEMP/) is not wri
table
1> at /cygdrive/c/DOCUME~1/werner/WebKit/JAVASC~1/pcre/dftables line 245
1>make: *** [chartables.c] Error 255
1>make: *** Waiting for unfinished jobs....
1>perl -p -e 'END { if ($conflict) { unlink "grammar.cpp"; die; } } $conflict ||= /conflict/' < bison_out.txt
1>touch grammar.cpp.h
1>touch grammar.hpp
1>cat grammar.cpp.h grammar.hpp > grammar.h
1>rm -f grammar.cpp.h grammar.hpp bison_out.txt
1>NMAKE : fatal error U1077: 'C:\cygwin\bin\bash.EXE' : return code '0x1'
1>Stop.
1>Project : error PRJ0019: A tool returned an error code from "Performing Makefile project actions"
1>Build log was saved at "file://D:\WebKitOutput\obj\JavaScriptCoreGenerated\Release\BuildLog.htm"
1>JavaScriptCoreGenerated - 2 error(s), 0 warning(s)
2>------ Build started: Project: JavaScriptCore, Configuration: Release Win32 ------
2>Performing Pre-Build Event...
2>Project : error PRJ0002 : Error result 1 returned from 'c:\WINDOWS\system32\cmd.exe'.
2>Project : warning PRJ0018 : The following environment variables were not found:
2>$(PRODUCTION)
2>Build log was saved at "file://D:\WebKitOutput\obj\JavaScriptCore\Release\BuildLog.htm"
2>JavaScriptCore - 1 error(s), 0 warning(s)
3>------ Build started: Project: WebCoreGenerated, Configuration: Release Win32 ------
3>Performing Makefile project actions
3>Project : error PRJ0002 : Error result 1 returned from 'c:\WINDOWS\system32\cmd.exe'.
3>Build log was saved at "file://D:\WebKitOutput\obj\WebCoreGenerated\Release\BuildLog.htm"
3>WebCoreGenerated - 1 error(s), 0 warning(s)
4>------ Build started: Project: QTMovieWin, Configuration: Release Win32 ------
4>Performing Pre-Build Event...
4>Project : error PRJ0002 : Error result 1 returned from 'c:\WINDOWS\system32\cmd.exe'.
4>Project : warning PRJ0018 : The following environment variables were not found:
4>$(PRODUCTION)
4>Build log was saved at "file://D:\WebKitOutput\obj\QTMovieWin\Release\BuildLog.htm"
4>QTMovieWin - 1 error(s), 0 warning(s)
5>------ Build started: Project: WebCore, Configuration: Release Win32 ------
5>Performing Pre-Build Event...
5>Project : error PRJ0002 : Error result 1 returned from 'c:\WINDOWS\system32\cmd.exe'.
5>Project : warning PRJ0018 : The following environment variables were not found:
5>$(PRODUCTION)
5>$(AnalyzeWithLargeStack)
5>Build log was saved at "file://D:\WebKitOutput\obj\WebCore\Release\BuildLog.htm"
5>WebCore - 1 error(s), 0 warning(s)
6>------ Build started: Project: InterfacesGenerated, Configuration: Release Win32 ------
6>Performing Makefile project actions
6>Project : error PRJ0002 : Error result 1 returned from 'c:\WINDOWS\system32\cmd.exe'.
6>Build log was saved at "file://D:\WebKitOutput\obj\InterfacesGenerated\Release\BuildLog.htm"
6>InterfacesGenerated - 1 error(s), 0 warning(s)
7>------ Build started: Project: Interfaces, Configuration: Release Win32 ------
7>Performing Pre-Build Event...
7>Project : error PRJ0002 : Error result 1 returned from 'c:\WINDOWS\system32\cmd.exe'.
7>Project : warning PRJ0018 : The following environment variables were not found:
7>$(PRODUCTION)
7>Build log was saved at "file://D:\WebKitOutput\obj\Interfaces\Release\BuildLog.htm"
7>Interfaces - 1 error(s), 0 warning(s)
8>------ Build started: Project: WebKitGUID, Configuration: Release Win32 ------
8>Performing Pre-Build Event...
8>Project : error PRJ0002 : Error result 1 returned from 'c:\WINDOWS\system32\cmd.exe'.
8>Project : warning PRJ0018 : The following environment variables were not found:
8>$(PRODUCTION)
8>Build log was saved at "file://D:\WebKitOutput\obj\WebKitGUID\Release\BuildLog.htm"
8>WebKitGUID - 1 error(s), 0 warning(s)
9>------ Build started: Project: WebKit, Configuration: Release Win32 ------
9>Performing Pre-Build Event...
9>Project : error PRJ0002 : Error result 1 returned from 'c:\WINDOWS\system32\cmd.exe'.
9>Project : warning PRJ0018 : The following environment variables were not found:
9>$(PRODUCTION)
9>Build log was saved at "file://D:\WebKitOutput\obj\WebKit\Release\BuildLog.htm"
9>WebKit - 1 error(s), 0 warning(s)
10>------ Build started: Project: testapi, Configuration: Release Win32 ------
10>Performing Pre-Build Event...
10>Project : error PRJ0002 : Error result 1 returned from 'c:\WINDOWS\system32\cmd.exe'.
10>Project : warning PRJ0018 : The following environment variables were not found:
10>$(PRODUCTION)
10>Build log was saved at "file://D:\WebKitOutput\obj\testapi\Release\BuildLog.htm"
10>testapi - 1 error(s), 0 warning(s)
11>------ Build started: Project: jsc, Configuration: Release Win32 ------
11>Performing Pre-Build Event...
11>Project : error PRJ0002 : Error result 1 returned from 'c:\WINDOWS\system32\cmd.exe'.
11>Project : warning PRJ0018 : The following environment variables were not found:
11>$(PRODUCTION)
11>Build log was saved at "file://D:\WebKitOutput\obj\jsc\Release\BuildLog.htm"
11>jsc - 1 error(s), 0 warning(s)
12>------ Build started: Project: WinLauncher, Configuration: Release Win32 ------
12>Compiling...
12>WinLauncher.cpp
12>c:\documents and settings\werner\webkit\webkittools\winlauncher\WinLauncher.h(29) : fatal error C1083: Cannot open include file
: 'WebKit.h': No such file or directory
12>Project : warning PRJ0018 : The following environment variables were not found:
12>$(PRODUCTION)
12>Build log was saved at "file://D:\WebKitOutput\obj\WinLauncher\Release\BuildLog.htm"
12>WinLauncher - 1 error(s), 0 warning(s)
13>------ Build started: Project: TestNetscapePlugin, Configuration: Release Win32 ------
13>Performing Pre-Build Event...
13>Project : error PRJ0002 : Error result 1 returned from 'c:\WINDOWS\system32\cmd.exe'.
13>Project : warning PRJ0018 : The following environment variables were not found:
13>$(PRODUCTION)
13>Build log was saved at "file://D:\WebKitOutput\obj\TestNetscapePlugin\Release\BuildLog.htm"
13>TestNetscapePlugin - 1 error(s), 0 warning(s)
14>------ Build started: Project: ImageDiff, Configuration: Release Win32 ------
14>Performing Pre-Build Event...
14>Project : error PRJ0002 : Error result 1 returned from 'c:\WINDOWS\system32\cmd.exe'.
14>Project : warning PRJ0018 : The following environment variables were not found:
14>$(PRODUCTION)
14>Build log was saved at "file://D:\WebKitOutput\obj\ImageDiff\Release\BuildLog.htm"
14>ImageDiff - 1 error(s), 0 warning(s)
15>------ Build started: Project: DumpRenderTree, Configuration: Release Win32 ------
15>Performing Pre-Build Event...
15>Project : error PRJ0002 : Error result 1 returned from 'c:\WINDOWS\system32\cmd.exe'.
15>Project : warning PRJ0018 : The following environment variables were not found:
15>$(PRODUCTION)
15>Build log was saved at "file://D:\WebKitOutput\obj\DumpRenderTree\Release\BuildLog.htm"
15>DumpRenderTree - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 15 failed, 2 up-to-date, 0 skipped ==========
===== BUILD FAILED ======
Please ensure you have run WebKit/WebKitTools/Scripts/update-webkit to install depenedencies.
You can view build errors by checking the BuildLog.htm files located at:
/cygdrive/d/WebKitOutput/obj/<project>/<config>.
_______________________________________________ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
participants (2)
-
Binish
-
Bruckmüller, Werner