Building without a third-party package source
To build Wireshark on OS X without a third-party package source such as Homebrew:
-
Get the source either from the git repository or a tarball distribution.
-
Install all the necessary and optional libraries and tools with the macosx-setup.sh script (from within the source directory): ./macosx-setup.sh
-
Build it (from within the source directory): mkdir build && cd build && cmake ../ && make
-
Run it (the Qt version) with ./run/qtshark
https://wiki.wireshark.org/BuildingAndInstalling