Ethereal-users: [Ethereal-users] 0.10.6 Config problems on MontaVista 3.0, Carrier Grade Edition
This is my first attempt at Ethereal installation.
The end of the ./config run is:
checking for GTK+ - version >= 2.0.0... no
*** Could not run GTK+ test program, checking why...
*** The test program failed to compile or link. See the file config.log
for the
*** exact error that occured. This usually means GTK+ is incorrectly
installed.
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for GLIB - version >= 2.0.0... no
*** Could not run GLIB test program, checking why...
*** The test program failed to compile or link. See the file config.log
for the
*** exact error that occured. This usually means GLIB is incorrectly
installed.
configure: error: GLib distribution not found.
And yet, GTK+ and GLIB are installed:
geo@ipprobe7:/inet/ethereal-0.10.6: gtk-config --version
1.2.10
geo@ipprobe7:/inet/ethereal-0.10.6: glib-config --version
1.2.10
The installation guide INSTALL Ethereal needs verions 1.2.0 or above
(which I have).
Now, the config errors in config.log which appear to be relevant are:
configure:9404: checking for GTK+ - version >= 2.0.0
configure:9549: result: no
configure:9582: gcc -o conftest -D_U_="__attribute__((unused))" -Wall -W
-I/usr/include -I/usr/local/include -I/usr/include/glib-1.2
-I/usr/local/include/gtk-1.2 -I/usr/local/include/gtk-1.2/gtk
-I/usr/lib/glib/include -I/usr/local/include -I/usr/local/include
-L/usr/lib -L/usr/local/lib -L/inet/linux/lib -L/usr/local/lib
conftest.c >&5
/tmp/ccvWFei5.o: In function `main':
/tmp/ccvWFei5.o(.text+0x19): undefined reference to `gtk_major_version'
/tmp/ccvWFei5.o(.text+0x22): undefined reference to `gtk_minor_version'
/tmp/ccvWFei5.o(.text+0x2b): undefined reference to `gtk_micro_version'
configure:10049: checking for GLIB - version >= 2.0.0
configure:10198: result: no
configure:10231: gcc -o conftest -D_U_="__attribute__((unused))" -Wall
-W -I/usr/include -I/usr/local/include -I/usr/include/glib-1.2
-I/usr/local/include/gtk-1.2 -I/usr/local/include/gtk-1.2/gtk
-I/usr/lib/glib/include -I/usr/local/include -I/usr/local/include
-L/usr/lib -L/usr/local/lib -L/inet/linux/lib -L/usr/local/lib
conftest.c >&5
/tmp/ccidZMlq.o: In function `main':
/tmp/ccidZMlq.o(.text+0x19): undefined reference to `glib_major_version'
/tmp/ccidZMlq.o(.text+0x22): undefined reference to `glib_minor_version'
/tmp/ccidZMlq.o(.text+0x2b): undefined reference to `glib_minor_version'
I can find gtk_major_version, gtk_minor_version, gtk_minor_version:
geo@ipprobe7:/usr/local/lib: nm libgtk.a | grep version
00000000 T gtk_check_version
00000000 R gtk_major_version
00000008 R gtk_micro_version
00000004 R gtk_minor_version
and similarly for glib:
geo@ipprobe7:/usr/lib: nm libglib.a | grep version
00000000 R glib_major_version
00000008 R glib_micro_version
00000004 R glib_minor_version
Both /usr/lib and /usr/local/lib are in the library path (see the gcc
command lines above).
Can anyone advise a newbie?
Thanks, Bob.
------------------------------------------------------------------------
Confidentiality Notice: This e-mail transmission may contain
confidential and/or privileged information that is intended only for the
individual or entity named in the e-mail address. If you are not the
intended recipient, you are hereby notified that any disclosure,
copying, distribution or reliance upon the contents of this e-mail
message is strictly prohibited. If you have received this e-mail
transmission in error, please reply to the sender, so that proper
delivery can be arranged, and please delete the message from your
computer. Thank you.
Inet Technologies, Inc.
------------------------------------------------------------------------