Hi, I try to build webkit on win32 by MSVC2005. I done these setps followed by webkit.org: <1>Install Microsoft Visual Studio 2005 and Team Suite Service Pack 1,Cygwin and related packages,QuickTime SDK; <2>In Cygwin shell, run "svn-check out" to get webkit sources,download WebKitSupportLibrary.zip to D:\cygwin\home\cjs\WebKit,and run "update-webkit" ok; <3> Set two environment variables: WEBKITOUTPUTDIR and WEBKITLIBRARIESDIR , using SciTE convert line-endings to LF only (Unix-style); <4>When I type "build-webkit --debug" under cygwin shell,allways retrun errors; Please help me, thanks a lot! Building errors: 1>------ Build started: Project: JavaScriptCoreGenerated, Configuration: Release Win32 ------ 1>Performing Makefile project actions 1> xcopy /y/d/e/i "..\..\..\WebKitLibraries\win\tools" "D:\WebKit\WebKitLibraries\win\tools" 1> Cannot perform a cyclic copy 1> 0 File(s) copied 1> touch "D:\WebKit\WebKitBuild\buildfailed" 1> bash build-generated-files.sh "D:\WebKit\WebKitBuild" "D:\WebKit\WebKitLibraries\win" 1>build-generated-files.sh: line 2: $'\r': command not found 1>build-generated-files.sh: line 4: $'\r': command not found 1>realpath: No such file or directory 1>cygpath: cannot create short name of 1>build-generated-files.sh: line 11: export: `XSRCROOT': not a valid identifier 1>build-generated-files.sh: line 13: $'\r': command not found 1>build-generated-files.sh: line 15: export: `XDSTROOT': not a valid identifier 1>cygpath: cannot create short name of D:\WebKit\WebKitBuild 1>build-generated-files.sh: line 20: export: `XDSTROOT': not a valid identifier 1>build-generated-files.sh: line 21: $'\r': command not found 1>build-generated-files.sh: line 23: export: `SDKROOT': not a valid identifier 1>cygpath: cannot create short name of D:\WebKit\WebKitLibraries\win 1>build-generated-files.sh: line 28: export: `SDKROOT': not a valid identifier 1>build-generated-files.sh: line 29: $'\r': command not found 1>build-generated-files.sh: line 31: $'\r': command not found 1>mkdir: cannot create directory `\r\r': No such file or directory 1>build-generated-files.sh: line 33: cd: /obj/JavaScriptCore/DerivedSources: No such file or directory 1>build-generated-files.sh: line 34: $'\r': command not found 1>make: /DerivedSources.make: No such file or directory 1>make: *** No rule to make target `/DerivedSources.make'. Stop. 1>build-generated-files.sh: line 37: exit: 1: numeric argument required 1>NMAKE : fatal error U1077: 'D:\cygwin\bin\bash.EXE' : return code '0xff' 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:\WebKit\WebKitBuild\obj\JavaScriptCoreGenerated\Release\BuildLog.htm <file://D:\WebKit\WebKitBuild\obj\JavaScriptCoreGenerated\Release\BuildLog.htm> " 1>JavaScriptCoreGenerated - 2 error(s), 0 warning(s) 2>------ Build started: Project: JavaScriptCore, Configuration: Debug 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:\WebKit\WebKitBuild\obj\JavaScriptCore\Debug\BuildLog.htm <file://D:\WebKit\WebKitBuild\obj\JavaScriptCore\Debug\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:\WebKit\WebKitBuild\obj\WebCoreGenerated\Release\BuildLog.htm <file://D:\WebKit\WebKitBuild\obj\WebCoreGenerated\Release\BuildLog.htm> " 3>WebCoreGenerated - 1 error(s), 0 warning(s) 4>------ Build started: Project: QTMovieWin, Configuration: Debug Win32 ------ 4>Performing Pre-Build Event... 4>/home/cjs/webkit/WebKitLibraries/win/tools/scripts/auto-version.sh: line 2: $'\r': command not found 4>/home/cjs/webkit/WebKitLibraries/win/tools/scripts/auto-version.sh: line 25: $'\r': command not found 4>mkdir: cannot create directory `/home/cjs/webkit/WebKitBuild/obj/QTMovieWin/Debug\r': No such file or directory 4>/home/cjs/webkit/WebKitLibraries/win/tools/scripts/auto-version.sh: line 31: $'\r': command not found 4>cat: /home/cjs/webkit/WebKitLibraries/win/Tools/Scripts/PRODUCTVERSION: No such file or directory 4>/home/cjs/webkit/WebKitLibraries/win/tools/scripts/auto-version.sh: line 84: syntax error: unexpected end of file 4>Project : error PRJ0019: A tool returned an error code from "Performing Pre-Build Event..." 4>Project : warning PRJ0018 : The following environment variables were not found: 4>$(PRODUCTION) 4>Build log was saved at "file://D:\WebKit\WebKitBuild\obj\QTMovieWin\Debug\BuildLog.htm <file://D:\WebKit\WebKitBuild\obj\QTMovieWin\Debug\BuildLog.htm> " 4>QTMovieWin - 1 error(s), 0 warning(s) 5>------ Build started: Project: WebCore, Configuration: Debug_Cairo 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:\WebKit\WebKitBuild\obj\WebCore\Debug_Cairo\BuildLog.htm <file://D:\WebKit\WebKitBuild\obj\WebCore\Debug_Cairo\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:\WebKit\WebKitBuild\obj\InterfacesGenerated\Release\BuildLog.htm <file://D:\WebKit\WebKitBuild\obj\InterfacesGenerated\Release\BuildLog.htm> " 6>InterfacesGenerated - 1 error(s), 0 warning(s) 7>------ Build started: Project: Interfaces, Configuration: Debug 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:\WebKit\WebKitBuild\obj\Interfaces\Debug\BuildLog.htm <file://D:\WebKit\WebKitBuild\obj\Interfaces\Debug\BuildLog.htm> " 7>Interfaces - 1 error(s), 0 warning(s) 8>------ Build started: Project: WebKitGUID, Configuration: Debug 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:\WebKit\WebKitBuild\obj\WebKitGUID\Debug\BuildLog.htm <file://D:\WebKit\WebKitBuild\obj\WebKitGUID\Debug\BuildLog.htm> " 8>WebKitGUID - 1 error(s), 0 warning(s) 9>------ Build started: Project: WebKit, Configuration: Debug_Cairo 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:\WebKit\WebKitBuild\obj\WebKit\Debug_Cairo\BuildLog.htm <file://D:\WebKit\WebKitBuild\obj\WebKit\Debug_Cairo\BuildLog.htm> " 9>WebKit - 1 error(s), 0 warning(s) 10>------ Build started: Project: FindSafari, Configuration: Release Win32 ------ 10>Performing Pre-Link Event... 10>FindSafari : error PRJ0007 : Could not create output directory 'd:\WebKit\WebKitBuild\bin'. 10>Linking... 10>LINK : fatal error LNK1104: cannot open file 'D:\WebKit\WebKitBuild\bin\FindSafari.exe' 10>Project : warning PRJ0018 : The following environment variables were not found: 10>$(PRODUCTION) 10>Build log was saved at "file://D:\WebKit\WebKitBuild\obj\FindSafari\Release\BuildLog.htm <file://D:\WebKit\WebKitBuild\obj\FindSafari\Release\BuildLog.htm> " 10>FindSafari - 2 error(s), 0 warning(s) 11>------ Build started: Project: testapi, Configuration: Debug 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:\WebKit\WebKitBuild\obj\testapi\Debug\BuildLog.htm <file://D:\WebKit\WebKitBuild\obj\testapi\Debug\BuildLog.htm> " 11>testapi - 1 error(s), 0 warning(s) 12>------ Build started: Project: jsc, Configuration: Debug Win32 ------ 12>Performing Pre-Build Event... 12>Project : error PRJ0002 : Error result 1 returned from 'C:\WINDOWS\system32\cmd.exe'. 12>Project : warning PRJ0018 : The following environment variables were not found: 12>$(PRODUCTION) 12>Build log was saved at "file://D:\WebKit\WebKitBuild\obj\jsc\Debug\BuildLog.htm <file://D:\WebKit\WebKitBuild\obj\jsc\Debug\BuildLog.htm> " 12>jsc - 1 error(s), 0 warning(s) 13>------ Build started: Project: WinLauncher, Configuration: Debug Win32 ------ 13>Compiling... 13>WinLauncher.cpp 13>d:\webkit\webkittools\winlauncher\winlauncher.h(29) : fatal error C1083: Cannot open include file: 'WebKit.h': No such file or directory 13>Project : warning PRJ0018 : The following environment variables were not found: 13>$(PRODUCTION) 13>Build log was saved at "file://D:\WebKit\WebKitBuild\obj\WinLauncher\Debug\BuildLog.htm <file://D:\WebKit\WebKitBuild\obj\WinLauncher\Debug\BuildLog.htm> " 13>WinLauncher - 1 error(s), 0 warning(s) 14>------ Build started: Project: TestNetscapePlugin, Configuration: Debug 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:\WebKit\WebKitBuild\obj\TestNetscapePlugin\Debug\BuildLog.htm <file://D:\WebKit\WebKitBuild\obj\TestNetscapePlugin\Debug\BuildLog.htm> " 14>TestNetscapePlugin - 1 error(s), 0 warning(s) 15>------ Build started: Project: ImageDiff, Configuration: Debug 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:\WebKit\WebKitBuild\obj\ImageDiff\Debug\BuildLog.htm <file://D:\WebKit\WebKitBuild\obj\ImageDiff\Debug\BuildLog.htm> " 15>ImageDiff - 1 error(s), 0 warning(s) 16>------ Build started: Project: DumpRenderTree, Configuration: Debug Win32 ------ 16>Performing Pre-Build Event... 16>Project : error PRJ0002 : Error result 1 returned from 'C:\WINDOWS\system32\cmd.exe'. 16>Project : warning PRJ0018 : The following environment variables were not found: 16>$(PRODUCTION) 16>Build log was saved at "file://D:\WebKit\WebKitBuild\obj\DumpRenderTree\Debug\BuildLog.htm <file://D:\WebKit\WebKitBuild\obj\DumpRenderTree\Debug\BuildLog.htm> " 16>DumpRenderTree - 1 error(s), 0 warning(s) ========== Build: 0 succeeded, 16 failed, 1 up-to-date, 0 skipped ==========
Best Regards Dvaid Shi
_______________________________________________ webkit-dev mailing list [email protected] http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

