Ethereal-dev: Re: [Ethereal-dev] Compiling with glib2/gtk+2 (not yet) (with attach)

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <gharris@xxxxxxxxx>
Date: Mon, 19 Aug 2002 13:52:20 -0700
On Mon, Aug 19, 2002 at 10:44:03PM +0200, Michael Tuexen wrote:
> I also vote for fewer is better then more.
> On Mac OS X 10.2 you can compile tethereal (after installing the glib)
> but 'out of the box' there is no XServer installed. I think in
> such a setup tethereal is very helpful. If the user also wants
> ethereal, he has to install an XServer (with the libraries and sources,
> which means the XFree86 release) and then can easily build ethereal.
> But this should not be required.

Well, you should, with current versions of Ethereal, be able to build
from the release tarball without having X installed; try

	./configure --disable-ethereal

to get it *not* to build Ethereal.  In fact, it looks as if
"configure.in" might automatically disable Ethereal builds if GTK+ isn't
found.

However, it'd be nice if there were a way we could make that work with
CVS builds as well, although it's a bit harder, given that the configure
script is built from source, and you'd need to somehow prevent it from
referring to "AM_PATH_GTK" if enough of GTK+ isn't installed to define
that macro.

(Of course, arguably the right long-term answer for that *particular*
platform is to finish splitting off the GUI code from the rest of
Ethereal, and do an Aqua version....)