imlib 1.9.3 compile error on Solaris 2.6
- From: Lyndon Drake <lyndon stat auckland ac nz>
- To: Gnome List <gnome-list gnome org>
- Subject: imlib 1.9.3 compile error on Solaris 2.6
- Date: Thu, 18 Feb 1999 12:04:09 +1300
Hi,
On the following system:
SunOS stat01 5.6 Generic_105181-11 sun4u sparc SUNW,Ultra-4
I get the following error compiling Imlib 1.9.3 (no options except
--prefix to configure):
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I. -I../gdk_imlib -I../gdk_imlib -I/usr/local/pkg/gtk+1.2/gtk+-1.1.16/include -I/usr/local/X11R6.4/include -I/usr/local/pkg/glib1.2/glib-1.1.16/lib/glib/include -I/usr/local/pkg/glib1.2/glib-1.1.16/include -I/usr/local/pkg/gtk+1.2/gtk+-1.1.16/include -I/usr/local/X11R6.4/include -I/usr/local/pkg/glib1.2/glib-1.1.16/lib/glib/include -I/usr/local/pkg/glib1.2/glib-1.1.16/include -I/usr/local/pkg/imlib/imlib-1.9.3/include -I/usr/local/pkg/imlib/imlib-1.9.3/include -g -O2 -c imlib_config.c
In file included from /usr/include/locale.h:47,
from imlib_config.c:35:
/usr/include/libintl.h:25: parse error before `const'
/usr/include/libintl.h:26: parse error before `const'
/usr/include/libintl.h:27: parse error before `const'
/usr/include/libintl.h:28: parse error before `const'
/usr/include/libintl.h:29: parse error before `const'
imlib_config.c: In function `add_onoff_visual':
imlib_config.c:1293: warning: passing arg 2 of `gtk_clist_new_with_titles' from incompatible pointer type
make: *** [imlib_config.o] Error 1
The problem can be solved by putting this in config.h
#define ENABLE_NLS 1
The configure output doesn't mention NLS or gettext.
I've put the configure output below.
Lyndon
[root@stat01 imlib-1.9.3]# ./configure --prefix=/usr/local/pkg/imlib/imlib-1.9.3
creating cache ./config.cache
checking for a BSD compatible install... ./install-sh -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... sparc-sun-solaris2.6
checking build system type... sparc-sun-solaris2.6
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/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking for BSD-compatible nm... /usr/ccs/bin/nm -p
checking command to parse /usr/ccs/bin/nm -p output... yes
checking for _ prefix in compiled symbols... no
checking whether ln -s works... yes
checking for object suffix... o
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... yes
checking if gcc static flag -static works... -static
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking whether the linker (/usr/ccs/bin/ld) supports shared libraries... yes
checking command to parse /usr/ccs/bin/nm -p output... yes
checking how to hardcode library paths into programs... immediate
checking for /usr/ccs/bin/ld option to reload object files... -r
checking dynamic linker characteristics... solaris2.6 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 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 gtk-config... /usr/local/bin/gtk-config
checking for GTK - version >= 1.1.9... yes
checking If dynamic linking works on this system... no
checking for djpeg... /usr/local/bin/djpeg
checking for cjpeg... /usr/local/bin/cjpeg
checking for convert... /usr/local/bin/convert
CONVERT_PROG is /usr/local/bin/convert
CONVERT_PATH is /usr/local/bin
checking for giftopnm... no
GIFTOPNM_PROG is
NETPBM_PATH is
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking for sys/wait.h that is POSIX.1 compatible... yes
checking return type of signal handlers... void
checking for vsnprintf... yes
checking for snprintf... yes
checking for blumfrub... no
checking for buckets_of_erogenous_nym... no
checking for buttox... no
checking for stdarg.h... yes
checking for string.h... yes
checking for strings.h... yes
checking for X... libraries /usr/local/X11R6.4/lib, headers /usr/local/X11R6.4/include
checking whether -R must be followed by a space... no
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... no
checking for gethostbyname in -lnsl... yes
checking for connect... no
checking for connect in -lsocket... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for XShmAttach in -lXext... no
checking for XShmAttach in -lXextSam... no
checking for sys/ipc.h... yes
checking for sys/shm.h... yes
checking whether shmctl IPC_RMID allowes subsequent attaches... no
checking X11/extensions/XShm.h... yes
checking for jpeg_destroy_decompress in -ljpeg... yes
checking for jpeglib.h... yes
checking for TIFFReadScanline in -ltiff... yes
checking for tiffio.h... yes
checking for gif_lib.h... yes
checking for DGifOpenFileName in -lungif... yes
checking for png_read_info in -lpng... yes
checking for png.h... yes
checking for png_structp in png.h... yes
checking for libpng version other than 1.0.2... yes
updating cache ./config.cache
creating ./config.status
creating gdk_imlib/Makefile
creating Imlib/Makefile
creating utils/Makefile
creating config/Makefile
creating doc/Makefile
creating Makefile
creating imlib-config
creating config.h
config.h is unchanged
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]