| Bug #7684 | Make dies on gd | ||||
|---|---|---|---|---|---|
| Submitted: | 7 Nov 2000 7:59pm UTC | Modified: | 8 Nov 2000 5:03pm UTC | ||
| From: | ignacio at openservices dot net | Assigned to: | |||
| Status: | Closed | Category: | Compile Failure | ||
| Version: | 4.0 Latest CVS (07/11/2000) | OS: | Red Hat Linux 6.2 | ||
[8 Nov 2000 4:53pm UTC] mathieu@php.net
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
[8 Nov 2000 5:03pm UTC] ignacio at openservices dot net
That's okay. I can't even find any docs on that function anyway, so no biggie :)

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?