Wireshark mailing list archives

Re: Building rather than downloading CMake in macosx-setup.sh (was Re: [Wireshark-commits] rev 40498: /trunk/ /trunk/: macosx-setup.sh)


From: Evan Huus <eapache () gmail com>
Date: Sat, 26 Jul 2014 14:39:32 -0400

On Sat, Jul 26, 2014 at 2:11 PM, Guy Harris <guy () alum mit edu> wrote:


On Jan 14, 2012, at 6:40 AM, jmayer () wireshark org wrote:

http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=40498

User: jmayer
Date: 2012/01/14 06:40 AM

Log:
Optionally build cmake, document why we need xz

Directory: /trunk/
 Changes    Path               Action
 +20 -3     macosx-setup.sh    Modified

So is there a reason to build CMake from source rather than downloading
one of the binaries for OS X?


I don't think so. About a month ago I played around with building on OS X
using homebrew packages instead of macosx-setup.sh. Jörg helped me fix a
few things at Sharkfest, and I believe (though I haven't recently verified)
that [1] is the only thing standing in the way of building wireshark (with
cmake) using only homebrew packages, i.e. without running macosx-setup.sh
at all.

In fact, I believe my current macbook still builds Wireshark entirely from
homebrew (with some extra manual symlinks added to work around [1]). I have
no idea how autotools would behave with a similar setup, but if it is also
happy it might be worth simplifying macosx-setup.sh to:
- install the appropriate brew packages
- add symlinks to work around [1]

Thoughts?

[1] http://cmake.org/Bug/view.php?id=14974
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: