GTK+ 1.1.9 compile errors



Sorry for the long message, but I wanted to include as much information
as possible.

I am running Slackware linux 3.6 running the 2.2.2 kernel
XFree 3.3.3
gcc 2.7.2.3
using libc5 (glibc1)

Here is the process I followed to install GTK+ 1.1.9.

downloaded glib 1.1.9
glib compile/install: ./configure ; make
died on configure
downloaded linuxthreads, installed
glib compile/install: ./configure;make
died on make
downloaded gettext 10.35 from alpha.gnu.org
gettext compile/install: ./configure;make
died on make
gettext compile/install: ./configure --disable-nls;make;make install
success
ldconfig
glib compile/install: ./configure;make;make install
success
ldconfig
downloaded gtk+-1.1.9
gtk+ compile/install: ./configure;make;make install
died on make
gtk+ compile/install: ./configure --disable-nls;make
died on make, same error messages

i'm stuck there.  i can't get around the compile errors with gtk+.
i dont know what i'm doing wrong, but here is a dump of ./configure
and a dump of the errors i get when i try to compile gtk+

thanks for any help... this is driving me insane ;)

errors:
creating libgtk.la
(cd .libs && ln -s ../libgtk.la libgtk.la)
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"Gtk\"
-DGTK_EXE_PREFIX=\"/usr/local\" -DGTK_DATA_PREFIX=\"/usr/local\"
-DGTK_SYSCONFDIR=\"/usr/local/etc\"
-DGTK_LOCALEDIR=\"/usr/local/share/locale\" -I.. -DGTK_NO_CHECK_CASTS
-DUSE_XIM -I/usr/local/lib/glib/include -I/usr/local/include
-D_REENTRANT
-I/usr/X11R6/include  -g -O2 -Wall -c testgtk.c
/bin/sh ../libtool --mode=link gcc -g -O2 -Wall  -o testgtk  testgtk.o
libgtk.la ../gdk/libgdk.la -L/usr/X11R6/lib -lXext -lX11
-L/usr/local/lib
-rdynamic -lgmodule -lgthread -lglib -lpthread -ldl -lm -lintl
gcc -g -O2 -Wall -o .libs/testgtk testgtk.o -Wl,--rpath
-Wl,/usr/local/lib
.libs/libgtk.so -L/usr/local/lib -lgmodule -lgthread -lglib -lpthread
-ldl
-L/usr/X11R6/lib -lXext -lX11 -lm -lintl -Wl,--rpath
-Wl,/usr/local/lib
../gdk/.libs/libgdk.so -L/usr/local/lib -lgmodule -lgthread -lglib
-lpthread -ldl -L/usr/X11R6/lib -lXext -lX11 -lm -lintl
-L/usr/X11R6/lib
-lXext -lX11 -L/usr/local/lib -rdynamic -lgmodule -lgthread -lglib
-lpthread -ldl -lm -lintl
.libs/libgtk.so: undefined reference to `dgettext'
make[2]: *** [testgtk] Error 1
make[2]: Leaving directory `/root/gtk+-1.1.9/gtk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/gtk+-1.1.9'
make: *** [all-recursive-am] Error 2

configure:
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/ginstall -c
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... i586-pc-linux-gnulibc1
checking for ranlib... ranlib
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for ld used by GCC... /usr/i486-linux/bin/ld
checking if the linker (/usr/i486-linux/bin/ld) is GNU ld... yes
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... -static
checking if the linker (/usr/i486-linux/bin/ld) is GNU ld... yes
checking whether the linker (/usr/i486-linux/bin/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/i486-linux/bin/ld option to reload object files...
-r
checking dynamic linker characteristics... Linux 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... i586-pc-linux-gnulibc1
checking whether build environment is sane... yes
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -g -O2 ) works... yes
checking whether the C compiler (gcc -g -O2 ) is a cross-compiler...
no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for POSIXized ISC... no
checking for gcc option to accept ANSI C... none needed
checking for a BSD compatible install... /usr/bin/ginstall -c
checking whether make sets ${MAKE}... (cached) yes
checking for mawk... no
checking for gawk... gawk
checking for perl5... perl5
checking for indent... indent
checking how to run the C preprocessor... gcc -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... yes
checking for alloca... yes
checking for unistd.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking for argz.h... yes
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... yes
checking for __argz_stringify... yes
checking for __argz_next... no
checking for stpcpy... yes
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...  de pt
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... none needed
checking for glib-config... /usr/local/bin/glib-config
checking for GLIB - version >= 1.1.9... yes
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for XOpenDisplay in -lX11... yes
checking for XShmAttach in -lXext... yes
checking for XShapeCombineMask in -lXext... yes
checking for XConvertCase in -lX11... yes
checking for XUnregisterIMInstantiateCallback in -lX11... yes
checking for sys/ipc.h... yes
checking for sys/shm.h... yes
checking X11/extensions/XShm.h... yes
checking need -DX_LOCALE... no
checking for ANSI C header files... (cached) yes
checking for working const... (cached) yes
checking return type of signal handlers... void
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... (cached) yes
checking for fd_set... yes, found in sys/types.h
checking for wchar.h... yes
checking for wctype.h... yes
checking for iswalnum... yes
checking if iswalnum() and friends are properly defined... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating gtk-config
creating po/Makefile.in
creating docs/Makefile
creating gdk/Makefile
creating gtk/Makefile
creating gtk/gtkfeatures.h
creating config.h

-j



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