Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Mar 1999 11:44:44 -0800 (PST)
From:      Mark Bermal <mark@ieng9.ucsd.edu>
To:        freebsd-questions@freebsd.org
Subject:   Gimp/GTK install troubles (with logs!)
Message-ID:  <Pine.BSF.4.05.9903241138090.4423-100000@celerystick.inetworld.net>

next in thread | raw e-mail | index | archive | help
Hello again!
	I logged the screen output this time, but I don't understand it
really (i'm not a seasoned unix veteran). Sorry about the size of the
message, its mostly logged output (I included the screen output and the
config.log file). So, here come the logs! Thanks for the help!

Mark Bermal

THE LOGS!

When I do the "make install"
for gimp, I get this:

===>  Extracting for gimp-1.1.2
>> Checksum OK for gimp-1.1.2.tar.gz.
===>   gimp-1.1.2 depends on executable: gmake - found
===>   gimp-1.1.2 depends on shared library: Xpm.4 - found
===>   gimp-1.1.2 depends on shared library: aa.1 - found
===>   gimp-1.1.2 depends on shared library: jpeg.9 - found
===>   gimp-1.1.2 depends on shared library: gtk12.1 - found
===>   gimp-1.1.2 depends on shared library: mpeg.1 - found
===>   gimp-1.1.2 depends on shared library: png.3 - found
===>   gimp-1.1.2 depends on shared library: tiff.4 - found
===>   gimp-1.1.2 depends on shared library: X11.6 - found
===>  Patching for gimp-1.1.2
===>  Applying FreeBSD patches for gimp-1.1.2
===>  Configuring for gimp-1.1.2
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... found
checking host system type... i386--freebsd3.0
checking build system type... i386--freebsd3.0
checking for ranlib... ranlib
checking for gcc... cc
checking whether the C compiler (cc -O -pipe ) works... yes
checking whether the C compiler (cc -O -pipe ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether cc accepts -g... yes
checking for ld used by GCC... /usr/libexec/elf/ld
checking if the linker (/usr/libexec/elf/ld) is GNU ld... yes
checking for BSD-compatible nm... /usr/bin/nm -B
checking command to parse /usr/bin/nm -B output... yes
checking for _ prefix in compiled symbols... (cached) no
checking whether ln -s works... yes
checking for object suffix... o
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.lo... yes
checking if cc supports -fno-rtti -fno-exceptions ... no
checking if cc static flag -static works... -static
checking if the linker (/usr/libexec/elf/ld) is GNU ld... yes
checking whether the linker (/usr/libexec/elf/ld) supports shared libraries... yes
checking command to parse /usr/bin/nm -B output... yes
checking how to hardcode library paths into programs... immediate
checking for /usr/libexec/elf/ld option to reload object files... -r
checking dynamic linker characteristics... freebsd3.0 ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
checking whether to enable maintainer-specific portions of Makefiles... no
checking host system type... i386--freebsd3.0
checking for gcc... (cached) cc
checking whether the C compiler (cc -O -pipe ) works... yes
checking whether the C compiler (cc -O -pipe ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for POSIXized ISC... no
checking for cc option to accept ANSI C... none needed
checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel
checking whether ln -s works... (cached) yes
checking whether make sets ${MAKE}... (cached) yes
checking how to run the C preprocessor... cc -E
checking for ANSI C header files... yes
checking for working const... yes
checking for inline... inline
checking for off_t... yes
checking for size_t... yes
checking for working alloca.h... no
checking for alloca... yes
checking for unistd.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking for argz.h... no
checking for limits.h... yes
checking for locale.h... yes
checking for nl_types.h... yes
checking for malloc.h... no
checking for string.h... yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getcwd... yes
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for strchr... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for __argz_count... no
checking for __argz_stringify... no
checking for __argz_next... no
checking for stpcpy... no
checking for LC_MESSAGES... yes
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for libintl.h... yes
checking for gettext in libc... no
checking for bindtextdomain in -lintl... yes
checking for gettext in libintl... checking for gettext in -lintl... yes
yes
checking for msgfmt... /usr/local/bin/msgfmt
checking for dcgettext... no
checking for gmsgfmt... /usr/local/bin/msgfmt
checking for xgettext... /usr/local/bin/xgettext
checking for catalogs to be installed...  fr sv ja it fi ko de hu nl pl
checking for gtk-config... /usr/X11R6/bin/gtk12-config
checking for GTK - version >= 1.1.13... 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/X11R6/bin/gtk12-config
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.

The config.log file gives this:

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

configure:625: checking for a BSD compatible install
configure:678: checking whether build environment is sane
configure:735: checking whether make sets ${MAKE}
configure:774: checking for working aclocal
configure:787: checking for working autoconf
configure:800: checking for working automake
configure:813: checking for working autoheader
configure:826: checking for working makeinfo
configure:897: checking host system type
configure:918: checking build system type
configure:938: checking for ranlib
configure:968: checking for gcc
configure:1081: checking whether the C compiler (cc -O -pipe ) works
configure:1097: cc -o conftest -O -pipe -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
configure:1123: checking whether the C compiler (cc -O -pipe ) is a cross-compiler
configure:1128: checking whether we are using GNU C
configure:1137: cc -E conftest.c
configure:1156: checking whether cc accepts -g
configure:1199: checking for ld used by GCC
configure:1292: checking if the linker (/usr/libexec/elf/ld) is GNU ld
GNU ld version 2.9.1 (with BFD 2.9.1)
configure:1308: checking for BSD-compatible nm
configure:1346: checking command to parse /usr/bin/nm -B output
configure:1406: cc -c -O -pipe -I/usr/local/include conftest.c 1>&5
configure:1410: /usr/bin/nm -B conftest.o | sed -n -e 's/^.* [ABCDGISTW] \([_A-Za-z][_A-Za-z0-9]*\)$/\1 \1/p' > conftest.nm
configure:1462: cc -o conftest -O -pipe -I/usr/local/include  conftest.c conftestm.o 1>&5
configure:1508: checking for _ prefix in compiled symbols
configure:1546: checking whether ln -s works
ltconfig:563: checking for object suffix
ltconfig:564: cc -c -O -pipe -I/usr/local/include conftest.c 1>&5
ltconfig:694: checking if cc PIC flag -fPIC works
ltconfig:695: cc -c -O -pipe -fPIC -DPIC -I/usr/local/include conftest.c 1>&5
ltconfig:737: checking if cc supports -c -o file.o
ltconfig:738: cc -c -O -pipe -c -o conftest2.o -I/usr/local/include conftest.c 1>&5
ltconfig:765: checking if cc supports -c -o file.lo
ltconfig:766: cc -c -O -pipe -c -o conftest.lo -I/usr/local/include conftest.c 1>&5
ltconfig:817: checking if cc supports -fno-rtti -fno-exceptions
ltconfig:818: cc -c -O -pipe -fno-rtti -fno-exceptions -c conftest.c -I/usr/local/include conftest.c 1>&5
cc1: Invalid option `-fno-exceptions'
cc1: Invalid option `-fno-exceptions'
ltconfig:861: checking if cc static flag -static works
ltconfig:862: cc -o conftest -O -pipe -I/usr/local/include  -static conftest.c -L/usr/local/lib 1>&5
GNU ld version 2.9.1 (with BFD 2.9.1)
ltconfig:1466: checking if global_symbol_pipe works
ltconfig:1467: cc -c -O -pipe -I/usr/local/include conftest.c 1>&5
ltconfig:1470: eval "/usr/bin/nm -B conftest.o | sed -n -e 's/^.* [ABCDGISTW] \([_A-Za-z][_A-Za-z0-9]*\)$/\1 \1/p' > conftest.nm"
ltconfig:1522: cc -o conftest -O -pipe -fno-builtin -I/usr/local/include  conftest.c conftestm.o 1>&5
configure:1814: checking whether to enable maintainer-specific portions of Makefiles
configure:1844: checking host system type
configure:1868: checking for gcc
configure:1981: checking whether the C compiler (cc -O -pipe ) works
configure:1997: cc -o conftest -O -pipe -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
configure:2023: checking whether the C compiler (cc -O -pipe ) is a cross-compiler
configure:2028: checking whether we are using GNU C
configure:2056: checking whether cc accepts -g
configure:2088: checking for POSIXized ISC
configure:2112: checking for cc option to accept ANSI C
configure:2165: cc  -c -O -pipe -I/usr/local/include conftest.c 1>&5
configure:2200: checking for a BSD compatible install
configure:2253: checking whether ln -s works
configure:2274: checking whether make sets ${MAKE}
configure:2301: checking how to run the C preprocessor
configure:2322: cc -E -I/usr/local/include conftest.c >/dev/null 2>conftest.out
configure:2490: checking for ANSI C header files
configure:2503: cc -E -I/usr/local/include conftest.c >/dev/null 2>conftest.out
configure:2570: cc -o conftest -O -pipe -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
configure:2594: checking for working const
configure:2648: cc -c -O -pipe -I/usr/local/include conftest.c 1>&5
configure:2669: checking for inline
configure:2683: cc -c -O -pipe -I/usr/local/include conftest.c 1>&5
configure:2709: checking for off_t
configure:2742: checking for size_t
configure:2777: checking for working alloca.h
configure:2789: cc -o conftest -O -pipe -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
configure:2783: alloca.h: No such file or directory
configure: failed program was:
#line 2782 "configure"
#include "confdefs.h"
#include <alloca.h>
int main() {
char *p = alloca(2 * sizeof(int));
; return 0; }
configure:2810: checking for alloca
configure:2843: cc -o conftest -O -pipe -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
configure:3012: checking for unistd.h
configure:3022: cc -E -I/usr/local/include conftest.c >/dev/null 2>conftest.out
configure:3051: checking for getpagesize
configure:3079: cc -o conftest -O -pipe -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
configure:3104: checking for working mmap
configure:3252: cc -o conftest -O -pipe -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
configure:3280: checking for argz.h
configure:3290: cc -E -I/usr/local/include conftest.c >/dev/null 2>conftest.out
configure:3286: argz.h: No such file or directory
configure: failed program was:
#line 3285 "configure"
#include "confdefs.h"
#include <argz.h>
configure:3280: checking for limits.h
configure:3290: cc -E -I/usr/local/include conftest.c >/dev/null 2>conftest.out
configure:3280: checking for locale.h
configure:3290: cc -E -I/usr/local/include conftest.c >/dev/null 2>conftest.out
configure:3280: checking for nl_types.h
configure:3290: cc -E -I/usr/local/include conftest.c >/dev/null 2>conftest.out
configure:3280: checking for malloc.h
configure:3290: cc -E -I/usr/local/include conftest.c >/dev/null 2>conftest.out
In file included from configure:3286:
/usr/include/malloc.h:2: warning: #warning "this file includes <malloc.h> which is deprecated, use <stdlib.h> instead"
configure: failed program was:
#line 3285 "configure"
#include "confdefs.h"
#include <malloc.h>
configure:3280: checking for string.h
configure:3290: cc -E -I/usr/local/include conftest.c >/dev/null 2>conftest.out
configure:3280: checking for unistd.h
configure:3280: checking for sys/param.h
configure:3290: cc -E -I/usr/local/include conftest.c >/dev/null 2>conftest.out
configure:3320: checking for getcwd
configure:3348: cc -o conftest -O -pipe -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
configure:3320: checking for munmap
configure:3348: cc -o conftest -O -pipe -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
configure:3320: checking for putenv
configure:3348: cc -o conftest -O -pipe -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
configure:3320: checking for setenv
configure:3348: cc -o conftest -O -pipe -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
configure:3320: checking for setlocale
configure:3348: cc -o conftest -O -pipe -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
configure:3320: checking for strchr
configure:3348: cc -o conftest -O -pipe -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
configure:3320: checking for strcasecmp
configure:3348: cc -o conftest -O -pipe -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
configure:3320: checking for strdup
configure:3348: cc -o conftest -O -pipe -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
configure:3320: checking for __argz_count
configure:3348: cc -o conftest -O -pipe -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
/var/tmp/ccwW40751.o: In function `main':
/var/tmp/ccwW40751.o(.text+0x4): undefined reference to `__argz_count'
configure: failed program was:
#line 3325 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char __argz_count(); 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 __argz_count();

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___argz_count) || defined (__stub_____argz_count)
choke me
#else
__argz_count();
#endif

; return 0; }
configure:3320: checking for __argz_stringify
configure:3348: cc -o conftest -O -pipe -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
/var/tmp/ccBH40891.o: In function `main':
/var/tmp/ccBH40891.o(.text+0x4): undefined reference to `__argz_stringify'
configure: failed program was:
#line 3325 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char __argz_stringify(); 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 __argz_stringify();

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___argz_stringify) || defined (__stub_____argz_stringify)
choke me
#else
__argz_stringify();
#endif

