Ethereal-users: RE: [Ethereal-users] Error making 0.9.6 on Solaris 2.6

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

From: "Morgan, Chip E." <Chip.Morgan@xxxxxxxxxx>
Date: Mon, 26 Aug 2002 16:17:34 -0400
Jörg,
   Here you go...
Thanks,
   Chip

-----Original Message-----
From: Super-User
Sent: Monday, August 26, 2002 4:18 PM
Subject: File epan/config.log



This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:740: checking for a BSD compatible install
configure:793: checking whether build environment is sane
configure:850: checking whether make sets ${MAKE}
configure:896: checking for working aclocal
configure:909: checking for working autoconf
configure:922: checking for working automake
configure:935: checking for working autoheader
configure:948: checking for working makeinfo
configure:972: checking host system type
configure:996: checking for gcc
configure:1109: checking whether the C compiler (gcc  ) works
configure:1125: gcc -o conftest    conftest.c  1>&5
configure:1151: checking whether the C compiler (gcc  ) is a cross-compiler
configure:1156: checking whether we are using GNU C
configure:1184: checking whether gcc accepts -g
configure:1216: checking how to run the C preprocessor
configure:1300: checking for bison
configure:1336: checking for flex
configure:1369: checking for flex
configure:1403: checking for yywrap in -lfl
configure:1445: checking lex output file root
configure:1466: checking whether yytext is a pointer
configure:1518: checking for Cygwin environment
configure:1551: checking for mingw32 environment
configure:1649: checking build system type
configure:1678: checking for ld used by GCC
configure:1746: checking if the linker (/usr/ccs/bin/ld) is GNU ld
configure:1763: checking for /usr/ccs/bin/ld option to reload object files
configure:1775: checking for BSD-compatible nm
configure:1813: checking whether ln -s works
configure:1834: checking how to recognise dependant libraries
configure:2017: checking for object suffix
configure:2043: checking for executable suffix
configure:2084: checking command to parse /usr/xpg4/bin/nm -p output
configure:2267: checking for dlfcn.h
configure:2445: checking for ranlib
configure:2512: checking for strip
configure:2755: checking for objdir
configure:2782: checking for gcc option to produce PIC
configure:2934: checking if gcc PIC flag  -fPIC works
configure:3000: checking if gcc static flag -static works
configure:3042: checking if gcc supports -c -o file.o
configure:3090: checking if gcc supports -c -o file.lo
configure:3158: checking if gcc supports -fno-rtti -fno-exceptions
configure:3171: gcc -c -g -O2 -fno-rtti -fno-exceptions -c conftest.c
conftest.c 1>&5
configure:3198: checking whether the linker (/usr/ccs/bin/ld) supports
shared libraries
configure:3882: checking how to hardcode library paths into programs
configure:3910: checking whether stripping libraries is possible
configure:3924: checking dynamic linker characteristics
configure:4321: checking if libtool supports shared libraries
configure:4325: checking whether to build shared libraries
configure:4348: checking whether to build static libraries
configure:5488: checking for flex
configure:5532: checking to see if we can add '-Wall -W' to CFLAGS
configure:5545: checking for platform-specific compiler flags
configure:5658: checking for glib-config
configure:5693: checking for GLIB - version >= 1.1.0
configure:5792: gcc -o conftest -D_U_="__attribute__((unused))" -Wall -W -g
-O2 -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include   conftest.c
-L/usr/local/lib -lgmodule -lglib -ldl  1>&5
configure: In function `main':
configure:5764: warning: comparison between signed and unsigned
configure:5765: warning: comparison between signed and unsigned
configure:5765: warning: comparison between signed and unsigned
configure:5766: warning: comparison between signed and unsigned
configure:5766: warning: comparison between signed and unsigned
configure:5766: warning: comparison between signed and unsigned
configure: failed program was:
#line 5716 "configure"
#include "confdefs.h"

#include <glib.h>
#include <stdio.h>
#include <stdlib.h>

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

  system ("touch conf.glibtest");

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

  if ((glib_major_version != 1) ||
      (glib_minor_version != 2) ||
      (glib_micro_version != 10))
    {
      printf("\n*** 'glib-config --version' returned %d.%d.%d, but GLIB
(%d.%d.%d)\n", 
             1, 2, 10,
             glib_major_version, glib_minor_version, glib_micro_version);
      printf ("*** was found! If glib-config was correct, then it is
best\n");
      printf ("*** to remove the old version of GLIB. 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 glib-config was wrong, set the environment variable
GLIB_CONFIG\n");
      printf("*** to point to the correct copy of glib-config, and remove
the file config.cache\n");
      printf("*** before re-running configure\n");
    } 
  else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
	   (glib_minor_version != GLIB_MINOR_VERSION) ||
           (glib_micro_version != GLIB_MICRO_VERSION))
    {
      printf("*** GLIB header files (version %d.%d.%d) do not match\n",
	     GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
      printf("*** library (version %d.%d.%d)\n",
	     glib_major_version, glib_minor_version, glib_micro_version);
    }
  else
    {
      if ((glib_major_version > major) ||
        ((glib_major_version == major) && (glib_minor_version > minor)) ||
        ((glib_major_version == major) && (glib_minor_version == minor) &&
(glib_micro_version >= micro)))
      {
        return 0;
       }
     else
      {
        printf("\n*** An old version of GLIB (%d.%d.%d) was found.\n",
               glib_major_version, glib_minor_version, glib_micro_version);
        printf("*** You need a version of GLIB newer than %d.%d.%d. The
latest version of\n",
	       major, minor, micro);
        printf("*** GLIB 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 glib-config
shell script is\n");
        printf("*** being found. The easiest way to fix this is to remove
the old version\n");
        printf("*** of GLIB, but you can also set the GLIB_CONFIG
environment to point to the\n");
        printf("*** correct copy of glib-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:5836: gcc -o conftest -D_U_="__attribute__((unused))" -Wall -W -g
-O2 -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include   conftest.c
-L/usr/local/lib -lgmodule -lglib -ldl 1>&5
configure:5876: checking for ANSI C header files
configure:5983: checking for stdarg.h
configure:5983: checking for direct.h
configure:5993: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:5989: direct.h: No such file or directory
configure: failed program was:
#line 5988 "configure"
#include "confdefs.h"
#include <direct.h>
configure:5983: checking for dirent.h
configure:5993: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:5983: checking for fcntl.h
configure:5983: checking for netdb.h
configure:5983: checking for unistd.h
configure:6023: checking for sys/param.h
configure:6033: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:6023: checking for sys/socket.h
configure:6023: checking for sys/stat.h
configure:6023: checking for sys/time.h
configure:6023: checking for sys/types.h
configure:6063: checking for netinet/in.h
configure:6103: checking for arpa/inet.h
configure:6103: checking for arpa/nameser.h
configure:6113: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:6150: checking whether to enable ipv6 name resolution if available
configure:6160: checking ipv6 stack type
configure:6167: /usr/local/v6/include/sys/types.h: No such file or directory
configure:6273: features.h: No such file or directory
configure:6311: checking for inet_aton
configure:6339: gcc -o conftest -D_U_="__attribute__((unused))" -Wall -W -g
-O2   conftest.c  1>&5
Undefined			first referenced
 symbol  			    in file
inet_aton                           /var/tmp/ccMpKfqZ.o
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure: failed program was:
#line 6316 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char inet_aton(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char inet_aton();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_inet_aton) || defined (__stub___inet_aton)
choke me
#else
inet_aton();
#endif

; return 0; }
configure:6371: checking for inet_pton
configure:6399: gcc -o conftest -D_U_="__attribute__((unused))" -Wall -W -g
-O2   conftest.c  1>&5
Undefined			first referenced
 symbol  			    in file
inet_pton                           /var/tmp/ccDuHl21.o
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure: failed program was:
#line 6376 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char inet_pton(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char inet_pton();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_inet_pton) || defined (__stub___inet_pton)
choke me
#else
inet_pton();
#endif

; return 0; }
configure:6468: checking for inet_ntop
configure:6496: gcc -o conftest -D_U_="__attribute__((unused))" -Wall -W -g
-O2   conftest.c  1>&5
Undefined			first referenced
 symbol  			    in file
inet_ntop                           /var/tmp/cc1zSXWg.o
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure: failed program was:
#line 6473 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char inet_ntop(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char inet_ntop();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_inet_ntop) || defined (__stub___inet_ntop)
choke me
#else
inet_ntop();
#endif

; return 0; }
configure:6528: checking for strptime
configure:6585: checking whether GLib supports loadable modules
configure:6612: gcc -o conftest -D_U_="__attribute__((unused))" -Wall -W -g
-O2   conftest.c  1>&5
configure:6596: glib.h: No such file or directory
configure:6597: gmodule.h: No such file or directory
configure: failed program was:
#line 6594 "configure"
#include "confdefs.h"

#include <glib.h>
#include <gmodule.h>
#include <stdio.h>
#include <stdlib.h>

int 
main ()
{
  if (g_module_supported())
    return 0;	/* success */
  else
    return 1;	/* failure */
}


-----Original Message-----
From: Joerg Mayer [mailto:jmayer@xxxxxxxxx]
Sent: Monday, August 26, 2002 4:10 PM
To: Morgan, Chip E.
Cc: 'Joerg Mayer'; 'ethereal-users@xxxxxxxxxxxx'
Subject: Re: [Ethereal-users] Error making 0.9.6 on Solaris 2.6


On Mon, Aug 26, 2002 at 02:19:19PM -0400, Morgan, Chip E. wrote:
> but am still getting
> Glib errors in the Ethereal configure output. I'm confused about why the
> configure program first says that Glib is there, but then says that it
isn't
> (or at least can't use it).
> 
> /Appsmstr/ethereal-0.9.6
> 143> ./configure --without-ucdsnmp 
> creating cache ./config.cache
...
> checking for gtk-config... /usr/local/bin/gtk-config
> checking for GTK - version >= 1.2.0... yes
> checking for glib-config... /usr/local/bin/glib-config
> checking for GLIB - version >= 1.2.0... yes
> checking whether GLib supports loadable modules... yes
...
> configuring in epan
> running /bin/sh ./configure  --without-ucdsnmp
> --cache-file=.././config.cache --srcdir=.
> loading cache .././config.cache
...
> checking for glib-config... (cached) /usr/local/bin/glib-config
> checking for GLIB - version >= 1.1.0... no
> *** Could not run GLIB test program, checking why...
> *** The test program compiled, but did not run. This usually means
> *** that the run-time linker is not finding GLIB or finding the wrong
> *** version of GLIB. If it is not finding GLIB, you'll need to set your
> *** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point
> *** to the installed location  Also, make sure you have run ldconfig if
that
> *** is required on your system
> ***
> *** If you have an old version installed, it is best to remove it,
although
> *** you may also be able to get things to work by modifying
LD_LIBRARY_PATH

Weird. Could you please mail me the file epan/config.log. It should contain
a log of what went wrong while running configure.

  Ciao
          Jörg

--
Joerg Mayer                                          <jmayer@xxxxxxxxx>
I found out that "pro" means "instead of" (as in proconsul). Now I know
what proactive means.