[webkit-dev] building CVS with xcode 2.1

Nicolas Berloquin nicolas at pobox.com
Tue Jun 7 11:10:20 PDT 2005


Hello !

I'm new to the list, but judging from the archive, I guess everyone  
is :D

First of all, bravo for the clean cvs update/build scripts and docs !

I downloaded the latest CVS sources and started builing on tiger  
10.4.1 with XCode 2.1 (yesterday's xcode release).
It seems that webkit building has not been tested with this version yet.

I get a series of errors, the first one being about using -buildstyle  
which is deprecated (instead of the new -configuration).

I edited the Makefile.am in each directory, and the build-webkit  
script to change that, and the error is no longer reported.
But I still get the following error :

Ld /Users/nicolas/devs/xcodebuilds/Deployment/WebKit.framework/ 
Versions/A/WebKit normal ppc
     mkdir /Users/nicolas/devs/xcodebuilds/Deployment/ 
WebKit.framework/Versions/A
     cd /Users/nicolas/devs/webkit/WebKit
     setenv MACOSX_DEPLOYMENT_TARGET 10.3
     /usr/bin/g++-4.0 -o /Users/nicolas/devs/xcodebuilds/Deployment/ 
WebKit.framework/Versions/A/WebKit -L/Users/nicolas/devs/xcodebuilds/ 
Deployment -F/Users/nicolas/devs/xcodebuilds/Deployment -F/System/ 
Library/Frameworks/WebKit.framework/Frameworks -F/System/Library/ 
Frameworks/ApplicationServices.framework/Frameworks -F/System/Library/ 
Frameworks/Carbon.framework/Frameworks -F/System/Library/ 
PrivateFrameworks -F/Users/nicolas/devs/xcodebuilds/WebKit.build/ 
Deployment/WebKit.build/DerivedSources -filelist /Users/nicolas/devs/ 
xcodebuilds/WebKit.build/Deployment/WebKit.build/Objects-normal/ppc/ 
WebKit.LinkFileList -framework ApplicationServices -framework Carbon - 
framework Cocoa -framework JavaScriptCore -framework WebCore - 
licucore -framework Security -lWebKitSystemInterface -arch ppc -Wl,- 
exported_symbols_list,WebKit.exp -Wl,-single_module -dynamiclib - 
compatibility_version 1 -current_version 1 -install_name /System/ 
Library/Frameworks/WebKit.framework/Versions/A/WebKit

/usr/bin/libtool: can't locate file for: -lWebKitSystemInterface
/usr/bin/libtool: file: -lWebKitSystemInterface is not an object file  
(not allowed in a library)


And I don't know what I can do about that.

What you need to know is that the deprecated error that I had was at  
the beginning of the build, right after
print "${productDir}/libWebKitSystemInterface.a";
And I also get this warning right after the print of  
libWebKitSystemInterface.a:
WARNING: The Xcode plugin at path /Library/Application Support/Apple/ 
Developer Tools/Plug-ins/J2EEAssistant.pbplugin is missing the  
XCPluginHasUI Info.plist key, it is assumed to have UI and will not  
be loaded by xcodebuild.

which doesn't seem to be related to the build error.

One more thing, a suggestion :
Once I get it to compile, I plan to modify the target CPU/pipeline  
etc to -Os and the G5 cpu. I guess that a lot of mac heads will want to
try that type of optimizations. I also noticed that the deployment  
target is 10.3.
Maybe you could put all those options in a separate global file that  
could be easilly modified ?

thanks ^_^ 



More information about the webkit-dev mailing list