[Qgis-developer] Xcode project build

John C. Tull john.tull at wildnevada.org
Wed Nov 18 15:35:12 EST 2009


Hi William,

I tried building trunk the past several days, and have run into the following problem on each try. My latest setup is Snow Leopard with all your recent frameworks, Qt-4.6.0-cocoa, sip 4.9.2 (dev snapshot) and pyqt 4.6.2 (dev snapshot). Here is the relevant portion of the build dump (I used xcodebuild from the Terminal):

...
Ld build/snow/Release/Qgis.app/Contents/MacOS/Qgis normal x86_64
    cd /Users/jctull/sources/qgis/trunk/mac/xcode
    setenv MACOSX_DEPLOYMENT_TARGET 10.6
    /usr/bin/g++ -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk -L/Users/jctull/sources/qgis/trunk/mac/xcode/build/snow/Release -L/Users/jctull/sources/qgis/trunk/mac/xcode/build/snow/Release/Qgis.app/Contents/MacOS/lib -F/Users/jctull/sources/qgis/trunk/mac/xcode/build/snow/Release -filelist /Users/jctull/sources/qgis/trunk/mac/xcode/build/snow/Qgis.build/Release/Qgis.build/Objects-normal/x86_64/Qgis.LinkFileList -mmacosx-version-min=10.6 -no_dead_strip_inits_and_terms -headerpad_max_install_names -framework GDAL -framework PROJ -framework GEOS -framework SQLite3 -L/usr/local/pgsql/lib -lpq -framework QtCore -framework QtGui -framework QtNetwork -framework QtXml -framework QtSvg -framework QtSql -lQtUiTools -lqgis_core -lqgis_gui -framework ApplicationServices -framework CoreFoundation -framework CoreServices -o /Users/jctull/sources/qgis/trunk/mac/xcode/build/snow/Release/Qgis.app/Contents/MacOS/Qgis

ld: library not found for -lQtUiTools
collect2: ld returned 1 exit status
Command /usr/bin/g++ failed with exit code 1
Command /usr/bin/g++ failed with exit code 1
PhaseScriptExecution "Script - i18n" build/snow/Qgis.build/Release/Qgis.build/Script-729288B80F71FF25006D9489.sh
    cd /Users/jctull/sources/qgis/trunk/mac/xcode
    /bin/sh -c /Users/jctull/sources/qgis/trunk/mac/xcode/build/snow/Qgis.build/Release/Qgis.build/Script-729288B80F71FF25006D9489.sh

PhaseScriptExecution "Script - qt.conf" build/snow/Qgis.build/Release/Qgis.build/Script-7256FA100F41D03B0022BE1F.sh
    cd /Users/jctull/sources/qgis/trunk/mac/xcode
    /bin/sh -c /Users/jctull/sources/qgis/trunk/mac/xcode/build/snow/Qgis.build/Release/Qgis.build/Script-7256FA100F41D03B0022BE1F.sh

PhaseScriptExecution "Script - bundle Qt" build/snow/Qgis.build/Release/Qgis.build/Script-72E70A950F427FC100142011.sh
    cd /Users/jctull/sources/qgis/trunk/mac/xcode
    /bin/sh -c /Users/jctull/sources/qgis/trunk/mac/xcode/build/snow/Qgis.build/Release/Qgis.build/Script-72E70A950F427FC100142011.sh

install_name_tool: can't open file: /Users/jctull/sources/qgis/trunk/mac/xcode/build/snow/Release/Qgis.app/Contents/MacOS/Qgis (No such file or directory)
install_name_tool: can't open file: /Users/jctull/sources/qgis/trunk/mac/xcode/build/snow/Release/Qgis.app/Contents/MacOS/Qgis (No such file or directory)
install_name_tool: can't open file: /Users/jctull/sources/qgis/trunk/mac/xcode/build/snow/Release/Qgis.app/Contents/MacOS/Qgis (No such file or directory)
install_name_tool: can't open file: /Users/jctull/sources/qgis/trunk/mac/xcode/build/snow/Release/Qgis.app/Contents/MacOS/Qgis (No such file or directory)
install_name_tool: can't open file: /Users/jctull/sources/qgis/trunk/mac/xcode/build/snow/Release/Qgis.app/Contents/MacOS/Qgis (No such file or directory)
install_name_tool: can't open file: /Users/jctull/sources/qgis/trunk/mac/xcode/build/snow/Release/Qgis.app/Contents/MacOS/Qgis (No such file or directory)
install_name_tool: can't open file: /Users/jctull/sources/qgis/trunk/mac/xcode/build/snow/Release/Qgis.app/Contents/MacOS/Qgis (No such file or directory)
PhaseScriptExecution "Script - bundle extras" build/snow/Qgis.build/Release/Qgis.build/Script-726302380F4532E000E4441E.sh
    cd /Users/jctull/sources/qgis/trunk/mac/xcode
    /bin/sh -c /Users/jctull/sources/qgis/trunk/mac/xcode/build/snow/Qgis.build/Release/Qgis.build/Script-726302380F4532E000E4441E.sh

