[webkit-dev] WebCore compilation failure

Maciej Stachowiak mjs at apple.com
Tue Jun 21 22:15:35 PDT 2005


On Jun 21, 2005, at 6:48 PM, Kevin Ballard wrote:

> At the time of this writing, WebCore fails to compile. This is  
> caused by a recent change, which can be seen in revision 1.554 of  
> WebCore.pbproj/project.pbxproj. The problem is that the $()  
> construct was used instead of ${} in writing a shell script, which  
> causes the script to fail.
>
> The fix is very simple. Open up the build settings of the WebCore  
> target and fix the rule for .y files to use ${} instead of $(). Or  
> simply apply the following patch:

r=me and landed.

FWIW the $() expansion seems to work in Xcode 2.0, just not in 2.1.  
the ${} version should work for everyone.

  - Maciej


>
> Index: WebCore.pbproj/project.pbxproj
> ===================================================================
> RCS file: /cvs/root/WebCore/WebCore.pbproj/project.pbxproj,v
> retrieving revision 1.554
> diff -u -r1.554 project.pbxproj
> --- project.pbxproj    2005/06/22 00:23:09    1.554
> +++ project.pbxproj    2005/06/22 01:45:01
> @@ -2035,7 +2035,7 @@
>                  "$(DERIVED_FILE_DIR)/$(INPUT_FILE_BASE).h",
>                  "$(DERIVED_FILE_DIR)/$(INPUT_FILE_BASE).cpp",
>              );
> -            script = "bison -d -p cssyy khtml/css/parser.y -o  
> \"$DERIVED_FILE_DIR/$(INPUT_FILE_BASE).cpp\"\ncat  
> \"$DERIVED_FILE_DIR/parser.cpp.h\" \"$DERIVED_FILE_DIR/$ 
> (INPUT_FILE_BASE).hpp\" > \"$DERIVED_FILE_DIR/$(INPUT_FILE_BASE).h 
> \" 2> /dev/null || echo -n";
> +            script = "bison -d -p cssyy khtml/css/parser.y -o  
> \"$DERIVED_FILE_DIR/${INPUT_FILE_BASE}.cpp\"\ncat  
> \"$DERIVED_FILE_DIR/parser.cpp.h\" \"$DERIVED_FILE_DIR/$ 
> {INPUT_FILE_BASE}.hpp\" > \"$DERIVED_FILE_DIR/${INPUT_FILE_BASE}.h 
> \" 2> /dev/null || echo -n";
>          };
>          937C34ED0868E4B4006F4B22 = {
>              fileRef = 934E43780414294A008635CE;
>
> Note that I had to edit this file by hand since I don't have Xcode  
> 2.0 anymore, just 2.1, but it appears to work (my build hasn't  
> finished yet, since I'm doing a clean build, but if the error was  
> still there the build would have stopped minutes ago).
>
> -Kevin Ballard
>
> -- 
> Kevin Ballard
> kevin at sb.org
> http://www.tildesoft.com
> http://kevin.sb.org
>
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at opendarwin.org
> http://www.opendarwin.org/mailman/listinfo/webkit-dev
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/webkit-dev/attachments/20050621/2f0fc22d/attachment.html


More information about the webkit-dev mailing list