Wireshark-bugs: [Wireshark-bugs] [Bug 11399] New: Using macosx-setup seems to prevent installing

Date: Sat, 25 Jul 2015 16:24:45 +0000
Bug ID 11399
Summary Using macosx-setup seems to prevent installing pre-built binary
Product Wireshark
Version 1.99.x (Experimental)
Hardware x86
OS Mac OS X 10.10
Status UNCONFIRMED
Severity Normal
Priority Low
Component Build process
Assignee [email protected]
Reporter [email protected]

Build Information:
Version 1.99.9 (v1.99.9rc0-8-g25094d9 from unknown)

Copyright 1998-2015 Gerald Combs <[email protected]> and contributors.
License GPLv2+: GNU GPL version 2 or later
<http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled (64-bit) with Qt 5.2.1, with libpcap, without POSIX capabilities, with
libz 1.2.5, with GLib 2.36.0, with SMI 0.4.8, with c-ares 1.10.0, with Lua 5.2,
with GnuTLS 2.12.19, with Gcrypt 1.5.0, with MIT Kerberos, with GeoIP, without
PortAudio, without AirPcap.

Running on Mac OS X 10.10.4, build 14E46 (Darwin 14.4.0), with locale C, with
libpcap version 1.5.3 - Apple version 47, with libz 1.2.5, with GnuTLS 2.12.19,
with Gcrypt 1.5.0.
Intel(R) Core(TM) i7-4980HQ CPU @ 2.80GHz (with SSE4.2)

Built using clang 4.2.1 Compatible Apple LLVM 6.1.0 (clang-602.0.53).

Wireshark is Open Source Software released under the GNU General Public
License.

Check the man page and http://www.wireshark.org for more information
--
I'm not sure if this a bug or expected behavior, but I'm submitting this bug to
(a) find out, and (b) find out how to fix it. :)

I used macosx-setup.sh to install all the libs and such for a local git clone
of master, on Yosemite.  It worked beautifully!  Saved me a ton of headaches.

I used it so that I could build wireshark for development, using CMake in an
out-of-source build. I do *NOT* run 'make install', just 'make'. I test the
built binaries from the 'run' directory that cmake/make generates.

However, when I tried installing the pre-built 1.12.6 Wireshark package from
wireshark.org - which should install in the Applications folder on my Mac and
allow me to have 1.12.6 Wireshark installed separately from my
compiled-from-source version - it seemed to install somewhere else. (not in
Applications) I have no idea where it went, and running `wireshark` from the
command line produces this:

/usr/local/bin/wireshark: line 30:
/Users/hadrielk/Projects/wireshark1/build/run/Wireshark.app/Contents/Resources/bin/wireshark:
No such file or directory
/usr/local/bin/wireshark: line 30: exec:
/Users/hadrielk/Projects/wireshark1/build/run/Wireshark.app/Contents/Resources/bin/wireshark:
cannot execute: No such file or directory

The "/Users/hadrielk/Projects/wireshark1" is my git repo, and the "build"
inside that is where my building occurs.

Some more info, if it helps:
[hadrielk@Mac ~]$ echo $WIRESHARK_RUN_FROM_BUILD_DIRECTORY

[hadrielk@Mac ~]$ echo $WS_BIN_PATH

[hadrielk@Mac ~]$ echo $WIRESHARK_APP_DIR

[hadrielk@Mac ~]$ mdfind "kMDItemCFBundleIdentifier ==
'org.wireshark.Wireshark'" | head -n 1
/Users/hadrielk/Projects/wireshark1/build/run/Wireshark.app


You are receiving this mail because:
  • You are watching all bug changes.