; return 0; }
configure:3320: checking for __argz_next
configure:3348: cc -o conftest -O -pipe -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
/var/tmp/ccdW41031.o: In function `main':
/var/tmp/ccdW41031.o(.text+0x4): undefined reference to `__argz_next'
configure: failed program was:
#line 3325 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char __argz_next(); 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 __argz_next();

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___argz_next) || defined (__stub_____argz_next)
choke me
#else
__argz_next();
#endif

; return 0; }
configure:3377: checking for stpcpy
configure:3405: cc -o conftest -O -pipe -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
/var/tmp/cclO41181.o: In function `main':
/var/tmp/cclO41181.o(.text+0x4): undefined reference to `stpcpy'
configure: failed program was:
#line 3382 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char stpcpy(); 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 stpcpy();

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_stpcpy) || defined (__stub___stpcpy)
choke me
#else
stpcpy();
#endif

; return 0; }
configure:3439: checking for LC_MESSAGES
configure:3451: cc -o conftest -O -pipe -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
configure:3472: checking whether NLS is requested
configure:3492: checking whether included gettext is requested
configure:3511: checking for libintl.h
configure:3521: cc -E -I/usr/local/include conftest.c >/dev/null 2>conftest.out
configure:3538: checking for gettext in libc
configure:3550: cc -o conftest -O -pipe -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
/var/tmp/ccrG41711.o: In function `main':
/var/tmp/ccrG41711.o(.text+0x9): undefined reference to `gettext'
configure: failed program was:
#line 3543 "configure"
#include "confdefs.h"
#include <libintl.h>
int main() {
return (int) gettext ("")
; return 0; }
configure:3566: checking for bindtextdomain in -lintl
configure:3585: cc -o conftest -O -pipe -I/usr/local/include  conftest.c -lintl  -L/usr/local/lib 1>&5
configure:3601: checking for gettext in libintl
configure:3606: checking for gettext in -lintl
configure:3625: cc -o conftest -O -pipe -I/usr/local/include  conftest.c -lintl  -L/usr/local/lib 1>&5
configure:3664: checking for msgfmt
configure:3698: checking for dcgettext
configure:3726: cc -o conftest -O -pipe -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
/var/tmp/ccUB42431.o: In function `main':
/var/tmp/ccUB42431.o(.text+0x4): undefined reference to `dcgettext'
configure: failed program was:
#line 3703 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char dcgettext(); 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 dcgettext();

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_dcgettext) || defined (__stub___dcgettext)
choke me
#else
dcgettext();
#endif

