Ethereal-users: [ethereal-users] compile problem...Please Help.

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

From: "Super-User" <macinen@xxxxxxxxxx>
Date: Wed, 13 Sep 2000 07:25:49 -0600
Greetings fellow etherealers,

    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