[PHP-DEV] PHP 4.0 Bug #6885: gdImageCreateFromPng test comes up negative From: kingmundi <email protected>
Date: 09/26/00

From: kingmundi <email protected>
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

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>