PHP 4.0 Bug #7684 Updated: Make dies on gd
| From: | mathieu@php.net | Date: | Wed, 08 Nov 2000 15:53:22 +0000 |
| Subject: | PHP 4.0 Bug #7684 Updated: Make dies on gd | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-37438@lists.php.net to get a copy of this message | ||
ID: 7684
Updated by: mathieu
Reported By: ignacio@openservices.net
Status: Closed
Bug Type: Compile Failure
Assigned To:
Comments:
Sorry, but upgrade to 1.5 or higher...
I did make GD build again but you won't be able to use
ImageCreateFromString() with a GD version lower than
1.5..
-- Mathieu
Previous Comments:
---------------------------------------------------------------------------
[2000-11-07 19:59:42] ignacio@openservices.net
Output:
gcc -I. -I/usr/src/redhat/BUILD/php-4.0.4_20001107/ext/gd
-I/usr/src/redhat/BUILD/php-4.0.4_20001107 -I/usr/src/redhat/BUILD/php-4.0.4_20001107/main
-I/usr/src/redhat/BUILD/php-4.0.4_20001107/Zend -I/usr/src/redhat/BUILD/php-4.0.4_20001107
-I/usr/include/openssl -I/usr/include/freetype -I/usr/include/imap -I/opt/sybase-11.9.2/include
-I/usr/src/redhat/BUILD/php-4.0.4_20001107/ext/xml/expat/xmltok
-I/usr/src/redhat/BUILD/php-4.0.4_20001107/ext/xml/expat/xmlparse
-I/usr/src/redhat/BUILD/php-4.0.4_20001107/TSRM -DXML_BYTE_ORDER=12 -O2 -m486 -fno-strength-reduce
-fPIC -c gd.c && touch gd.lo
gd.c: In function `_php_image_create_from_string':
gd.c:515: `gdIOCtx' undeclared (first use in this function)
gd.c:515: (Each undeclared identifier is reported only once
gd.c:515: for each function it appears in.)
gd.c:515: `io_ctx' undeclared (first use in this function)
gd.c: In function `php_if_imagecreatefromstring':
gd.c:572: `gdImageCreateFromGifCtx' undeclared (first use in this function)
make[3]: *** [gd.lo] Error 1
make[3]: Leaving directory `/usr/src/redhat/BUILD/php-4.0.4_20001107/ext/gd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/php-4.0.4_20001107/ext/gd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/php-4.0.4_20001107/ext'
make: *** [all-recursive] Error 1
Configure:
./configure
--prefix=%{_prefix}
--with-config-file-path=%{_sysconfdir}
--disable-debug
--enable-pic
--enable-shared
--enable-inline-optimization
$*
--with-exec-dir=%{_bindir}
--with-regex=php
--with-gettext
--with-gd
--with-jpeg-dir=%{_prefix}
--with-png
--with-zlib
--with-gdbm
--enable-debugger
--enable-magic-quotes
--enable-safe-mode
--enable-sysvsem
--enable-sysvshm
--enable-track-vars
--enable-yp
--enable-ftp
--without-mysql
--without-oracle
--without-oci8
--with-openssl
--with-xml
--with-imap
--with-sybase-ct=/opt/sybase-11.9.2
Any ideas?
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=7684