Ethereal-dev: [Ethereal-dev] Re: [ethereal-users] compiling tethereal without GTK

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

From: Gilbert Ramirez <gram@xxxxxxxxxx>
Date: Wed, 22 Nov 2000 13:42:07 -0500
On Wed, Nov 22, 2000 at 11:40:13AM -0500, Kai wrote:
> At Tuesday 11:10 PM 11/21/00, Gilbert Ramirez wrote:
> 
> >I just now checked into CVS changes that will allow you to build
> >tethereal and editcap without needing GTK+ installed. Thanks to Guy for
> >doing to code cleanup for me; I only had to deal with autoconf/automake.
> >
> >The new configure script can detect if you don't have GTK+, and if you don't,
> >it won't build ethereal. You can enable/disable any of the 3 targets,
> >ethereal, tethereal, and editcap, with --enable-XXX and --disable-XXX flags
> >(where XXX is the target).
> >
> >--gilbert
> >
> >__
> 
> 
> Greetings. I was the original poster asking this question, I believe.
> 
> Seeing the above post, I downloaded the sources of ethereal-0.8.14.tar.gz
> dated 20-Nov-2000, but haven't had much luck with them.

My changes won't be in the 0.8.14 distribution, but in CVS, or as
you surmised, the nightly builds. Actually, "nightly build" is a misnomer,
it's a "nightly tarball of the CVS repository"
 
> What version of the sources started to support the non-GTK+ builds
> (and why was yesterday's nightly build missing the "configure" program
>  in the tarball?), and what option has to be chosen for configure
> exactly?

ethereal-2000-11-22.tar.gz should have the changes. When you build with
one of these tarballs, it's like building from CVS, so you have to follow
the instructions at:

http://www.ethereal.com/development.html#anoncvs

That is, make sure you have the requisite tools, and run:

./autogen.sh

This process will create the configure script and run it.

> 
> Should
> 
> $ ./configure --disable-tethereal --without-gtk-prefix --without-gtk-exec-prefix --disable-gtktest
> 
> do the trick ?

./configure  should do the trick. I tried to make the configure script smart
enough to detect the absence of GTK+ by itself.

--gilbert