Wireshark-dev: [Wireshark-dev] Building on MAC fails after adding building of the bundle.
From: Anders Broman <a.broman58@xxxxxxxxx>
Date: Tue, 3 Feb 2015 11:03:42 +0100
Hi,
The build now fails with:
packaging/macosx/osx-app.sh: line 588: macdeployqt: command not found
make[2]: *** [app_bundle] Error 1
make[1]: *** [CMakeFiles/app_bundle.dir/all] Error 2
make: *** [all] Error 2

I don’t have the the path to macdeployqt in my PATH, should I? 

Fixing  the path results in another bunch of errors :-(

ERROR: Could not find bundle binary for "Wireshark.app" 
ERROR: "error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool: can't open file:  (No such file or directory)
Log: 
Log: Deploying Qt frameworks found inside: ("", "Wireshark.app/Contents/Frameworks/libcares.2.dylib", "Wireshark.app/Contents/Frameworks/libgcrypt.11.dylib", "Wireshark.app/Contents/Frameworks/libGeoIP.1.dylib", "Wireshark.app/Contents/Frameworks/libglib-2.0.0.dylib", "Wireshark.app/Contents/Frameworks/libgmodule-2.0.0.dylib", "Wireshark.app/Contents/Frameworks/libgnutls.26.dylib", "Wireshark.app/Contents/Frameworks/libgpg-error.0.dylib", "Wireshark.app/Contents/Frameworks/libintl.8.dylib", "Wireshark.app/Contents/Frameworks/libsmi.2.dylib", "Wireshark.app/Contents/Frameworks/libwireshark.0.0.0.dylib", "Wireshark.app/Contents/Frameworks/libwireshark.0.dylib", "Wireshark.app/Contents/Frameworks/libwireshark.dylib", "Wireshark.app/Contents/Frameworks/libwiretap.0.0.0.dylib", "Wireshark.app/Contents/Frameworks/libwiretap.0.dylib", "Wireshark.app/Contents/Frameworks/libwiretap.dylib", "Wireshark.app/Contents/Frameworks/libwsutil.0.0.0.dylib", "Wireshark.app/Contents/Frameworks/libwsutil.0.dylib", "Wireshark.app/Contents/Frameworks/libwsutil.dylib") 
ERROR: "error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool: can't open file:  (No such file or directory)
ERROR: "" 
ERROR: no file at "/Users/andersbroman/OneWireshark/build/run/Wireshark.app/Contents/lib/libwiretap.0.dylib" 
ERROR: "error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool: can't open file:  (No such file or directory)
ERROR: "" 
ERROR: no file at "/Users/andersbroman/OneWireshark/build/run/Wireshark.app/Contents/lib/libwsutil.0.dylib" 
ERROR: "error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool: can't open file:  (No such file or directory)
ERROR: "" 
ERROR: "error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool: can't open file:  (No such file or directory)
ERROR: "" 
ERROR: "error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool: can't open file:  (No such file or directory)
ERROR: "" 
ERROR: "error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool: can't open file:  (No such file or directory)
ERROR: "" 
ERROR: "error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool: can't open file:  (No such file or directory)
ERROR: "" 
ERROR: "error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool: can't open file:  (No such file or directory)
ERROR: "" 
ERROR: "error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool: can't open file:  (No such file or directory)
ERROR: "" 
ERROR: "error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool: can't open file:  (No such file or directory)
ERROR: "" 
ERROR: "error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool: can't open file:  (No such file or directory)
ERROR: "" 
Log: 
ERROR: Could not find bundle binary for "Wireshark.app" 
Log: Deploying plugins from "/Developer/Applications/Qt/plugins" 
ERROR: file copy failed from "/Developer/Applications/Qt/plugins/platforms/libqcocoa.dylib" 
ERROR:  to "Wireshark.app/Contents/PlugIns/platforms/libqcocoa.dylib" 
ERROR: file copy failed from "/Developer/Applications/Qt/plugins/printsupport/libcocoaprintersupport.dylib" 
ERROR:  to "Wireshark.app/Contents/PlugIns/printsupport/libcocoaprintersupport.dylib" 
WARNING: 
WARNING: "Wireshark.app/Contents/Resources/qt.conf" already exists, will not overwrite. 
WARNING: To make sure the plugins are loaded from the correct location, 
WARNING: please make sure qt.conf contains the following lines: 
WARNING: [Paths] 
WARNING:   Plugins = PlugIns 


Regards
Anders