Wireshark-bugs: [Wireshark-bugs] [Bug 10876] '--disable-glibtest' not working
Date: Tue, 17 May 2016 08:02:50 +0000

Comment # 13 on bug 10876 from
(In reply to Guy Harris from comment #12)
> (In reply to Steven Swor from comment #9)
> > (In reply to João Valverde from comment #7)
> > > (In reply to Steven Swor from comment #4)
> > > > Created attachment 14569 [details]
> > > > config.log for --enable-wireshark=no --disable-glibtest on centos7
> > > > 
> > > > I'm running into the same issue with RHEL7.2. I've been able to reproduce it
> > > > with an official centos7 docker image.
> > > > 
> > > > Attached is the config.log for running `./configure --enable-wireshark=no
> > > > --disable-glibtest`.
> > > 
> > > yum install -y glib2-devel
> > 
> > Thanks, João. After installing glib2-devel I'm able to build.
> > 
> > Would this be considered a workaround? If I use `--enable-wireshark=no` and
> > `--enable-glibtest=no`, shouldn't that eliminate the glib dependency
> > entirely?
> 
> The only way to eliminate a dependency on GLib would be to take *all* of the
> code in:
> 
>     libwiretap;
> 
>     libwireshark;
> 
>     libwsutil;
> 
>     tshark and all the other command-line utilities;
> 
>     the Qt version of Wireshark;
> 
>     all the other libraries;
> 
> that uses GLib routines and change it not to use GLib routines.
> 
> Otherwise, Wireshark *requires* Glib, *even if you're not building the GUI
> version of Wireshark*.
> 
> Is there any reason the inability of anything in the Wireshark source
> distribution to be built without GLib should be treated as anything other
> than a not-likely-to-be-implemented-anytime-in-the-near-future enhancement
> request (i.e. as a request to get rid of all the non-GTK+ code that uses
> GLib)?

Looping back to the original bug report from Michael Davey, it looks like the
issue is just a bit of confusion as to what libraries are actually required to
build the wireshark components vs what the various options in the configure
script do. I can't speak for Michael, but I certainly assumed glib was only
required to build the gui components (hence the confusion).

If glib is still required to build the various non-gui components then I guess
it still has to be present at build time, and this bug report can be closed
either as INVALID or WORKSFORME (my preference is INVALID). Maybe there's a
separate bugzilla that needs to be opened for making the documentation a bit
more clear as to what the build-time dependencies are.


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