Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-11-2005, 07:27 PM   #1
LQ Newbie
Registered: Aug 2005
Location: Provo
Distribution: SuSE & Novell Linux Desktop
Posts: 1

Rep: Reputation: 0
Question Installing GTK problems w/ PNG loader -- please help

-- Sorry I really am a newbie! (gotta give me a break I've been working at MSFT for the past few years b4 tansfering to an OpenSource Co, trying to convert.)

Trying to ./configure GTK+ 2.6.0, but this error occurs.

checking for png_read_info in -lpng... no
configure: WARNING: *** PNG loader will not be built (PNG library not found) ***configure: WARNING: *** PNG loader will not be built (PNG header file not found) ***
configure: error:
*** Checks for PNG loader failed. You can build without it by passing
*** --without-libpng to configure but many programs using GTK+ will
*** not work properly. The PNG loader is also needed if you are compiling
*** from CVS.

But I know that I already have libpng 1.2.5 and zlib installed. YaST shows me the installation, but not the directory.

Two Problems:

1. Don't know how to point GTK+ ./configure to libpng

2. Don't know libpng files to point to. (maybe I don't have the whole library?)

After installing Glib - Pango - Atk I thought I could do anything, this is killing me! Please help! Thanks in advance!
Old 08-12-2005, 04:14 PM   #2
Registered: Dec 2003
Location: ~root
Distribution: Debian
Posts: 363

Rep: Reputation: 33
Do a:

./configure -h
It will list an option somewhere to GTK+ to libpng. You should point it to the actual directory where libpng is installed.

P.S. WHy not install GTK+ using YaST?


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 errors about not recognizing png after yum groupupdate to dev version of gnome xfracture Linux - Software 6 12-14-2010 10:14 AM
Webalizer: configure: error: png library not found... please install png. mikeshn Linux - Software 5 01-10-2005 02:28 PM
Problems installing GTK in Mandrake 10.0 please help!! nerostar450 Linux - Software 1 10-13-2004 02:09 PM
Problems installing GTK+2.4.0 xonner Linux - Software 2 04-25-2004 04:27 PM
Problems installing glib and gtk+ 1.2.10... khermans Linux - Software 4 10-02-2002 09:47 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:47 AM.

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