PHP 4.0 Bug #7684: Make dies on gd
| From: | ignacio at openservices dot net | Date: | Tue, 07 Nov 2000 18:59:42 +0000 |
| Subject: | PHP 4.0 Bug #7684: Make dies on gd | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-37382@lists.php.net to get a copy of this message | ||
From: ignacio@openservices.net
Operating system: Red Hat Linux 6.2
PHP version: 4.0 Latest CVS (07/11/2000)
PHP Bug Type: Compile Failure
Bug description: Make dies on gd
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?
--
Edit Bug report at: http://bugs.php.net/?id=7684&edit=1