[PHP-DEV] PHP 4.0 Bug #7684 Updated: Make dies on gd From: ignacio <email protected>
Date: 11/08/00

ID: 7684
User Update by: ignacio <email protected>
Status: Closed
Bug Type: Compile Failure
Description: Make dies on gd

That's okay. I can't even find any docs on that function anyway, so no biggie :)

Previous Comments:
---------------------------------------------------------------------------

[2000-11-08 16:53:22] mathieu <email protected>
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

---------------------------------------------------------------------------

[2000-11-07 19:59:42] ignacio <email protected>
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

-- 
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>