help: trying to build imlib2
hi,
i'm trying to build imlib2 on my mandrake 10.0 box. my ultimate goal is to have an chinese input software (http://www.chinaunix.net/jh/4/369276.html) to work, but it asked for libImlib.so.11, so i have to build that first. i downloaded imlib-1.9.14.tar.gz from http://ftp.gnome.org/pub/GNOME/sources/imlib/1.9/ and untar it and ./configure, then it asked for tiff stuff, so after some research, i downloaded tiff-v3.6.0-beta2.tar.gz from http://dl.maptools.org/dl/libtiff/ and installed on my system (according to a roadmap given by this site http://cygwin.com/cgi-bin2/package-c...c&grep=libtiff). then i tried to ./configure imlib-1.9.14 again and i got this output. [root@localhost rfinput]# cd imlib-1.9.14/ [root@localhost imlib-1.9.14]# ./configure loading cache ./config.cache 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... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... found 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 Cygwin environment... no checking for mingw32 environment... no checking how to run the C preprocessor... gcc -E checking host system type... i686-pc-linux-gnu checking build system type... i686-pc-linux-gnu checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/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 dependant libraries... pass_all checking for object suffix... o checking for executable suffix... no checking command to parse /usr/bin/nm -B output... ok checking for dlfcn.h... yes checking for ranlib... ranlib checking for strip... strip checking for objdir... .libs checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... no 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 whether the linker (/usr/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/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 whether -lc should be explicitly linked in... no creating libtool checking whether to enable maintainer-specific portions of Makefiles... no checking for gtk-config... no checking for GTK - version >= 1.2.1... no *** The gtk-config script installed by GTK could not be found *** If GTK was installed in PREFIX, make sure PREFIX/bin is in *** your path, or set the GTK_CONFIG environment variable to the *** full path to gtk-config. configure: warning: *** gdk_imlib will not be built *** checking whether to build gmodulized imlib... yes 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 basename... 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/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 XShmAttach in -lXext... yes checking for sys/ipc.h... yes checking for sys/shm.h... yes checking whether shmctl IPC_RMID allowes subsequent attaches... yes 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... no configure: error: *** GIF header not found *** [root@localhost imlib-1.9.14]# cd .. so what's the deal for this 'checking for gif_lib.h... no configure: error: *** GIF header not found ***' error? machine specs: Dell dimension 600Mhz/192M RAM/40G + 10G HDD windows XP / Mandrake 10.0 dual boot windows XP on hard drive #1 (40G), mandrake 10.0 on hard drive #2 (10G) |
FWIW, this rpm has that file in it.
http://www2.linuxforum.net/RPM/Mandr...3mdk.i586.html Hope this helps. |
Quote:
yeah, i got it imlib-1.9.14 './configure' and 'make' and 'make install' alrite after install that 'libungif4' package but when i try to install the chinese rpm package (rf-xim-input-5.0-49.i386.rpm), i still got error msg below: >>>>>>>>>>>>>>>>>>>>>> [root@localhost chinput]# ls ctrlpanel-1.5-5.i386.rpm* pth-2.0.0.tar.gz* unicon2-im.tar.gz* db4-4.0.14-20.1.i386.rpm* rf-xim-input-5.0-49.i386.rpm* ZWinPro-3.2/ pth-2.0.0/ unicon2/ ZWinPro-3.2.tar.gz* [root@localhost chinput]# rpm -ivh rf-xim-input-5.0-49.i386.rpm error: Failed dependencies: libImlib.so.11 is needed by rf-xim-input-5.0-49 [root@localhost chinput]# whereis libImlib.so.11 libImlib.so: /usr/lib/libImlib.so.1 /usr/lib/libImlib.so /usr/local/lib/libImlib .so.1 /usr/local/lib/libImlib.so [root@localhost chinput]# >>>>>>>>>>>>>>>>>>>>>>>>> i've installed all the imlib packages, why it still asked for libImlib.so.11? thanks, |
All times are GMT -5. The time now is 06:41 AM. |