Subject Re: [firebird-php] Installing GD2 lib on FC3 and PHP 4.3
Author Milan Babuskov
Todd Cary wrote:
> Well, I have run into a brick wall with the gd library. I downloaded
> the png library, libpng-1.2.8-config.tar.gz

Strange. I never expected library to have a word "config" in package. If
you run RH or FC, you should be able to simply install .rpm package for
it. It should be called libpng-devel.rpm or something similar.

> I did a successful configuration and make

And "make install" afterwards I suppose?

> it is successful, however the make fails when it get to the png and
> produces several pages of errors complaining of syntax errors in png.h.

So my guess that there are various versions of png was correct. On all
systems I have, png can be found in two locations. So, try using:

--with-png-dir=/usr/include/libpng

or

--with-png-dir=/usr/include

...as these seem like a standard location for png library.

--
Milan Babuskov
http://www.flamerobin.org