Help - Search - Members - Calendar
Full Version: php with gd and RedHat 3 ES
The Planet Forums > Operating Systems > Red Hat Linux > Red Hat HOWTOs
flylord
Hi
I would like to install PHP-4.3.4 with GD support on my RH 3 SE box, but I am getting and error that I am missing png.h
Here is my configure option for php
./configure --prefix=/usr/local/php-4.3.4 --with-config-file-path=/etc --with-config-file-scan-dir=/etc/php.d --disable-debug --with-gd --with-zlib-dir --with-jpeg-dir --with-png-dir=/usr --with-png

Here are last lines:

checking for GD support... yes
checking for the location of libjpeg... yes
checking for the location of libpng... /usr
checking for the location of libXpm... no
checking for FreeType 1.x support... no
checking for FreeType 2... no
checking for T1lib support... no
checking whether to enable truetype string function in GD... no
checking whether to enable JIS-mapped Japanese font support in GD... no
checking for fabsf... yes
checking for floorf... yes
checking for jpeg_read_header in -ljpeg... yes
configure: error: png.h not found.

I also search my box for that file, and i don't have it, and I also search my all rpms for that file, also it isn't there
Can somebody help me with some advice?
Thanx
Ilic Aleksandar
Err0r
I answered this here: http://forums.ev1servers.net/showthread.ph...&threadid=43399
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.