Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Apr 1999 16:38:49 -0400 (EDT)
From:      Bill Fumerola <billf@jade.chc-chimes.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/11116: gtk interversion compatibility never works
Message-ID:  <199904132038.QAA12641@jade.chc-chimes.com>

next in thread | raw e-mail | index | archive | help

>Number:         11116
>Category:       ports
>Synopsis:       gtk interversion compatibility never works
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 13 13:40:01 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Bill Fumerola
>Release:        FreeBSD 2.2.8-STABLE i386
>Organization:
Computer Horizons
>Environment:

FreeBSD jade.chc-chimes.com 2.2.8-STABLE FreeBSD 2.2.8-STABLE #0: Fri Jan 29 22:32:04 EST 1999     root@jade.chc-chimes.com:/usr/cvs-update/src/sys/compile/JADED  i386

>Description:

Be it multiple versions, or just one instance on the machine, GTK tests constantly fail.

Included is the output from script(1) and the config.log from the port.

For reader confusion a rant by the submitter is also included in place of a fix.

>How-To-Repeat:

output from script(1)
Script started on Tue Apr 13 16:23:01 1999
billf@jade$ pwd
/usr2/ports/x11-toolkits/gtk12
billf@jade$ ldconfig -r |grep glib
	14:-lglib.1.5 => /usr/local/lib/libglib.so.1.5
	27:-lglib11.0.4 => /usr/local/lib/libglib11.so.0.4
	104:-lglib10.1.6 => /usr/X11R6/lib/libglib10.so.1.6
	150:-lglib12.1.0 => /usr/local/lib/libglib12.so.1.0
