[webkit-dev] Webkit Building failed on Windows

James tu yiqingt at yahoo.com
Thu Oct 11 12:10:34 PDT 2007


send it again in text format. don't know why I can't send html file as an attachment from my yahoo account. Really sorry for this. The following is the build log
   
    Build Log
    
  Build started: Project: WebCore, Configuration: Release|Win32
  Command Lines
    
  Build machine environment variables may not be correct.
Build machine environment variables may not be correct.
Build machine environment variables may not be correct.
Build machine environment variables may not be correct.
Creating temporary file "d:\Profiles\w30339.DS\WebKit\WebKitBuild\obj\WebCore\Release\BAT00000160766412.bat" with contents
[
@echo off
  set PATH=%SystemDrive%\cygwin\bin;%PATH%
  touch "d:\Profiles\w30339.DS\WebKit\WebKitBuild\tmp.cpp"
  cl /analyze /nologo /c "d:\Profiles\w30339.DS\WebKit\WebKitBuild\tmp.cpp" 2>&1 | findstr D9040
  if ERRORLEVEL 0 set EnablePREfast="false" else set EnablePREfast="true"
  if ERRORLEVEL 0 set AnalyzeWithLargeStack="" AnalyzeWithLargeStack="/analyze:65536"
  bash build-generated-files.sh "d:\Profiles\w30339.DS\WebKit\WebKitBuild" "d:\Profiles\w30339.DS\WebKit\WebKitLibraries\win"
   
  if errorlevel 1 goto VCReportError
  goto VCEnd
  :VCReportError
  echo Project : error PRJ0019: A tool returned an error code from "Performing Pre-Build Event..."
  exit 1
  :VCEnd
]
Creating command line "d:\Profiles\w30339.DS\WebKit\WebKitBuild\obj\WebCore\Release\BAT00000160766412.bat"
  Output Window
    
  Performing Pre-Build Event...
cl : Command line warning D9040 : ignoring option '/analyze'; Code Analysis warnings are not available in this edition of the compiler
tmp.cpp
build-generated-files.sh: line 2: $'\r': command not found
build-generated-files.sh: line 4: $'\r': command not found
realpath: No such file or directory
cygpath: cannot create short name of 
build-generated-files.sh: line 11: export: `XSRCROOT': not a valid identifier
build-generated-files.sh: line 13: $'\r': command not found
build-generated-files.sh: line 15: export: `XDSTROOT': not a valid identifier
cygpath: cannot create short name of d:\Profiles\w30339.DS\WebKit\WebKitBuild
build-generated-files.sh: line 20: export: `XDSTROOT': not a valid identifier
build-generated-files.sh: line 21: $'\r': command not found
build-generated-files.sh: line 23: export: `SDKROOT': not a valid identifier
cygpath: cannot create short name of d:\Profiles\w30339.DS\WebKit\WebKitLibraries\win
build-generated-files.sh: line 28: export: `SDKROOT': not a valid identifier
build-generated-files.sh: line 29: $'\r': command not found
build-generated-files.sh: line 31: $'\r': command not found
build-generated-files.sh: line 44: syntax error: unexpected end of file
Project : error PRJ0019: A tool returned an error code from "Performing Pre-Build Event..."
Project : warning PRJ0018 : The following environment variables were not found:
$(AnalyzeWithLargeStack)
  Results
    
  Build log was saved at "file://d:\Profiles\w30339.DS\WebKit\WebKitBuild\obj\WebCore\Release\BuildLog.htm"
WebCore - 1 error(s), 1 warning(s)
   
  

Kevin McCullough <kmccullough at apple.com> wrote:
  I don't see the log am I missing something?
    
�amp;nbsp;Kevin McCullough
  kmccullough at apple.com


    On Oct 10, 2007, at 4:43 PM, James tu wrote:

    Hi Adam,
  I attached the buildlog in WebKitBuild\obj\WebCore\Release. It seems machine environment variables may not be correct. But don't know what exactly cause this?
   
  thanks

Adam Roben <aroben at apple.com> wrote: 
  (CCing webkit-dev for the benefit of future question-askers)

James tu wrote:
> Hi Adam,
> I download cygwin package from open source webkit site and 
> reinstall it. After type WebKit/WebKitTools/Scripts/build-webkit, it 
> will build for about 2-3 minutes then exit without any message. 
> 
> In the cygwin, it only shows 
> 
> Checking mod-date of WebKitSupportLibrary.zip...
> Current WebKitSupportLibrary is up to date
> Building results into: /cygdrive/d/Profiles/w30339.DS/WebKit/WebKitBuild
> WEBKITOUTPUTDIR is set to: d:\Profiles\w30339.DS\WebKit\WebKitBuild
> WEBKITLIBRARIESDIR is set to: 
> d:\Profiles\w30339.DS\WebKit\WebKitLibraries\win
> /cygdrive/c/Program Files/Microsoft Visual Studio 
> 8/Common7/IDE/VCExpress.exe wi
> n\WebKit.vcproj\WebKit.sln /build Release
> Do you have any idea? I installed Visual C++ 2005 Express 
> , Microsoft Visual 
> C++ Express 2005 Service Pack 1 
> and 
> Windows Platform SD 
> K
> 
> Did I miss something?
Sounds like you did everything correctly. Unfortunately, Visual C++ 
Express does not give any output in the console while building, so you 
have to search for build errors in the build logs manually. You can find 
these build logs by executing the following command:

find ~/WebKit/WebKitBuild/obj -type f -name '*.htm'

One of those should contain some hint as to the error that happened 
during your build.

-Adam


ÿþ< _______________________________________________
webkit-dev mailing list
webkit-dev at lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-dev



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/webkit-dev/attachments/20071011/6c2c56a8/attachment.html


More information about the webkit-dev mailing list