Wireshark-dev: [Wireshark-dev] Small Wiki Edit: Building Wireshark on macOS using Homebrew
From: David Kreitschmann <david@xxxxxxxxxxxxxxx>
Date: Fri, 23 Jun 2017 19:25:10 +0200
Hi,

I have a small change in the Wiki, probably not worth creating an account for this.

The steps here to build Wireshark using homebrew recommend some unnecessary and invasive changes in /usr/local.
https://wiki.wireshark.org/BuildingAndInstalling

It would be great if someone could update it. I would also recommend using Xcode for developing on the mac.

Remove:
Special step to work around bug in Qt/Homebrew: brew link --force qt5 && ln -s /usr/local/Cellar/qt5/5.3.2/mkspecs /usr/local/mkspecs && ln -s /usr/local/Cellar/qt5/5.3.2/plugins /usr/local/plugins

Replace with:
export PATH=/usr/local/opt/qt5/bin:$PATH

You can also use Xcode to build and debug wireshark:
mkdir build && cd build && cmake -G Xcode ../ will create a project file
On the first start don't autogenerate the targets, just add wireshark (with the application icon) manually.

Thanks!

David

Attachment: signature.asc
Description: Message signed with OpenPGP