Ethereal-users: Re: [ethereal-users] Ethereal on Freebsd! (fwd)

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

From: jason <jason@xxxxxxxxxxxxxxx>
Date: Wed, 1 Sep 1999 20:29:55 -0400 (EDT)
attached is the whole config.log :)

--
=======================================================================
|  Jason Welsh   jason@xxxxxxxxxxxxxxx   |   If you think there's     |
|                                        |   good in everybody, you   |
|      http://welsh.dynip.com/           |   haven't met everybody.   |
=======================================================================
> 
> "configure" should've left a "config.log" file in the current directory;
> what does that file say after "checking for GTK - version >= 1.2.0"?
> 
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:569: checking for a BSD compatible install
configure:622: checking whether build environment is sane
configure:679: checking whether make sets ${MAKE}
configure:726: checking for working aclocal
configure:739: checking for working autoconf
configure:752: checking for working automake
configure:765: checking for working autoheader
configure:778: checking for working makeinfo
configure:799: checking host system type
configure:823: checking for gcc
configure:936: checking whether the C compiler (gcc  ) works
configure:952: gcc -o conftest    conftest.c  1>&5
configure:978: checking whether the C compiler (gcc  ) is a cross-compiler
configure:983: checking whether we are using GNU C
configure:992: gcc -E conftest.c
configure:1011: checking whether gcc accepts -g
configure:1043: checking how to run the C preprocessor
configure:1064: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1125: checking for ranlib
configure:1157: checking for bison
configure:1193: checking for flex
configure:1226: checking for flex
configure:1260: checking for yywrap in -lfl
configure:1279: gcc -o conftest -g -O2   conftest.c -lfl   1>&5
configure:1302: checking lex output file root
configure:1323: checking whether yytext is a pointer
configure:1342: gcc -o conftest -g -O2   conftest.c  -lfl 1>&5
configure:1366: checking for perl
configure:1401: checking for flex
configure:1440: checking to see if we can add '-Wall' to CFLAGS
configure:1529: checking for gtk-config
configure:1564: checking for GTK - version >= 1.2.0
configure:1665: gcc -o conftest -Wall -g -O2 -Iwiretap -I/usr/X11R6/include -I/usr/local/lib/glib/include -I/usr/local/include   conftest.c -L/usr/local/lib -L/usr/X11R6/lib -lgtk -lgdk -lgmodule -lglib -lXext -lX11 -lm  1>&5
configure: failed program was:
#line 1587 "configure"
#include "confdefs.h"

#include <gtk/gtk.h>
#include <stdio.h>
#include <stdlib.h>

int 
main ()
{
  int major, minor, micro;
  char *tmp_version;

  system ("touch conf.gtktest");

  /* HP/UX 9 (%@#!) writes to sscanf strings */
  tmp_version = g_strdup("1.2.0");
  if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
     printf("%s, bad version string\n", "1.2.0");
     exit(1);
   }

  if ((gtk_major_version != 1) ||
      (gtk_minor_version != 2) ||
      (gtk_micro_version != 4))
    {
      printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n", 
             1, 2, 4,
             gtk_major_version, gtk_minor_version, gtk_micro_version);
      printf ("*** was found! If gtk-config was correct, then it is best\n");
      printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
      printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
      printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
      printf("*** required on your system.\n");
      printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
      printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
      printf("*** before re-running configure\n");
    } 
#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
  else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
	   (gtk_minor_version != GTK_MINOR_VERSION) ||
           (gtk_micro_version != GTK_MICRO_VERSION))
    {
      printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
	     GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
      printf("*** library (version %d.%d.%d)\n",
	     gtk_major_version, gtk_minor_version, gtk_micro_version);
    }
#endif /* defined (GTK_MAJOR_VERSION) ... */
  else
    {
      if ((gtk_major_version > major) ||
        ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
        ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
      {
        return 0;
       }
     else
      {
        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 version 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 script 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 point 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:1709: gcc -o conftest -Wall -g -O2 -Iwiretap -I/usr/X11R6/include -I/usr/local/lib/glib/include -I/usr/local/include   conftest.c  -L/usr/local/lib -L/usr/X11R6/lib -lgtk -lgdk -lgmodule -lglib -lXext -lX11 -lm 1>&5