Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-19-2003, 05:59 PM   #1
LQ Newbie
Registered: Apr 2003
Location: Nottingham, England
Distribution: Mandrake 9.0
Posts: 13

Rep: Reputation: 0
GTK+-2.2.1 Install problems


Everytime i run "./configure" in my gtk folder (/usr/local/gtk+-2.2.1) it gets as far as the following then stops:

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 have installed the JPEG package to it's default folder and have run "ldconfig" afterwards but GTK still wont work. If i run "./configure -without-libjpeg" then GTK configures with no problems.

What can i do to fix this cause it is annoying me intensely!

Before anyone tells me to use an RPM, i've tried that and it just says it conflicts with "initscripts-6.91" or something.

Thanks in advance

Old 04-20-2003, 02:00 AM   #2
LQ Newbie
Registered: Apr 2003
Location: Makati, Philippines
Distribution: RedHat, SuSE, Gentoo
Posts: 25

Rep: Reputation: 15
get the source of libjpeg...
cd to the jpeg-6b/
./configure --enable-shared

you can modify the configure flags to your liking, but --enable-shared will make gtk 'see' the jpeg library



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
GTK+ install problems garvint Mandriva 21 02-19-2006 02:48 AM
GTK+ install problems ih8linux Linux - Newbie 16 02-18-2006 09:23 PM
GTK install: Pango Problems Daddywags Linux - Software 9 04-27-2005 09:57 AM
Lopster install and GTK problems gregorw Linux - Software 3 03-22-2004 02:33 PM
GTK install problems oudent Linux - Software 0 01-05-2003 08:07 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:41 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration