LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 08-11-2005, 08:27 PM   #1
clcarroll
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, 05:14 PM   #2
saman007uk
Member
 
Registered: Dec 2003
Location: ~root
Distribution: Debian
Posts: 363

Rep: Reputation: 33
Do a:

Code:
./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?
 
  


Reply


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 11:14 AM
Webalizer: configure: error: png library not found... please install png. mikeshn Linux - Software 5 01-10-2005 03:28 PM
Problems installing GTK in Mandrake 10.0 please help!! nerostar450 Linux - Software 1 10-13-2004 03:09 PM
Problems installing GTK+2.4.0 xonner Linux - Software 2 04-25-2004 05:27 PM
Problems installing glib and gtk+ 1.2.10... khermans Linux - Software 4 10-02-2002 10:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:01 PM.

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