PHP 4.0 Bug #6885 Updated: gdImageCreateFromPng test comes up negative
| From: | Bug Database | Date: | Tue, 26 Sep 2000 08:52:00 +0000 |
| Subject: | PHP 4.0 Bug #6885 Updated: gdImageCreateFromPng test comes up negative | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-33629@lists.php.net to get a copy of this message | ||
ID: 6885
User Update by: kingmundi@hotmail.com
Old-Status: Open
Status: Closed
Bug Type: GD related
Description: gdImageCreateFromPng test comes up negative
This problem stems from there being a gd.h file that was installed under the Mac OS Server Ten dkpg.
The file was located at
/System/Library/Frameworks/Plot.framework/Versions/A/Headers/gd.h
After removing the file, and rebuilding GD the problem went away.
Previous Comments:
---------------------------------------------------------------------------
[2000-09-26 03:46:38] kingmundi@hotmail.com
I compile libpng 1.0.8, zlib, and gd 1.8.3
Within in the gd tar is gddemo.c which makes a gddemo executable.
./gddemo creates a png so I assume that gd is functioning correctly in making pngs.
in the php-4.0.2 directory I run
./configure
--with-mysql=/usr/local/mysql
--with-gd=/usr/local/src/gd
--with-apxs
--with-png-dir=/usr/local/src/png
--with-zlib-dir=/usr/local/src/zlib
It never seems to find the png functions.
checking for gdImageCreateFromPng in -lgd... no
And trying to access a php page that is trying to generate a png gives...
<b>Warning</b>: ImagePng: No PNG support in this PHP build
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=6885