Subject Re: [firebird-php] Installing GD2 lib on FC3 and PHP 4.3
Author Todd Cary
Milan Babuskov wrote:

>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?
>
>
Yup!

>
>
>>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
>
>
The png.h did exist on my inital install of FC3 which prompted me to
try installing a complete png. On examination of the errors, what is
missing are jpeg components. The first message of MANY is

/tmp/php-4.3.11/ext/gd/libgd/gd_jpeg.c:42:21: jpeglib.h: No such file or
directory

jpeglib.h is nowhere to be found pn my system.

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


[Non-text portions of this message have been removed]