Bug #12111 Updated: gdImageCreateFromPng dos not work
| From: | sniper@php.net | Date: | Mon, 20 Aug 2001 16:10:33 +0000 |
| Subject: | Bug #12111 Updated: gdImageCreateFromPng dos not work | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-63873@lists.php.net to get a copy of this message | ||
ID: 12111
Updated by: sniper
Reported By: blon@nfrance.com
Old Status: Feedback
Status: Closed
Bug Type: GD related
Operating System: Linux
PHP Version: 4.0.6
New Comment:
No feedback. Reopen if you still have this problem
with PHP 4.0.7 (soon to be released) or with latest CVS
snapshot from http://snaps.php.net/
(can't reproduce)
Previous Comments:
------------------------------------------------------------------------
[2001-07-26 17:33:39] sniper@php.net
Check what error is given in config.log file.
Also, try adding --with-zlib to your configure line.
--Jani
------------------------------------------------------------------------
[2001-07-22 19:07:56] joey@php.net
No status was set.
------------------------------------------------------------------------
[2001-07-13 18:21:37] blon@nfrance.com
Hi
I know that all is OK with GD and PNG so tried
to add
#define HAVE_GD_PNG 1 in main/php_config.h after the configure.
All is OK with that line
The problems seems to come from ./configure
------------------------------------------------------------------------
[2001-07-12 14:20:35] blon@nfrance.com
./configure \
--with-pgsql=/usr/local \
--with-mysql=/usr/local \
--with-imagic \
--with-imap \
--enable-track-vars \
--enable-safe-mode \
--enable-memory-limit \
--enable-magic-quotes \
--enable-roxen-zts \
--with-gd=/usr/ \
--with-png-dir=/usr \
--with-jpeg-dir=/usr \
--with-t1lib \
--with-cpdflib \
--enable-ftp \
--enable-calendar \
--with-gdbm \
--enable-zlib=/usr/ \
--with-zlib-dir=/usr \
--with-gettext \
--with-xml \
--with-dom \
--with-swf \
--with-apache=/usr/local/src/apache_1.3.19
------------------------------------------------------------------------
[2001-07-12 14:05:33] rasmus@php.net
What is your ./configure line?
Make sure you specify where your libpng library and header files can be found under. eg.
--with-png-dir=/usr
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/?id=12111
Edit this bug report at http://bugs.php.net/?id=12111&edit=1