; return 0; }
configure:3753: checking for gmsgfmt
configure:3789: checking for xgettext
configure:3829: cc -o conftest -O -pipe -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
/var/tmp/ccjR42941.o: In function `main':
/var/tmp/ccjR42941.o(.text+0x4): undefined reference to `_nl_msg_cat_cntr'
configure: failed program was:
#line 3821 "configure"
#include "confdefs.h"

int main() {
extern int _nl_msg_cat_cntr;
			       return _nl_msg_cat_cntr
; return 0; }
configure:4287: checking for catalogs to be installed
configure:4440: checking for gtk-config
configure:4475: checking for GTK - version >= 1.1.13
configure:4576: cc -o conftest -O -pipe -I/usr/X11R6/include/gtk12 -I/usr/X11R6/include -I/usr/local/include/glib12 -I/usr/local/include  conftest.c -L/usr/X11R6/lib -L/usr/X11R6/lib -lgtk12 -lgdk12 -L/usr/local/lib -Wl,-E -lgmodule12 -lglib12 -lintl -lXext -lX11 -lm -L/usr/local/lib 1>&5
/usr/local/lib/libglib12.so: undefined reference to `localtime_r'
configure: failed program was:
#line 4498 "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.1.13");
  if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
     printf("%s, bad version string\n", "1.1.13");
     exit(1);
   }

  if ((gtk_major_version != 1) ||
      (gtk_minor_version != 2) ||
      (gtk_micro_version != 0))
    {
      printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n", 
             1, 2, 0,
             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:4620: cc -o conftest -O -pipe -I/usr/X11R6/include/gtk12 -I/usr/X11R6/include -I/usr/local/include/glib12 -I/usr/local/include  conftest.c -L/usr/local/lib -L/usr/X11R6/lib -L/usr/X11R6/lib -lgtk12 -lgdk12 -L/usr/local/lib -Wl,-E -lgmodule12 -lglib12 -lintl -lXext -lX11 -lm 1>&5
/usr/local/lib/libglib12.so: undefined reference to `localtime_r'
configure: failed program was:
#line 4610 "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; }



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9903241138090.4423-100000>