[webkit-dev] building errors about "cmd.exe"
sitan2006 at sina.com
sitan2006 at sina.com
Mon May 18 18:08:57 PDT 2009
Hi, I found a new clue which I think is the answer.
In jscCommon.vsprops, some shell commands about VS' post-build event:
************************************ <Tool
Name="VCPostBuildEventTool"
CommandLine="if exist "$(WebKitOutputDir)\buildfailed" del "$(WebKitOutputDir)\buildfailed"

mkdir 2>NUL "$(WebKitOutputDir)\bin"
if exist "$(WebKitLibrariesDir)\bin\icudt40.dll" xcopy /y /d "$(WebKitLibrariesDir)\bin\icudt40.dll" "$(WebKitOutputDir)\bin"
if exist "$(WebKitLibrariesDir)\bin\icudt40$(LibraryConfigSuffix).dll" xcopy /y /d "$(WebKitLibrariesDir)\bin\icudt40$(LibraryConfigSuffix).dll" "$(WebKitOutputDir)\bin"
if exist "$(WebKitLibrariesDir)\bin\icuin40$(LibraryConfigSuffix).dll" xcopy /y /d "$(WebKitLibrariesDir)\bin\icuin40$(LibraryConfigSuffix).dll" "$(WebKitOutputDir)\bin"
if exist "$(WebKitLibrariesDir)\bin\icuuc40$(LibraryConfigSuffix).dll" xcopy /y /d "$(WebKitLibrariesDir)\bin\icuuc40$(LibraryConfigSuffix).dll" "$(WebKitOutputDir)\bin"
if exist "$(WebKitLibrariesDir)\bin\CoreFoundation$(LibraryConfigSuffix).dll" xcopy /y /d "$(WebKitLibrariesDir)\bin\CoreFoundation$(LibraryConfigSuffix).dll" "$(WebKitOutputDir)\bin"
if exist "$(WebKitLibrariesDir)\bin\CoreFoundation.resources" xcopy /y /d /e /i "$(WebKitLibrariesDir)\bin\CoreFoundation.resources" "$(WebKitOutputDir)\bin\CoreFoundation.resources"
if exist "$(WebKitLibrariesDir)\bin\pthreadVC2$(LibraryConfigSuffix).dll" xcopy /y /d "$(WebKitLibrariesDir)\bin\pthreadVC2$(LibraryConfigSuffix).dll" "$(WebKitOutputDir)\bin"
if exist "$(WebKitLibrariesDir)\bin\objc$(LibraryConfigSuffix).dll" xcopy /y /d "$(WebKitLibrariesDir)\bin\objc$(LibraryConfigSuffix).dll" "$(WebKitOutputDir)\bin"
"
/>
************************************
I checked the commands carefully, and found that there's no "bin/" under my "WebKitLibraries/win/", also in the orginal Webkit, WebKitAuxiliaryLib.zip and WebKitSupportLibrary.zip.
Of course, there's no "icudt40.dll" and other ".dll" files.
Now I am quite sure that's the reason for "jsc failed".
Well, what are these dll files for? Why there's no such files at all?
> >> So, does that mean I successfully build webkit?
>
> >>
>
> >I believe so.
>
> Is there anything to check if my webkit is successfully built?
>
> I find a WebKit.dll in WebKit/WebKitBuild/bin, whose size is 5.12M .
>
> >> Why can't I successfully build it at the first time?
> >>
>
> >I'm not sure. When the build fails you could look at the contents of
> >$(WebKitOutputDir)\buildfailed (i.e., WebKitBuild\buildfailed) to see
> >which project failed to delete the buildfailed file in step (3).
>
> I've checked it. It's "XXjscXX" in my WebKitBuild/buildfailed file.
>
OK, it sounds like jsc.vcproj is failing but the other projects are
succeeding. jsc.vcproj produces jsc.exe, which is a JavaScript
interpreter. Having jsc.exe fail to build doesn't affect whether
WebKit.dll builds (since WebKit.dll builds first).
Does the BuildLog.htm file for jsc.vcproj mention any errors? You can
find it at WebKitBuild/obj/jsc/Release/BuildLog.htm.
-Adam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20090519/d8db7e68/attachment.html>
More information about the webkit-dev
mailing list