install_name_tool        "/Users/jctull/sources/qgis/trunk/mac/xcode/build/snow/Release/Qgis.app/Contents/MacOS/Qgis"
Usage: install_name_tool [-change old new] ... [-rpaths old new] ... [-add_rpath new] ... [-delete_rpath old] ... [-id name] input
Usage: install_name_tool [-change old new] ... [-rpaths old new] ... [-add_rpath new] ... [-delete_rpath old] ... [-id name] input
Usage: install_name_tool [-change old new] ... [-rpaths old new] ... [-add_rpath new] ... [-delete_rpath old] ... [-id name] input
Usage: install_name_tool [-change old new] ... [-rpaths old new] ... [-add_rpath new] ... [-delete_rpath old] ... [-id name] input
Usage: install_name_tool [-change old new] ... [-rpaths old new] ... [-add_rpath new] ... [-delete_rpath old] ... [-id name] input
Usage: install_name_tool [-change old new] ... [-rpaths old new] ... [-add_rpath new] ... [-delete_rpath old] ... [-id name] input
Usage: install_name_tool [-change old new] ... [-rpaths old new] ... [-add_rpath new] ... [-delete_rpath old] ... [-id name] input
Usage: install_name_tool [-change old new] ... [-rpaths old new] ... [-add_rpath new] ... [-delete_rpath old] ... [-id name] input
Usage: install_name_tool [-change old new] ... [-rpaths old new] ... [-add_rpath new] ... [-delete_rpath old] ... [-id name] input
Usage: install_name_tool [-change old new] ... [-rpaths old new] ... [-add_rpath new] ... [-delete_rpath old] ... [-id name] input
Usage: install_name_tool [-change old new] ... [-rpaths old new] ... [-add_rpath new] ... [-delete_rpath old] ... [-id name] input
Usage: install_name_tool [-change old new] ... [-rpaths old new] ... [-add_rpath new] ... [-delete_rpath old] ... [-id name] input
Usage: install_name_tool [-change old new] ... [-rpaths old new] ... [-add_rpath new] ... [-delete_rpath old] ... [-id name] input
Usage: install_name_tool [-change old new] ... [-rpaths old new] ... [-add_rpath new] ... [-delete_rpath old] ... [-id name] input
Usage: install_name_tool [-change old new] ... [-rpaths old new] ... [-add_rpath new] ... [-delete_rpath old] ... [-id name] input
Usage: install_name_tool [-change old new] ... [-rpaths old new] ... [-add_rpath new] ... [-delete_rpath old] ... [-id name] input
Usage: install_name_tool [-change old new] ... [-rpaths old new] ... [-add_rpath new] ... [-delete_rpath old] ... [-id name] input
Usage: install_name_tool [-change old new] ... [-rpaths old new] ... [-add_rpath new] ... [-delete_rpath old] ... [-id name] input
Usage: install_name_tool [-change old new] ... [-rpaths old new] ... [-add_rpath new] ... [-delete_rpath old] ... [-id name] input
Usage: install_name_tool [-change old new] ... [-rpaths old new] ... [-add_rpath new] ... [-delete_rpath old] ... [-id name] input
Usage: install_name_tool [-change old new] ... [-rpaths old new] ... [-add_rpath new] ... [-delete_rpath old] ... [-id name] input
Usage: install_name_tool [-change old new] ... [-rpaths old new] ... [-add_rpath new] ... [-delete_rpath old] ... [-id name] input
Usage: install_name_tool [-change old new] ... [-rpaths old new] ... [-add_rpath new] ... [-delete_rpath old] ... [-id name] input
Usage: install_name_tool [-change old new] ... [-rpaths old new] ... [-add_rpath new] ... [-delete_rpath old] ... [-id name] input
Usage: install_name_tool [-change old new] ... [-rpaths old new] ... [-add_rpath new] ... [-delete_rpath old] ... [-id name] input
Usage: install_name_tool [-change old new] ... [-rpaths old new] ... [-add_rpath new] ... [-delete_rpath old] ... [-id name] input
Usage: install_name_tool [-change old new] ... [-rpaths old new] ... [-add_rpath new] ... [-delete_rpath old] ... [-id name] input
Usage: install_name_tool [-change old new] ... [-rpaths old new] ... [-add_rpath new] ... [-delete_rpath old] ... [-id name] input
Usage: install_name_tool [-change old new] ... [-rpaths old new] ... [-add_rpath new] ... [-delete_rpath old] ... [-id name] input
Usage: install_name_tool [-change old new] ... [-rpaths old new] ... [-add_rpath new] ... [-delete_rpath old] ... [-id name] input
Usage: install_name_tool [-change old new] ... [-rpaths old new] ... [-add_rpath new] ... [-delete_rpath old] ... [-id name] input
Usage: install_name_tool [-change old new] ... [-rpaths old new] ... [-add_rpath new] ... [-delete_rpath old] ... [-id name] input
Usage: install_name_tool [-change old new] ... [-rpaths old new] ... [-add_rpath new] ... [-delete_rpath old] ... [-id name] input
Usage: install_name_tool [-change old new] ... [-rpaths old new] ... [-add_rpath new] ... [-delete_rpath old] ... [-id name] input
Usage: install_name_tool [-change old new] ... [-rpaths old new] ... [-add_rpath new] ... [-delete_rpath old] ... [-id name] input
Usage: install_name_tool [-change old new] ... [-rpaths old new] ... [-add_rpath new] ... [-delete_rpath old] ... [-id name] input
Usage: install_name_tool [-change old new] ... [-rpaths old new] ... [-add_rpath new] ... [-delete_rpath old] ... [-id name] input

=== BUILD AGGREGATE TARGET Full Qgis OF PROJECT Qgis WITH THE DEFAULT CONFIGURATION (Release) ===
Check dependencies
** BUILD FAILED **


The following build commands failed:
Qgis:
	Ld /Users/jctull/sources/qgis/trunk/mac/xcode/build/snow/Release/Qgis.app/Contents/MacOS/Qgis normal x86_64
(1 failure)


Thanks,
John


More information about the Qgis-developer mailing list