PHP 4.0 Bug #6885: gdImageCreateFromPng test comes up negative
| From: | kingmundi at hotmail dot com | Date: | Tue, 26 Sep 2000 07:46:38 +0000 |
| Subject: | PHP 4.0 Bug #6885: gdImageCreateFromPng test comes up negative | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-33655@lists.php.net to get a copy of this message | ||
From: kingmundi@hotmail.com
Operating system: Rhapsody 5.6 Kernel Release 5.6: Tue Nov 23 15:07:38 PST 1999;
root(rcbuilder):Objects/kernel-187.obj~2/RELEASE_PPC Copyright (c) 1988-1995,1997-1999 Apple
Computer, Inc. All Rights Reserved. Power Macintosh
PHP version: 4.0.2
PHP Bug Type: GD related
Bug description: gdImageCreateFromPng test comes up negative
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