Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jul 2002 10:33:13 +0200
From:      Buki <dev@null.cz>
To:        gnome@FreeBSD.org
Subject:   gtk12 port error
Message-ID:  <20020704103312.B6237@veverka.sh.cvut.cz>

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

--pWyiEgJYm5f9v55/
Content-Type: text/plain; charset=us-ascii

Hi,

I get this strange error:

buki@hal9000:/usr/ports/x11-toolkits/gtk12#make
===>  Configuring for gtk-1.2.10_7
loading 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}... (cached) yes
checking for working aclocal... missing

[snip]

checking for extra flags for POSIX compliance... none needed
checking for glib-config... /usr/local/bin/glib12-config
checking for GLIB - version >= 1.2.8... 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.8 or better is required. The latest version of GLIB
*** is always available from ftp://ftp.gtk.org/.
===>  Script "configure" failed unexpectedly.
      Please report the problem to gnome@FreeBSD.org [maintainer] and attach
      the "/usr/ports/x11-toolkits/gtk12/work/gtk+-1.2.10/config.log" including
      the output of the failure of your make command. Also, it might be a good
      idea to provide an overview of all packages installed on your system
      (e.g. an `ls /var/db/pkg`).
*** Error code 1

Stop in /usr/ports/x11-toolkits/gtk12.

while 

buki@hal9000:/usr/ports/x11-toolkits/gtk12#/usr/local/bin/glib12-config --version glib
1.2.10

IMHO 1.2.10 is bigger version number than 1.2.8 :)
Can you please take a look at it?

the packages installed:

Hermes-1.3.2                            libslang-1.4.5
Mesa-3.4.2_2                            libtool-1.3.4_4
ORBit-0.5.17                            libungif-4.1.0b1
XFree86-4.2.0_1,1                       libvorbis-1.0.r3_1,2
XFree86-FontServer-4.2.0                libxml-1.8.17_1
XFree86-Server-4.2.0_3                  libxml2-2.4.22_1
XFree86-clients-4.2.0_2                 libxslt-1.0.18
XFree86-documents-4.2.0                 links-2.0,1
XFree86-font100dpi-4.2.0                linux-flashplugin-5.0r48
XFree86-font75dpi-4.2.0                 linux-netscape-navigator-4.79
XFree86-fontCyrillic-4.2.0              linux-openmotif-2.1.30
XFree86-fontDefaultBitmaps-4.2.0        linux-png-1.0.3_1
XFree86-fontEncodings-4.2.0             linux_base-7.1
XFree86-fontScalable-4.2.0              linuxdoc-1.1
XFree86-libraries-4.2.0_1               lynx-ssl-2.8.4.1b_1
arts++-1-1-a8_1                         lzo-1.07
autoconf213-2.13.000227_1               m4-1.4_1
automake14-1.4.5                        mc-4.5.54_3
bison-1.35_1                            mkcatalog-1.1
boehm-gc-6.0                            mpage-2.5.2
cksfv-1.3                               mpg123-esound-0.59r_7
curl-7.9.8                              mutt-devel-1.5.1
cvsup-16.1f                             nasm-0.98.33,1
db3-3.2.9_3,1                           netscape-remote-1.0_1
djbfft-0.76                             netscape-wrapper-2000.07.07
docbook-1.2                             nmap-2.54.b34
docbook-241                             p5-Compress-Zlib-1.16
docbook-3.0                             p5-type1inst-0.6.1
docbook-3.1                             pkg_tarup-1.2_3
docbook-4.0                             pkgconfig-0.12.0
docbook-4.1                             pkgdb.db
docbook-xml-4.1.2_1                     png-1.2.3
docbook-xsl-1.51.1                      popt-1.5.1_1
esound-0.2.28                           portupgrade-20020429_1
expat-1.95.2                            python-2.2.1
freetype2-2.1.2                         qt-3.0.3_5
gdk-pixbuf-0.18.0                       rfc-3.2.2
gettext-0.10.35_2                       rpm-3.0.6_6
gettext-0.11.2                          ruby-1.6.7.2002.05.23
ghostscript-gnu-7.05_1                  ruby-bdb1-0.1.7
ghostview-1.5                           ruby-optparse-0.8.6
gle-3.0.3                               ruby-shim-ruby18-1.7.2.2002.05.21
glib-1.2.10_7                           rxvt-devel-2.7.8_1
gmake-3.79.1_2                          scrollkeeper-0.3.9,1
gnupg-1.0.7                             sdocbook-xml-4.1.2.5
gtk-1.2.10_3                            sgmlformat-1.7_2
guile-1.4.1_1                           slrn-0.9.7.4
imake-4.2.0_1                           tcl-8.3.4_4
imlib-1.9.11                            tiff-3.5.7
intlfonts-1.2                           tk-8.3.4_3
intltool-0.22                           unzip-5.50
iso8879-1986                            w3m-0.3
jade-1.2.1_1                            wdm-1.20_1
jpeg-6b_1                               windowmaker-0.80.0_1
lame-gtk-3.91                           wmCalClock-1.25
lcms-1.08                               wmWeather-1.31
liba52-0.7.3_2                          wmcliphist-0.3
libaudiofile-0.2.3                      wmicons-1.0
libgnugetopt-1.1                        wmlmmon-0.60
libiconv-1.8                            wmmixer-1.0b1
libimg-1.2.4                            wmmon-1.0b2
libmikmod-3.1.10                        wrapper-1.0_2
libmng-1.0.3                            xchat-1.7.8
libogg-1.0.r3_1,2                       xscreensaver-4.02
libproplist-0.10.1                      xv-3.10a_2

