A Solution to "JPEG Loader Failed" problem



I also encountered the "JPEG loader failed" problem
while executing configure.

On the command line, I typed these lines:

# cd gtk+-2.2.1
# ./configure --prefix=/usr

And I got this:

...

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

I found a solution.

What I did was I downloaded again the file
jpegsrc.v6b.tar.gz from
ftp://ftp.gtk.org/pub/gtk/v2.0/dependencies . Then I
did the following commands (Note: the *last* line is
very important):

# tar -xvzf jpegsrc.v6b.tar.gz
# cd jpeg-6b
# ./configure --prefix=/usr
# make test
# make install
# make install-lib

make install-lib transferred the various include and
lib files into their appropriate directories.

After that, I ran configure again on gtk+-2.2.1, and
configure finished successfully!

I'm using Mandrake Linux 9.0 (Linux 2.4.19-16mdk), and
my arch is i586.


=====
"Love makes time pass. Time makes love pass."

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com



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