billf@jade$ sudo make 
===>  Configuring for gtk-1.2.0
loading cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c -o bin -g bin
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking host system type... i386--freebsd2.2.8
checking build system type... i386--freebsd2.2.8
checking for ranlib... ranlib
checking for gcc... cc
checking whether the C compiler (cc -O -pipe -DI_LIKE_BREAKING_PORTS ) works... yes
checking whether the C compiler (cc -O -pipe -DI_LIKE_BREAKING_PORTS ) 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/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for BSD-compatible nm... /usr/bin/nm -p
checking command to parse /usr/bin/nm -p output... no
checking for _ prefix in compiled symbols... 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/bin/ld) is GNU ld... no
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking command to parse /usr/bin/nm -p output... no
checking how to hardcode library paths into programs... immediate
checking for /usr/bin/ld option to reload object files... -r
checking dynamic linker characteristics... freebsd2.2.8 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--freebsd2.2.8
checking whether build environment is sane... yes
checking for gcc... (cached) cc
checking whether the C compiler (cc -O -pipe -DI_LIKE_BREAKING_PORTS ) works... yes
checking whether the C compiler (cc -O -pipe -DI_LIKE_BREAKING_PORTS ) 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 bin -g bin
checking whether make sets ${MAKE}... (cached) yes
checking for mawk... no
checking for gawk... no
checking for nawk... no
checking for awk... awk
checking for perl5... perl5
checking for indent... indent
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... yes
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 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...  cs de es fr hu it ja ko nl no pl pt ru sv
checking for gettext... no
checking for gettext in -lintl... (cached) yes
checking for extra flags to get ANSI library prototypes... none needed
checking for extra flags for POSIX compliance... 
configure: warning: Could not determine POSIX flag. (-posix didn't work.)
checking for glib-config... /usr/local/bin/glib12-config
checking for GLIB - version >= 1.2.0... no
*** Could not run GLIB 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 GLIB was incorrectly installed
*** or that you have moved GLIB since it was installed. In the latter case, you
*** may want to edit the glib-config script: /usr/local/bin/glib12-config
configure: error: 
*** GLIB 1.2.0 or better is required. The latest version of GLIB
*** is always available from ftp://ftp.gtk.org/.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
billf@jade$ exit

Script done on Tue Apr 13 16:23:34 1999

[ config.log follows ]


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

configure:655: checking for a BSD compatible install
configure:708: checking whether build environment is sane
configure:765: checking whether make sets ${MAKE}
configure:804: checking for working aclocal
configure:817: checking for working autoconf
configure:830: checking for working automake
configure:843: checking for working autoheader
configure:856: checking for working makeinfo
configure:928: checking host system type
configure:949: checking build system type
configure:969: checking for ranlib
configure:999: checking for gcc
configure:1112: checking whether the C compiler (cc -O -pipe -DI_LIKE_BREAKING_PORTS ) works
configure:1128: cc -o conftest -O -pipe -DI_LIKE_BREAKING_PORTS -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
configure:1154: checking whether the C compiler (cc -O -pipe -DI_LIKE_BREAKING_PORTS ) is a cross-compiler
configure:1159: checking whether we are using GNU C
configure:1168: cc -E conftest.c
configure:1187: checking whether cc accepts -g
configure:1230: checking for ld used by GCC
configure:1323: checking if the linker (/usr/bin/ld) is GNU ld
configure:1339: checking for BSD-compatible nm
configure:1375: checking command to parse /usr/bin/nm -p output
configure:1438: cc -c -O -pipe -DI_LIKE_BREAKING_PORTS -I/usr/local/include conftest.c 1>&5
configure:1441: /usr/bin/nm -p conftest.o | sed -n -e 's/^.* [BCDEGRSTU] \([_A-Za-z][_A-Za-z0-9]*\)$/\1 \1/p' > conftest.nm
cannot find nm_test_var in conftest.nm
configure:1535: checking for _ prefix in compiled symbols
configure:1544: cc -c -O -pipe -DI_LIKE_BREAKING_PORTS -I/usr/local/include conftest.c 1>&5
configure:1547: /usr/bin/nm -p conftest.o | > conftest.nm
configure: cannot run 
configure:1578: checking whether ln -s works
ltconfig:552: checking for object suffix
ltconfig:553: cc -c -O -pipe -DI_LIKE_BREAKING_PORTS -I/usr/local/include conftest.c 1>&5
ltconfig:674: checking if cc PIC flag -fPIC works
ltconfig:675: cc -c -O -pipe -DI_LIKE_BREAKING_PORTS -fPIC -DPIC -I/usr/local/include conftest.c 1>&5
ltconfig:709: checking if cc supports -c -o file.o
ltconfig:710: cc -c -O -pipe -DI_LIKE_BREAKING_PORTS -c -o conftest2.o -I/usr/local/include conftest.c 1>&5
ltconfig:737: checking if cc supports -c -o file.lo
ltconfig:738: cc -c -O -pipe -DI_LIKE_BREAKING_PORTS -c -o conftest.lo -I/usr/local/include conftest.c 1>&5
ltconfig:789: checking if cc supports -fno-rtti -fno-exceptions
ltconfig:790: cc -c -O -pipe -DI_LIKE_BREAKING_PORTS -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:833: checking if cc static flag -static works
ltconfig:834: cc -o conftest -O -pipe -DI_LIKE_BREAKING_PORTS -I/usr/local/include  -static conftest.c -L/usr/local/lib 1>&5
ltconfig:1425: checking if global_symbol_pipe works
ltconfig:1426: cc -c -O -pipe -DI_LIKE_BREAKING_PORTS -I/usr/local/include conftest.c 1>&5
ltconfig:1429: eval "/usr/bin/nm -p conftest.o | sed -n -e 's/^.* [BCDEGRSTU] \([_A-Za-z][_A-Za-z0-9]*\)$/\1 \1/p' > conftest.nm"
cannot find nm_test_var in conftest.nm
configure:1843: checking whether to enable maintainer-specific portions of Makefiles
configure:1873: checking host system type
configure:1973: checking whether build environment is sane
configure:2015: checking for gcc
configure:2128: checking whether the C compiler (cc -O -pipe -DI_LIKE_BREAKING_PORTS ) works
configure:2144: cc -o conftest -O -pipe -DI_LIKE_BREAKING_PORTS -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
configure:2170: checking whether the C compiler (cc -O -pipe -DI_LIKE_BREAKING_PORTS ) is a cross-compiler
configure:2175: checking whether we are using GNU C
configure:2203: checking whether cc accepts -g
configure:2235: checking for POSIXized ISC
configure:2259: checking for cc option to accept ANSI C
configure:2312: cc  -c -O -pipe -DI_LIKE_BREAKING_PORTS -I/usr/local/include conftest.c 1>&5
configure:2347: checking for a BSD compatible install
configure:2400: checking whether make sets ${MAKE}
configure:2454: checking for mawk
configure:2454: checking for gawk
configure:2454: checking for nawk
configure:2454: checking for awk
configure:2488: checking for perl5
configure:2522: checking for indent
configure:2560: checking how to run the C preprocessor
configure:2581: cc -E -I/usr/local/include conftest.c >/dev/null 2>conftest.out
configure:2640: checking for ANSI C header files
configure:2653: cc -E -I/usr/local/include conftest.c >/dev/null 2>conftest.out
configure:2720: cc -o conftest -O -pipe -DI_LIKE_BREAKING_PORTS -Wall -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
configure:2744: checking for working const
configure:2798: cc -c -O -pipe -DI_LIKE_BREAKING_PORTS -Wall -I/usr/local/include conftest.c 1>&5
configure: In function `main':
configure:2772: warning: unused variable `s'
configure:2792: warning: unused variable `foo'
configure:2760: warning: unused variable `zero'
configure:2754: warning: unused variable `x'
configure:2771: warning: `t' might be used uninitialized in this function
configure:2789: warning: `b' might be used uninitialized in this function
configure:2819: checking for inline
configure:2833: cc -c -O -pipe -DI_LIKE_BREAKING_PORTS -Wall -I/usr/local/include conftest.c 1>&5
configure: In function `main':
configure:2829: warning: control reaches end of non-void function
configure: At top level:
configure:2829: warning: return-type defaults to `int'
configure:2859: checking for off_t
configure:2892: checking for size_t
configure:2927: checking for working alloca.h
configure:2939: cc -o conftest -O -pipe -DI_LIKE_BREAKING_PORTS -Wall -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
configure:2933: alloca.h: No such file or directory
configure: In function `main':
configure:2935: warning: unused variable `p'
configure: failed program was:
#line 2932 "configure"
#include "confdefs.h"
#include <alloca.h>
int main() {
char *p = alloca(2 * sizeof(int));
; return 0; }
configure:2960: checking for alloca
configure:2993: cc -o conftest -O -pipe -DI_LIKE_BREAKING_PORTS -Wall -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
configure: In function `main':
configure:2989: warning: unused variable `p'
configure:3162: checking for unistd.h
configure:3172: cc -E -I/usr/local/include conftest.c >/dev/null 2>conftest.out
configure:3201: checking for getpagesize
configure:3229: cc -o conftest -O -pipe -DI_LIKE_BREAKING_PORTS -Wall -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
configure:3254: checking for working mmap
configure:3402: cc -o conftest -O -pipe -DI_LIKE_BREAKING_PORTS -Wall -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
configure: In function `main':
configure:3343: warning: implicit declaration of function `getpagesize'
configure:3352: warning: implicit declaration of function `rand'
configure:3353: warning: implicit declaration of function `umask'
configure:3357: warning: implicit declaration of function `write'
configure:3359: warning: implicit declaration of function `close'
configure:3390: warning: implicit declaration of function `read'
configure:3396: warning: implicit declaration of function `unlink'
configure:3430: checking for argz.h
configure:3440: cc -E -I/usr/local/include conftest.c >/dev/null 2>conftest.out
configure:3436: argz.h: No such file or directory
configure: failed program was:
#line 3435 "configure"
#include "confdefs.h"
#include <argz.h>
configure:3430: checking for limits.h
configure:3440: cc -E -I/usr/local/include conftest.c >/dev/null 2>conftest.out
configure:3430: checking for locale.h
configure:3440: cc -E -I/usr/local/include conftest.c >/dev/null 2>conftest.out
configure:3430: checking for nl_types.h
configure:3440: cc -E -I/usr/local/include conftest.c >/dev/null 2>conftest.out
configure:3430: checking for malloc.h
configure:3440: cc -E -I/usr/local/include conftest.c >/dev/null 2>conftest.out
configure:3430: checking for string.h
configure:3440: cc -E -I/usr/local/include conftest.c >/dev/null 2>conftest.out
configure:3430: checking for unistd.h
configure:3430: checking for sys/param.h
configure:3440: cc -E -I/usr/local/include conftest.c >/dev/null 2>conftest.out
configure:3470: checking for getcwd
configure:3498: cc -o conftest -O -pipe -DI_LIKE_BREAKING_PORTS -Wall -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
configure:3470: checking for munmap
configure:3498: cc -o conftest -O -pipe -DI_LIKE_BREAKING_PORTS -Wall -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
configure:3470: checking for putenv
configure:3498: cc -o conftest -O -pipe -DI_LIKE_BREAKING_PORTS -Wall -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
configure:3470: checking for setenv
configure:3498: cc -o conftest -O -pipe -DI_LIKE_BREAKING_PORTS -Wall -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
configure:3470: checking for setlocale
configure:3498: cc -o conftest -O -pipe -DI_LIKE_BREAKING_PORTS -Wall -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
configure:3470: checking for strchr
configure:3498: cc -o conftest -O -pipe -DI_LIKE_BREAKING_PORTS -Wall -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
configure:3470: checking for strcasecmp
configure:3498: cc -o conftest -O -pipe -DI_LIKE_BREAKING_PORTS -Wall -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
configure:3470: checking for strdup
configure:3498: cc -o conftest -O -pipe -DI_LIKE_BREAKING_PORTS -Wall -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
configure:3470: checking for __argz_count
configure:3498: cc -o conftest -O -pipe -DI_LIKE_BREAKING_PORTS -Wall -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
/var/tmp/cclG63191.o: Undefined symbol `___argz_count' referenced from text segment
configure: failed program was:
#line 3475 "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:3470: checking for __argz_stringify
configure:3498: cc -o conftest -O -pipe -DI_LIKE_BREAKING_PORTS -Wall -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
/var/tmp/ccir63331.o: Undefined symbol `___argz_stringify' referenced from text segment
configure: failed program was:
#line 3475 "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:3470: checking for __argz_next
configure:3498: cc -o conftest -O -pipe -DI_LIKE_BREAKING_PORTS -Wall -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
/var/tmp/ccFO63471.o: Undefined symbol `___argz_next' referenced from text segment
configure: failed program was:
#line 3475 "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:3527: checking for stpcpy
configure:3555: cc -o conftest -O -pipe -DI_LIKE_BREAKING_PORTS -Wall -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
/var/tmp/cctk63621.o: Undefined symbol `_stpcpy' referenced from text segment
configure: failed program was:
#line 3532 "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:3589: checking for LC_MESSAGES
configure:3601: cc -o conftest -O -pipe -DI_LIKE_BREAKING_PORTS -Wall -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
configure:3622: checking whether NLS is requested
configure:3654: checking for libintl.h
configure:3664: cc -E -I/usr/local/include conftest.c >/dev/null 2>conftest.out
configure:3681: checking for gettext in libc
configure:3693: cc -o conftest -O -pipe -DI_LIKE_BREAKING_PORTS -Wall -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
/var/tmp/cccu64131.o: Undefined symbol `_gettext' referenced from text segment
configure: failed program was:
#line 3686 "configure"
#include "confdefs.h"
#include <libintl.h>
int main() {
return (int) gettext ("")
; return 0; }
configure:3709: checking for bindtextdomain in -lintl
configure:3728: cc -o conftest -O -pipe -DI_LIKE_BREAKING_PORTS -Wall -I/usr/local/include  conftest.c -lintl  -L/usr/local/lib 1>&5
configure:3744: checking for gettext in libintl
configure:3749: checking for gettext in -lintl
configure:3768: cc -o conftest -O -pipe -DI_LIKE_BREAKING_PORTS -Wall -I/usr/local/include  conftest.c -lintl  -L/usr/local/lib 1>&5
configure:3807: checking for msgfmt
configure:3841: checking for dcgettext
configure:3869: cc -o conftest -O -pipe -DI_LIKE_BREAKING_PORTS -Wall -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
/var/tmp/ccsl64831.o: Undefined symbol `_dcgettext' referenced from text segment
configure: failed program was:
#line 3846 "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:3896: checking for gmsgfmt
configure:3932: checking for xgettext
configure:3972: cc -o conftest -O -pipe -DI_LIKE_BREAKING_PORTS -Wall -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
/var/tmp/cclW65321.o: Undefined symbol `__nl_msg_cat_cntr' referenced from text segment
configure: failed program was:
#line 3964 "configure"
#include "confdefs.h"

int main() {
extern int _nl_msg_cat_cntr;
			       return _nl_msg_cat_cntr
; return 0; }
configure:4248: checking for catalogs to be installed
configure:4351: checking for gettext
configure:4379: cc -o conftest -O -pipe -DI_LIKE_BREAKING_PORTS -Wall -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
/var/tmp/cctJ65701.o: Undefined symbol `_gettext' referenced from text segment
configure: failed program was:
#line 4356 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char gettext(); 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 gettext();

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_gettext) || defined (__stub___gettext)
choke me
#else
gettext();
#endif

; return 0; }
configure:4397: checking for gettext in -lintl
configure:4452: checking for extra flags to get ANSI library prototypes
configure:4465: cc -o conftest -O -pipe -DI_LIKE_BREAKING_PORTS -Wall -I/usr/local/include  conftest.c -lintl -L/usr/local/lib -lm 1>&5
configure:4506: checking for extra flags for POSIX compliance
configure:4515: cc -c -O -pipe -DI_LIKE_BREAKING_PORTS -Wall -I/usr/local/include conftest.c 1>&5
In file included from /usr/include/dirent.h:43,
                 from configure:4509:
/usr/include/sys/dirent.h:52: parse error before `u_int32_t'
/usr/include/sys/dirent.h:52: warning: no semicolon at end of struct or union
/usr/include/sys/dirent.h:53: warning: data definition has no type or storage class
/usr/include/sys/dirent.h:54: parse error before `d_type'
/usr/include/sys/dirent.h:54: warning: data definition has no type or storage class
/usr/include/sys/dirent.h:55: parse error before `d_namlen'
/usr/include/sys/dirent.h:55: warning: data definition has no type or storage class
/usr/include/sys/dirent.h:62: parse error before `}'
configure: In function `main':
configure:4511: warning: unused variable `dir'
configure: failed program was:
#line 4508 "configure"
#include "confdefs.h"
#include <dirent.h>
int main() {
DIR *dir;
; return 0; }
configure:4532: cc -c -O -pipe -DI_LIKE_BREAKING_PORTS -Wall -posix -I/usr/local/include conftest.c 1>&5
In file included from /usr/include/dirent.h:43,
                 from configure:4526:
/usr/include/sys/dirent.h:52: parse error before `u_int32_t'
/usr/include/sys/dirent.h:52: warning: no semicolon at end of struct or union
/usr/include/sys/dirent.h:53: warning: data definition has no type or storage class
/usr/include/sys/dirent.h:54: parse error before `d_type'
/usr/include/sys/dirent.h:54: warning: data definition has no type or storage class
/usr/include/sys/dirent.h:55: parse error before `d_namlen'
/usr/include/sys/dirent.h:55: warning: data definition has no type or storage class
/usr/include/sys/dirent.h:62: parse error before `}'
configure: In function `main':
configure:4528: warning: unused variable `dir'
configure: failed program was:
#line 4525 "configure"
#include "confdefs.h"
#include <dirent.h>
int main() {
DIR *dir;
; return 0; }
configure:4608: checking for glib-config
configure:4643: checking for GLIB - version >= 1.2.0
configure:4742: cc -o conftest -O -pipe -DI_LIKE_BREAKING_PORTS -Wall -I/usr/local/include/glib12 -D_THREAD_SAFE -pthread -I/usr/local/include  conftest.c -L/usr/local/lib -Wl,-E -lgmodule12 -lgthread12 -lglib12 -lc_r -lintl -L/usr/local/lib 1>&5
ld: invalid command option `-E'
configure: failed program was:
#line 4666 "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.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 ((glib_major_version != 1) ||
      (glib_minor_version != 2) ||
      (glib_micro_version != 0))
    {
      printf("\n*** 'glib-config --version' returned %d.%d.%d, but GLIB (%d.%d.%d)\n", 
             1, 2, 0,
             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:4786: cc -o conftest -O -pipe -DI_LIKE_BREAKING_PORTS -Wall -I/usr/local/include/glib12 -D_THREAD_SAFE -pthread -I/usr/local/include  conftest.c -lintl -L/usr/local/lib -L/usr/local/lib -Wl,-E -lgmodule12 -lgthread12 -lglib12 -lc_r 1>&5
ld: invalid command option `-E'
configure: failed program was:
#line 4776 "configure"
#include "confdefs.h"

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

int main() {
 return ((glib_major_version) || (glib_minor_version) || (glib_micro_version)); 
; return 0; }

>Fix:
	
Fix is both unknown to submitter, and submitter is unwilling to dig through the mess of dependencies and {re,mis}named scripts.

<rant anger=high humor=mediocre>
The submitter, however, has used tools previously reserved as LARTs against this problem with no solution.

The submitter also thinks that maintaining 4+ different versions of this toolkit is insane, counterproductive, and too much trouble without a reasonable return.

Ports that depend on previous versions of GTK and are 2 versions behind the current GTK release should be marked BROKEN until the authors of said program upgrade their API.
</rant>

>Release-Note:
>Audit-Trail:
>Unformatted:


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199904132038.QAA12641>