Thanks

Buki
-- 
PGP public key: http://dev.null.cz/buki.asc

		/"\
		\ /     ASCII Ribbon Campaign
		 X      Against HTML & Outlook Mail
		/ \     http://www.thebackrow.net


--pWyiEgJYm5f9v55/
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="config.log"

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

configure:661: checking for a BSD compatible install
configure:714: checking whether build environment is sane
configure:771: checking whether make sets ${MAKE}
configure:810: checking for working aclocal
configure:823: checking for working autoconf
configure:836: checking for working automake
configure:849: checking for working autoheader
configure:862: checking for working makeinfo
configure:957: checking host system type
configure:978: checking build system type
configure:998: checking for ranlib
configure:1028: checking for gcc
configure:1141: checking whether the C compiler (cc -O -pipe -march=pentiumpro ) works
configure:1157: cc -o conftest -O -pipe -march=pentiumpro -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
configure:1183: checking whether the C compiler (cc -O -pipe -march=pentiumpro ) is a cross-compiler
configure:1188: checking whether we are using GNU C
configure:1216: checking whether cc accepts -g
configure:1259: checking for ld used by GCC
configure:1321: checking if the linker (/usr/libexec/elf/ld) is GNU ld
configure:1337: checking for BSD-compatible nm
configure:1373: checking whether ln -s works
ltconfig:603: checking for object suffix
ltconfig:604: cc -c -O -pipe -march=pentiumpro -I/usr/local/include conftest.c 1>&5
ltconfig:776: checking if cc PIC flag -fPIC works
ltconfig:777: cc -c -O -pipe -march=pentiumpro -fPIC -DPIC -I/usr/local/include conftest.c 1>&5
ltconfig:829: checking if cc supports -c -o file.o
ltconfig:830: cc -c -O -pipe -march=pentiumpro -o out/conftest2.o -I/usr/local/include conftest.c 1>&5
ltconfig:862: checking if cc supports -c -o file.lo
ltconfig:863: cc -c -O -pipe -march=pentiumpro -c -o conftest.lo -I/usr/local/include conftest.c 1>&5
ltconfig:914: checking if cc supports -fno-rtti -fno-exceptions
ltconfig:915: cc -c -O -pipe -march=pentiumpro -fno-rtti -fno-exceptions -c conftest.c -I/usr/local/include conftest.c 1>&5
ltconfig:958: checking if cc static flag -static works
ltconfig:959: cc -o conftest -O -pipe -march=pentiumpro -I/usr/local/include  -static conftest.c -L/usr/local/lib 1>&5
GNU ld version 2.11.2 20010719 [FreeBSD] (with BFD 2.11.2 20010719 [FreeBSD])
ltconfig:1635: checking if global_symbol_pipe works
ltconfig:1636: cc -c -O -pipe -march=pentiumpro -I/usr/local/include conftest.c 1>&5
ltconfig:1639: eval "/usr/bin/nm -B conftest.o | sed -n -e 's/^.*[ 	]\([ABCDGISTW]\)[ 	][ 	]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' > conftest.nm"
ltconfig:1691: cc -o conftest -O -pipe -march=pentiumpro -fno-builtin -fno-rtti -fno-exceptions -I/usr/local/include  conftest.c conftstm.o 1>&5
configure:1559: checking whether to enable maintainer-specific portions of Makefiles
configure:1589: checking host system type
configure:1705: checking whether build environment is sane
configure:1747: checking for gcc
configure:1860: checking whether the C compiler (cc -O -pipe -march=pentiumpro ) works
configure:1876: cc -o conftest -O -pipe -march=pentiumpro -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
configure:1902: checking whether the C compiler (cc -O -pipe -march=pentiumpro ) is a cross-compiler
configure:1907: checking whether we are using GNU C
configure:1935: checking whether cc accepts -g
configure:1967: checking for POSIXized ISC
configure:1991: checking for cc option to accept ANSI C
configure:2044: cc  -c -O -pipe -march=pentiumpro -I/usr/local/include conftest.c 1>&5
configure:2079: checking for a BSD compatible install
configure:2132: checking whether make sets ${MAKE}
configure:2189: checking for gawk
configure:2189: checking for mawk
configure:2189: checking for nawk
configure:2223: checking for perl5
configure:2257: checking for indent
configure:2294: checking whether make is GNU Make
configure:2312: checking how to run the C preprocessor
configure:2333: cc -E -I/usr/local/include conftest.c >/dev/null 2>conftest.out
configure:2392: checking for ANSI C header files
configure:2405: cc -E -I/usr/local/include conftest.c >/dev/null 2>conftest.out
configure:2472: cc -o conftest -O -pipe -march=pentiumpro -Wall -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
configure:2496: checking for working const
configure:2550: cc -c -O -pipe -march=pentiumpro -Wall -I/usr/local/include conftest.c 1>&5
configure: In function `main':
configure:2524: warning: unused variable `s'
configure:2544: warning: unused variable `foo'
configure:2512: warning: unused variable `zero'
configure:2506: warning: unused variable `x'
configure:2523: warning: `t' might be used uninitialized in this function
configure:2541: warning: `b' might be used uninitialized in this function
configure:2571: checking for inline
configure:2585: cc -c -O -pipe -march=pentiumpro -Wall -I/usr/local/include conftest.c 1>&5
configure: In function `main':
configure:2581: warning: control reaches end of non-void function
configure: At top level:
configure:2581: warning: return-type defaults to `int'
configure:2611: checking for off_t
configure:2644: checking for size_t
configure:2679: checking for working alloca.h
configure:2691: cc -o conftest -O -pipe -march=pentiumpro -Wall -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
configure:2685: alloca.h: No such file or directory
configure: In function `main':
configure:2687: warning: unused variable `p'
configure: failed program was:
#line 2684 "configure"
#include "confdefs.h"
#include <alloca.h>
int main() {
char *p = alloca(2 * sizeof(int));
; return 0; }
configure:2712: checking for alloca
configure:2745: cc -o conftest -O -pipe -march=pentiumpro -Wall -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
configure: In function `main':
configure:2741: warning: unused variable `p'
configure:2914: checking for unistd.h
configure:2924: cc -E -I/usr/local/include conftest.c >/dev/null 2>conftest.out
configure:2953: checking for getpagesize
configure:2981: cc -o conftest -O -pipe -march=pentiumpro -Wall -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
configure:3006: checking for working mmap
configure:3154: cc -o conftest -O -pipe -march=pentiumpro -Wall -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
configure: In function `main':
configure:3095: warning: implicit declaration of function `getpagesize'
configure:3104: warning: implicit declaration of function `rand'
configure:3105: warning: implicit declaration of function `umask'
configure:3109: warning: implicit declaration of function `write'
configure:3111: warning: implicit declaration of function `close'
configure:3142: warning: implicit declaration of function `read'
configure:3148: warning: implicit declaration of function `unlink'
configure:3182: checking for argz.h
configure:3192: cc -E -I/usr/local/include conftest.c >/dev/null 2>conftest.out
configure:3188: argz.h: No such file or directory
configure: failed program was:
#line 3187 "configure"
#include "confdefs.h"
#include <argz.h>
configure:3182: checking for limits.h
configure:3192: cc -E -I/usr/local/include conftest.c >/dev/null 2>conftest.out
configure:3182: checking for locale.h
configure:3192: cc -E -I/usr/local/include conftest.c >/dev/null 2>conftest.out
configure:3182: checking for nl_types.h
configure:3192: cc -E -I/usr/local/include conftest.c >/dev/null 2>conftest.out
configure:3182: checking for malloc.h
configure:3192: cc -E -I/usr/local/include conftest.c >/dev/null 2>conftest.out
In file included from configure:3188:
/usr/include/malloc.h:2: warning: #warning "this file includes <malloc.h> which is deprecated, use <stdlib.h> instead"
configure: failed program was:
#line 3187 "configure"
#include "confdefs.h"
#include <malloc.h>
configure:3182: checking for string.h
configure:3192: cc -E -I/usr/local/include conftest.c >/dev/null 2>conftest.out
configure:3182: checking for unistd.h
configure:3182: checking for sys/param.h
configure:3192: cc -E -I/usr/local/include conftest.c >/dev/null 2>conftest.out
configure:3222: checking for getcwd
configure:3250: cc -o conftest -O -pipe -march=pentiumpro -Wall -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
configure:3222: checking for munmap
configure:3250: cc -o conftest -O -pipe -march=pentiumpro -Wall -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
configure:3222: checking for putenv
configure:3250: cc -o conftest -O -pipe -march=pentiumpro -Wall -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
configure:3222: checking for setenv
configure:3250: cc -o conftest -O -pipe -march=pentiumpro -Wall -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
configure:3222: checking for setlocale
configure:3250: cc -o conftest -O -pipe -march=pentiumpro -Wall -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
configure:3222: checking for strchr
configure:3250: cc -o conftest -O -pipe -march=pentiumpro -Wall -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
configure:3222: checking for strcasecmp
configure:3250: cc -o conftest -O -pipe -march=pentiumpro -Wall -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
configure:3222: checking for strdup
configure:3250: cc -o conftest -O -pipe -march=pentiumpro -Wall -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
configure:3222: checking for __argz_count
configure:3250: cc -o conftest -O -pipe -march=pentiumpro -Wall -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
/tmp/ccAN87uJ.o: In function `main':
/tmp/ccAN87uJ.o(.text+0x7): undefined reference to `__argz_count'
configure: failed program was:
#line 3227 "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:3222: checking for __argz_stringify
configure:3250: cc -o conftest -O -pipe -march=pentiumpro -Wall -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
/tmp/cc0yUdes.o: In function `main':
/tmp/cc0yUdes.o(.text+0x7): undefined reference to `__argz_stringify'
configure: failed program was:
#line 3227 "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:3222: checking for __argz_next
configure:3250: cc -o conftest -O -pipe -march=pentiumpro -Wall -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
/tmp/ccSkOgiI.o: In function `main':
/tmp/ccSkOgiI.o(.text+0x7): undefined reference to `__argz_next'
configure: failed program was:
#line 3227 "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:3279: checking for stpcpy
configure:3307: cc -o conftest -O -pipe -march=pentiumpro -Wall -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
/tmp/ccBVd968.o: In function `main':
/tmp/ccBVd968.o(.text+0x7): undefined reference to `stpcpy'
configure: failed program was:
#line 3284 "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:3341: checking for LC_MESSAGES
configure:3353: cc -o conftest -O -pipe -march=pentiumpro -Wall -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
configure:3374: checking whether NLS is requested
configure:3406: checking for libintl.h
configure:3416: cc -E -I/usr/local/include conftest.c >/dev/null 2>conftest.out
configure:3433: checking for dgettext in libc
configure:3445: cc -o conftest -O -pipe -march=pentiumpro -Wall -I/usr/local/include  conftest.c -L/usr/local/lib 1>&5
/tmp/ccAF6JOQ.o: In function `main':
/tmp/ccAF6JOQ.o(.text+0x14): undefined reference to `dgettext'
configure: failed program was:
#line 3438 "configure"
#include "confdefs.h"
#include <libintl.h>
int main() {
return (int) dgettext ("","")
; return 0; }
configure:3461: checking for bindtextdomain in -lintl
configure:3480: cc -o conftest -O -pipe -march=pentiumpro -Wall -I/usr/local/include  conftest.c -lintl  -L/usr/local/lib 1>&5
configure:3496: checking for dgettext in libintl
configure:3501: checking for dgettext in -lintl
configure:3520: cc -o conftest -O -pipe -march=pentiumpro -Wall -I/usr/local/include  conftest.c -lintl  -L/usr/local/lib 1>&5
configure:3563: checking for msgfmt
configure:3597: checking for dcgettext
configure:3625: cc -o conftest -O -pipe -march=pentiumpro -Wall -I/usr/local/include  conftest.c -L/usr/local/lib -lintl 1>&5
configure:3652: checking for gmsgfmt
configure:3688: checking for xgettext
configure:3728: cc -o conftest -O -pipe -march=pentiumpro -Wall -I/usr/local/include  conftest.c -L/usr/local/lib -lintl 1>&5
configure:4004: checking for catalogs to be installed
configure:4114: checking for extra flags to get ANSI library prototypes
configure:4128: cc -o conftest -O -pipe -march=pentiumpro -Wall -I/usr/local/include  conftest.c -L/usr/local/lib  -lintl -lm 1>&5
configure:4168: checking for extra flags for POSIX compliance
configure:4177: cc -c -O -pipe -march=pentiumpro -Wall -I/usr/local/include conftest.c 1>&5
configure: In function `main':
configure:4173: warning: unused variable `dir'
configure:4270: checking for glib-config
configure:4305: checking for GLIB - version >= 1.2.8
configure:4404: cc -o conftest -O -pipe -march=pentiumpro -Wall -I/usr/local/include/glib12 -D_THREAD_SAFE -I/usr/local/include  conftest.c -L/usr/local/lib -Wl,-E -lgmodule12 -lgthread12 -lglib12 -pthread -L/usr/local/lib  -lintl 1>&5
/usr/local/lib/libintl.so: undefined reference to `nl_langinfo'
configure: failed program was:
#line 4328 "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.8");
  if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
     printf("%s, bad version string\n", "1.2.8");
     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:4448: cc -o conftest -O -pipe -march=pentiumpro -Wall -I/usr/local/include/glib12 -D_THREAD_SAFE -I/usr/local/include  conftest.c -L/usr/local/lib  -lintl -L/usr/local/lib -Wl,-E -lgmodule12 -lgthread12 -lglib12 -pthread 1>&5
/usr/local/lib/libintl.so: undefined reference to `nl_langinfo'
configure: failed program was:
#line 4438 "configure"
#include "confdefs.h"

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

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

--pWyiEgJYm5f9v55/--

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




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