Re: compile failure gtk+ 2.4.0 and 2.4.1 on Solaris 8



Le mar 01/06/2004 à 12:26, Steven M. Christensen a écrit :
> OK, I cleared config.log and reran
> 
>  ./configure --prefix=/usr/local --disable-nls

It seems that you always have the same errors. I extracted the result of
the last check from your config.log. You definitely have missing symbols
in libintl? In my linux version, dgettext and bindtextdomain are defined
in glibc. I do not know if symbols are prefixed in libs on Solaris. Try
objdump -T libintl.so (the name might be somewhat different).
In the glib sources, I found that these missing functions are treated
differnently whether nls is enabled or not. May be things should work if
you remove --disable-nls?

> configure:22511: gcc -o conftest -g -O2 -Wall -threads -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include   -DNDEBUG -I/usr/local/BerkeleyDB.4.2/include -I/usr/local/ssl/include -I/usr/openwin/include -I/usr/local/lib/glib-2.0/include -R/usr/lib -L/usr/lib -R/usr/openwin/lib -L/usr/openwin/lib -R/usr/local/lib -L/usr/local/lib -L/usr/local/BerkeleyDB.4.2/lib -R/usr/local/BerkeleyDB.4.2/lib -L/usr/local/ssl/lib -R/usr/local/ssl/lib conftest.c  -lintl  -threads -L/usr/local/lib -lgobject-2.0 -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0 -lintl -liconv   >&5
> Undefined			first referenced
>  symbol  			    in file
> libintl_bindtextdomain              /usr/local/lib/libglib-2.0.so
> libintl_dgettext                    /usr/local/lib/libglib-2.0.so
> ld: fatal: Symbol referencing errors. No output written to conftest
> collect2: ld returned 1 exit status
> configure:22517: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> | 
> | #define PACKAGE_NAME "gtk+"
> | #define PACKAGE_TARNAME "gtk+"
> | #define PACKAGE_VERSION "2.4.1"
> | #define PACKAGE_STRING "gtk+ 2.4.1"
> | #define PACKAGE_BUGREPORT "http://bugzilla.gnome.org/enter_bug.cgi?product=gtk+";
> | #define GETTEXT_PACKAGE "gtk20"
> | #define STDC_HEADERS 1
> | #define HAVE_SYS_TYPES_H 1
> | #define HAVE_SYS_STAT_H 1
> | #define HAVE_STDLIB_H 1
> | #define HAVE_STRING_H 1
> | #define HAVE_MEMORY_H 1
> | #define HAVE_STRINGS_H 1
> | #define HAVE_INTTYPES_H 1
> | #define HAVE_UNISTD_H 1
> | #define HAVE_DLFCN_H 1
> | #ifdef __cplusplus
> | extern "C" void std::exit (int) throw (); using std::exit;
> | #endif
> | #define _FILE_OFFSET_BITS 64
> | #define GTK_COMPILED_WITH_DEBUGGING "minimum"
> | #define HAVE_LSTAT 1
> | #define HAVE_MKSTEMP 1
> | #define HAVE_FLOCKFILE 1
> | #define HAVE_SIGSETJMP 1
> | #define HAVE_LOCALE_H 1
> | #define HAVE_LC_MESSAGES 1
> | #define HAVE_GETTEXT 1
> | #define HAVE_DCGETTEXT 1
> | #define ENABLE_NLS 1
> | #define GTK_LOCALEDIR "/usr/local/lib/locale"
> | /* end confdefs.h.  */
> | 
> | #include <glib.h>
> | #include <stdio.h>
> | 
> | int
> | main ()
> | {
> |  return ((glib_major_version) || (glib_minor_version) || (glib_micro_version));
> |   ;
> |   return 0;
> | }
> configure:22559: error:
> *** GLIB 2.4.0 or better is required. The latest version of
> *** GLIB is always available from ftp://ftp.gtk.org/pub/gtk/.

Attachment: signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]