[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:
 
************************************&nbsp;<Tool
&nbsp;&nbsp;Name="VCPostBuildEventTool"
&nbsp;&nbsp;CommandLine="if exist &quot;$(WebKitOutputDir)\buildfailed&quot; del &quot;$(WebKitOutputDir)\buildfailed&quot;&#x0D;&#x0A;&#x0D;&#x0A;mkdir 2&gt;NUL &quot;$(WebKitOutputDir)\bin&quot;&#x0D;&#x0A;if exist &quot;$(WebKitLibrariesDir)\bin\icudt40.dll&quot; xcopy /y /d &quot;$(WebKitLibrariesDir)\bin\icudt40.dll&quot; &quot;$(WebKitOutputDir)\bin&quot;&#x0D;&#x0A;if exist &quot;$(WebKitLibrariesDir)\bin\icudt40$(LibraryConfigSuffix).dll&quot; xcopy /y /d &quot;$(WebKitLibrariesDir)\bin\icudt40$(LibraryConfigSuffix).dll&quot; &quot;$(WebKitOutputDir)\bin&quot;&#x0D;&#x0A;if exist &quot;$(WebKitLibrariesDir)\bin\icuin40$(LibraryConfigSuffix).dll&quot; xcopy /y /d &quot;$(WebKitLibrariesDir)\bin\icuin40$(LibraryConfigSuffix).dll&quot; &quot;$(WebKitOutputDir)\bin&quot;&#x0D;&#x0A;if exist &quot;$(WebKitLibrariesDir)\bin\icuuc40$(LibraryConfigSuffix).dll&quot; xcopy /y /d &quot;$(WebKitLibrariesDir)\bin\icuuc40$(LibraryConfigSuffix).dll&quot; &quot;$(WebKitOutputDir)\bin&quot;&#x0D;&#x0A;if exist &quot;$(WebKitLibrariesDir)\bin\CoreFoundation$(LibraryConfigSuffix).dll&quot; xcopy /y /d &quot;$(WebKitLibrariesDir)\bin\CoreFoundation$(LibraryConfigSuffix).dll&quot; &quot;$(WebKitOutputDir)\bin&quot;&#x0D;&#x0A;if exist &quot;$(WebKitLibrariesDir)\bin\CoreFoundation.resources&quot; xcopy /y /d /e /i &quot;$(WebKitLibrariesDir)\bin\CoreFoundation.resources&quot; &quot;$(WebKitOutputDir)\bin\CoreFoundation.resources&quot;&#x0D;&#x0A;if exist &quot;$(WebKitLibrariesDir)\bin\pthreadVC2$(LibraryConfigSuffix).dll&quot; xcopy /y /d &quot;$(WebKitLibrariesDir)\bin\pthreadVC2$(LibraryConfigSuffix).dll&quot; &quot;$(WebKitOutputDir)\bin&quot;&#x0D;&#x0A;if exist &quot;$(WebKitLibrariesDir)\bin\objc$(LibraryConfigSuffix).dll&quot; xcopy /y /d &quot;$(WebKitLibrariesDir)\bin\objc$(LibraryConfigSuffix).dll&quot; &quot;$(WebKitOutputDir)\bin&quot;&#x0D;&#x0A;"
&nbsp;/>
************************************
&nbsp;
I checked the commands carefully,&nbsp; 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.
&nbsp;
Now I am quite sure that's the reason for "jsc failed".
&nbsp;
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