I'm trying to install imlib2 from sources. (On SuSE Pro 9.1)
I downloaded the latest version off sourceforge, unpacked it in and typed the following:
linux:/usr/src/packages/SOURCES/imlib2-1.1.2 # ./configure
Which resultet in no obvious errors:
Quote:
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for strerror in -lcposix... no
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... yes
checking for working aclocal-1.4... missing
checking for working autoconf... missing
checking for working automake-1.4... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking whether byte ordering is bigendian... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for an ANSI C-conforming const... yes
checking for a sed that does not truncate output... /usr/bin/sed
checking for ld used by gcc... /usr/i586-suse-linux/bin/ld
checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes
checking for /usr/i586-suse-linux/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking how to run the C++ preprocessor... /lib/cpp
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
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 whether the gcc linker (/usr/i586-suse-linux/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking whether the g++ linker (/usr/i586-suse-linux/bin/ld) supports shared libraries... yes
libtool.m4: error: problem compiling CXX test program
checking for g++ option to produce PIC...
checking if g++ supports -c -o file.o... no
checking whether the g++ linker (/usr/i586-suse-linux/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking for freetype-config... /usr/bin/freetype-config
checking whether fopen accepts "b" mode... yes
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
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 dlopen in -ldl... yes
checking for lt_dlopen in -lltdl... no
checking for jpeg_destroy_decompress in -ljpeg... yes
checking for jpeglib.h... yes
checking for png_read_info in -lpng... yes
checking for png.h... yes
checking for TIFFReadScanline in -ltiff... yes
checking for tiffio.h... yes
checking for DGifOpenFileName in -lungif... yes
checking for gif_lib.h... yes
checking for uncompress in -lz... yes
checking for zlib.h... yes
checking for BZ2_bzRead in -lbz2... yes
checking for bzlib.h... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating loaders/Makefile
config.status: creating src/Makefile
config.status: creating test/Makefile
config.status: creating filters/Makefile
config.status: creating demo/Makefile
config.status: creating doc/Makefile
config.status: creating imlib2-config
config.status: creating imlib2.pc
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default-1 commands
config.status: executing default commands
|
But when i ran the make command:
linux:/usr/src/packages/SOURCES/imlib2-1.1.2 # make
I received the following error messages:
Quote:
make all-recursive
make[1]: Entering directory `/usr/src/packages/SOURCES/imlib2-1.1.2'
Making all in src
make[2]: Entering directory `/usr/src/packages/SOURCES/imlib2-1.1.2/src'
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I../src -I../src -I../loaders -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/local/include -I/usr/local/include -g -O2 -c scale.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I../src -I../src -I../loaders -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/local/include -I/usr/local/include -g -O2 -c scale.c -fPIC -DPIC -o .libs/scale.o
In file included from colormod.h:12,
from scale.c:2:
image.h:9:65: ltdl.h: No such file or directory
In file included from colormod.h:12,
from scale.c:2:
image.h:117: error: parse error before "lt_dlhandle"
image.h:117: warning: no semicolon at end of struct or union
image.h:125: error: parse error before '}' token
make[2]: *** [scale.lo] Error 1
make[2]: Leaving directory `/usr/src/packages/SOURCES/imlib2-1.1.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/packages/SOURCES/imlib2-1.1.2'
make: *** [all-recursive-am] Error 2
|
Can anyone tell me what this error might mean?