Ethereal-dev: [Ethereal-dev] Here's a Solaris 9/Sparc compilation tip

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

From: Rich Kulawiec <rsk@xxxxxxx>
Date: Wed, 12 Feb 2003 08:49:00 -0500
Environment:
	SunOS vorlon 5.9 Generic sun4m sparc
	gcc (GCC) 3.2 (compiled from source, in /usr/local)
	glib-1.2.10 (compiled from source, in /usr/local)
	gtk+-1.2.10 (compiled from source, in /usr/local)
	openssl-0.9.6g (compiled from source, in /usr/local)
	Sun GNOME Beta 2 in /usr/gnome

The problem I *think* I have bumped into and gotten past is that
having two copies of GTK on the system has caused some minor
confusion over GTK version numbers.  I believe that "configure"
is running /usr/local/bin/gtk-config and /usr/local/bin/glib-config
but *may* be finding the include files in /usr/gnome/lib. (I think
this because configure appeared to figure out from gtk-config that
1.2.10 was installed, but then subsequently found that the installed
include file aren't 1.2.10.)

For the moment, I've worked around it with this:

./configure --with-ssl=/usr/local/ssl --with-glib-prefix=/usr/local --with-glib-exec-prefix=/usr/local --with-gtk-prefix=/usr/local --with-gtk-exec=/usr/local --disable-gtktest --disable-glibtest

which does seem to produce a functioning ethereal.  Honestly, this is
by no means a complete diagnosis and fix; I just thought it might be
worth mentioning because I'll bet other people have downloaded the
Sun GNOME Beta (or now, the official release) and might be encoutering
similar problems.  Maybe this will help point them in a useful direction.

---Rsk