Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] Building rather than downloading CMake in macosx-setup.sh (w

From: Michael Tuexen <Michael.Tuexen@xxxxxxxxxxxxxxxxx>
Date: Sat, 26 Jul 2014 21:15:06 +0200
On 26 Jul 2014, at 20:39, Evan Huus <eapache@xxxxxxxxx> wrote:

> On Sat, Jul 26, 2014 at 2:11 PM, Guy Harris <guy@xxxxxxxxxxxx> wrote:
> 
> On Jan 14, 2012, at 6:40 AM, jmayer@xxxxxxxxxxxxx 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?
I would like to be able to build wireshark without the need to install homebrew,
at least on the buildbots. However, I'm fine with adding howebrew support, just
not removing what we have today.

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