LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Installing GTK problems w/ PNG loader -- please help (https://www.linuxquestions.org/questions/linux-newbie-8/installing-gtk-problems-w-png-loader-please-help-352346/)

clcarroll 08-11-2005 07:27 PM

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!

saman007uk 08-12-2005 04:14 PM

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?


All times are GMT -5. The time now is 02:21 AM.