gtk+-2.2.3 configure error.
[root@localhost gtk+-2.2.3]# ./configure
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 for gcc... gcc checking for C compiler default output... 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 build system type... i686-redhat-linux-gnu checking host system type... i686-redhat-linux-gnu checking for a sed that does not truncate output... /bin/sed checking for egrep... grep -E 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 dependent libraries... pass_all checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes 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++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking how to run the C++ preprocessor... g++ -E checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for fl32... no checking for af77... no checking for fort77... 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 lf95... no checking for g95... 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... yes 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/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no 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... no configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ 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 appending configuration tag "F77" to libtool checking whether to enable maintainer-specific portions of Makefiles... no checking for some Win32 platform... no checking for native Win32... no checking whether build environment is sane... yes checking for strerror in -lcposix... no checking for gcc option to accept ANSI C... none needed checking for a BSD-compatible install... /usr/bin/install -c checking whether make sets $(MAKE)... (cached) yes checking for pkg-config... /usr/bin/pkg-config checking for glib-2.0 >= 2.1.4 atk >= 1.0.1 pango >= 1.0.1... yes checking BASE_DEPENDENCIES_CFLAGS... -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 checking BASE_DEPENDENCIES_LIBS... -Wl,--export-dynamic -latk-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 checking Whether to write dependencies into .pc files... no checking for perl5... no checking for perl... /usr/bin/perl checking for indent... no checking for lstat... yes checking for mkstemp... yes checking for flockfile... yes checking for sigsetjmp... yes checking whether make is GNU Make... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for LC_MESSAGES... yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking for dgettext in libc... yes checking for bind_textdomain_codeset... yes checking for msgfmt... no checking for extra flags to get ANSI library prototypes... none needed checking for the BeOS... no checking for extra flags for POSIX compliance... none needed checking for pkg-config... (cached) /usr/bin/pkg-config checking for GLIB - version >= 2.1.4... yes (version 2.2.1) checking for bind_textdomain_codeset... (cached) yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking for ANSI C header files... (cached) yes checking for an ANSI C-conforming const... yes checking return type of signal handlers... void checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking for getresuid... yes checking for uid_t in sys/types.h... 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 checking whether to build gmodulized gdk-pixbuf... yes checking whether dynamic modules work... yes checking for TIFFReadScanline in -ltiff... yes checking tiffio.h usability... yes checking tiffio.h presence... yes checking for tiffio.h... yes checking for jpeg_destroy_decompress in -ljpeg... no configure: WARNING: *** JPEG loader will not be built (JPEG library not found) *** configure: error: *** Checks for JPEG loader failed. You can build without it by passing *** --without-libjpeg to configure but some programs using GTK+ may *** not work properly what's wrong????? |
An unresolved dependency. Check to see if you have libjpeg installed. If not, search it out on google and get it installed.
try 'whereis libjpeg' or 'locate libjpeg' |
jpeg library installed......
[root@localhost root]# locate "libjpeg" /usr/lib/libjpeg.so.62 /usr/lib/libjpeg.so.62.0.0 /usr/share/doc/libjpeg-6b /usr/share/doc/libjpeg-6b/usage.doc /usr/share/doc/libjpeg-6b/README |
Hmm, ok. I was having a very similar problem with gtk+-2.2 recently. Take a look at the thread and see if it helps you at all:
http://www.linuxquestions.org/questi...threadid=87502 I would tell you more, but that's all I know on the subject right now :D I just keep hacking away. |
Make sure /usr/lib is in your LD_LIBRARY_PATH variable.
> echo $LD_LIBRARY_PATH if not > export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib good luck! |
first.. i run ld_library_path in shell prompt.. not print anything in shell prompt.
so, setup the export command , and run the echo command again, print the /usr/lib path. run ./configure command,, same error message appear. [root@localhost gtk+-2.2.3]# echo $LD_LIBRARY_PATH [root@localhost gtk+-2.2.3]# export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib [root@localhost gtk+-2.2.3]# echo $LD_LIBRARY_PATH :/usr/lib [root@localhost gtk+-2.2.3]# ./configure checking for jpeg_destroy_decompress in -ljpeg... no configure: WARNING: *** JPEG loader will not be built (JPEG library not found) *** configure: error: *** Checks for JPEG loader failed. You can build without it by passing *** --without-libjpeg to configure but some programs using GTK+ may *** not work properly |
Did you try it like I did on my other thread? Worked for me:
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/lib/libjpeg.so.62 Im not real familiar with all the commands, but thats what greg103 told me and it worked. |
Hey !
Hi people... well i had the same problem while i was installing the gtk+2.2.4 and found a very good solution in this thread in other mailing list: http://www.mail-archive.com/gtk-list.../msg13058.html But if you don't want to read it and just want a fast solution, i'll paste here the basic steps. # tar -xvzf jpegsrc.v6b.tar.gz # cd jpeg-6b # ./configure --prefix=/usr # make test # make install # make install-lib Of course you must have installed all the other dependencies of gtk. Good luck. :) |
All times are GMT -5. The time now is 06:06 AM. |