Ethereal-dev: Re: [ethereal-dev] Sorry for the repost
Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.
Date: Thu, 14 Sep 2000 15:30:17 -0500
Did you install gtk from a distribution package or from source?
If from a distribution package, there might be a package called gtk-dev (vs.
gtk), which
will contain the header files you need. Be sure to install both gtk-dev and
glib-dev
If from source, where were your header files installed? Where is gtk/gtk.h on
your
system? gcc was not able to find it when compiling conftest.
--gilbert
"Super-User" <macinen@xxxxxxxxxx> on 09/14/2000 03:24:07 PM
Please respond to macinen@xxxxxxxxxx
To: ethereal-dev@xxxxxxxx
cc: (bcc: Gilbert Ramirez/Tivoli Systems)
Subject: [ethereal-dev] Sorry for the repost
Sorry for this repost, but I was not getting any email from
ethereal-dev, and was not sure if anyone answered this qustion. Please
bear with me. Thanks, Mark
Please Help,
I am trying to compile ethereal on Solaris 8 x86. I have all the
latest required packages installed. When I run ./configure, this is
what I get.
checking to see if we can add '-Wall' to CFLAGS... yes
checking for platform-specific compiler flags... none needed
checking for LD_LIBRARY_PATH... no -- this may be a problem in a few
seconds
checking for glib-config... /usr/local/bin/glib-config
checking for GLIB - version >= 1.2.0... yes
checking for gtk-config... /usr/local/bin/gtk-config
checking for GTK - version >= 1.2.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 was incorrectly
installed
*** or that you have moved GTK since it was installed. In the latter
case, you
*** may want to edit the gtk-config script: /usr/local/bin/gtk-config
configure: error: GTK+ distribution not found.
Has anyone seen this before. My config.log says
printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
gtk_major_version, gtk_minor_version, gtk_micro_version);
printf("*** You need a version of GTK+ newer than %d.%d.%d. The
latest ver
sion of\n",
major, minor, micro);
printf("*** GTK+ is always available from
ftp://ftp.gtk.org.\n");
printf("***\n");
printf("*** If you have already installed a sufficiently new
version, this
error\n");
printf("*** probably means that the wrong copy of the gtk-config
shell scr
ipt is\n");
printf("*** being found. The easiest way to fix this is to
remove the old
version\n");
printf("*** of GTK+, but you can also set the GTK_CONFIG
environment to po
int to the\n");
printf("*** correct copy of gtk-config. (In this case, you will
have to\n"
);
printf("*** modify your LD_LIBRARY_PATH enviroment variable, or
edit /etc/
ld.so.conf\n");
printf("*** so that the correct libraries are found at
run-time))\n");
}
}
return 1;
}
configure:2275: gcc -o conftest -Wall -g -O2 -I$(top_srcdir)
-I$(top_srcdir)/wiret
ap -I/usr/local/include -I/usr/openwin/include
-I/usr/local/lib/glib/include -I/us
r/local/include -I$(top_srcdir) -I$(top_srcdir)/wiretap
-I/usr/local/include -L/
usr/local/lib -R/usr/local/lib conftest.c -L/usr/local/lib
-L/usr/openwin/lib -R/
usr/openwin/lib -lgtk -lgdk -lgmodule -lglib -ldl -lXext -lX11 -lsocket
-lnsl -lm
1>&5
configure:2267: gtk/gtk.h: No such file or directory
configure: failed program was:
#line 2265 "configure"
#include "confdefs.h"
#include <gtk/gtk.h>
#include <stdio.h>
int main() {
return ((gtk_major_version) || (gtk_minor_version) ||
(gtk_micro_version));
; return 0; }
However when I type in gtk-config --version I get this.
# gtk-config --version
1.2.6
I this not the latest GTK I should be running?
thanks in advance for any insight to this issue.
Mark
- Prev by Date: [ethereal-dev] Sorry for the repost
- Next by Date: Re: [ethereal-dev] ECN = Explicit Congestion Notification
- Previous by thread: [ethereal-dev] Sorry for the repost
- Next by thread: [ethereal-dev] gtk+ and glib for Digital^h^h^h^h^h^h^hTru64 UNIX
- Index(es):