Instructions to unsubscribe from this list at the end of the message
- ---------------------------------------------------------------------
Hello John,

Welcome to hacking world :)
Why you have so many problems? Because of...
When you try to install binary package (rpm) of program it checks for
dependencies and if dependant packages are found, everything is
installed. On other hand, when you try to compile program by yourself,
all dependencies are your headache :) Every library provides some
functionality to main program. To find what that library(program) does,
try find its homepage and read description. 

> error: *** libpng is needed (PNG library not found) - try
> to use --with-png-prefix option ***

it means that you have to point where library can be found
egz: ./configure --with-pnp-prefix=/usr/local/lib/pnglib

on other hand you can disable extension by using --without-png

type ./configure --help to see what options are available.

> I checked /usr/lib and there's a bunch of files called libpng... so
> I'm assuming I have the PNG libraries installed.

You right, you have libraries installed, but... The problem is that
actually you have one binary file, which name ends with version numbers,
and many symbolic links to it, in order to name it differently. Possibly
configure script cannot find a name he wants. The best way is to look
over the configure script and figure out how it checks for particular
library.

 if you get tired, try it other day or search for precompiled rpm
package. Redhat is very popular distribution, and normally someone
compiled the package and it dependencies for others:))

Cheers,
Gregory

- ---
[This E-mail was scanned for spam and viruses by NextGen.net.]

- ---------------------------------------------------------------------
You received this message because you are subscribed to the linux
mailing list. If you do not wish to continue receiving this mailing
list, please send a mail message to [EMAIL PROTECTED]
containing only the text "unsubscribe linux"

------------------------------

Reply via email to