On Sun, Sep 02, 2001 at 01:04:37PM -0700, Guy Harris wrote:
| On Sun, Sep 02, 2001 at 04:11:43PM +0200, Paul de Weerd wrote:
| > For one of my boxes I'm trying to build tethereal. It's a
| > headless machine and has no X whatsoever. This also means
| > no gtk+/glib.
|
| No, it doesn't. It may mean "no GTK+", but GLib doesn't depend on X, so
| you can install it on machines that don't have X.
Ok, I didn't know this. Never too old to learn I suppose. But
I wasn't planning on installing glib since I figured I had
little software requiring it so the box was heading for a
glib-less installation ;)
| You *CANNOT* build Tethereal without GLib; it makes significant use of
| GLib facilities, and will continue to do so for the foreseeable future.
>From the README from the glib-1.2.10 source tree :
This is GLib version 1.2.10. GLib is a library which includes support
routines for C such as lists, trees, hashes, memory allocation, and
many other things.
Hmm - I was completely unaware ;P. I should read before I install
next time ! Probably a bit ignorant on my side, I took it for a
graphics library (GraphicsLIBrary -> GLIB), also since it is
often required next to GTK+.
Anyway - this means I will probably install glib afterall. But what
about the `make tethereal_static` on another box (with glib et al)
that didn't work ? A static built binary doesn't leed any libraries
to run so should also run on a box without glib. I have in the past
built a static tethereal (before there was/I knew about the
tethereal_static target for make) that worked on other boxes with
no glib/gtk+.
BTW: this is a slackware i386 box with most software compiled from
sources as opposed to installing the packages from CD/web.
thanks,
Paul 'WEiRD' de Weerd