#27905 [NEW]: make failes on GD function
| From: | till at klimpong dot com | Date: | Wed, 07 Apr 2004 13:41:31 +0000 |
| Subject: | #27905 [NEW]: make failes on GD function | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-57702@lists.php.net to get a copy of this message | ||
From: till at klimpong dot com
Operating system: freebsd 4.6
PHP version: 4.3.5
PHP Bug Type: Compile Failure
Bug description: make failes on GD function
Description:
------------
configure:
./configure --with-apxs=/usr/local/sbin/apxs
--with-config-file-path=/usr/local/etc --enable-versioning
--with-regex=system --without-gd --with-pgsql --with-gd=/usr/local
--enable-gd-native-ttf --with-freetype-dir=/usr/local
--with-jpeg-dir=/usr/local --with-png-dir=/usr/local --with-zlib
--with-bz2=/usr --with-mcrypt=/usr/local --with-mhash=/usr/local
--with-pdflib=/usr/local --with-zlib-dir=/usr --with-jpeg-dir=/usr/local
--with-png-dir=/usr/local --with-tiff-dir=/usr/local
--with-mysql=/usr/local/mysql4 --with-expat-dir=/usr/local --with-xmlrpc
--enable-xslt --with-xslt-sablot --enable-wddx --with-dom=/usr/local
--enable-ftp --with-gettext=/usr/local --enable-mbregex --enable-bcmath
--enable-sockets --enable-sysvsem --enable-sysvshm --enable-trans-sid
--with-iconv=/usr/local --enable-exif --enable-track-vars --with-imap
--with-mcal --with-pear --with-openssl=/usr/local
error:
<snip>
include/c-client -I/usr/local/include/mcal
-I/usr/local/mysql4/include/mysql -I/usr/local/pgsql/include
-I/usr/src/php-4.3.6RC2/TSRM -g -O2 -prefer-pic -c
/usr/src/php-4.3.6RC2/ext/ftp/php_ftp.c -o ext/ftp/php_ftp.lo
/bin/sh /usr/src/php-4.3.6RC2/libtool --silent --preserve-dup-deps
--mode=compile gcc -Iext/ftp/ -I/usr/src/php-4.3.6RC2/ext/ftp/
-DPHP_ATOM_INC -I/usr/src/php-4.3.6RC2/include
-I/usr/src/php-4.3.6RC2/main -I/usr/src/php-4.3.6RC2
-I/usr/src/php-4.3.6RC2/Zend -I/usr/local/include
-I/usr/local/include/libxml2 -I/usr/local/include/freetype2
-I/usr/local/include/gd -I/usr/local/include/c-client
-I/usr/local/include/mcal -I/usr/local/mysql4/include/mysql
-I/usr/local/pgsql/include -I/usr/src/php-4.3.6RC2/TSRM -g -O2
-prefer-pic -c /usr/src/php-4.3.6RC2/ext/ftp/ftp.c -o ext/ftp/ftp.lo
/bin/sh /usr/src/php-4.3.6RC2/libtool --silent --preserve-dup-deps
--mode=compile gcc -I/usr/local/include/gd -Iext/gd/
-I/usr/src/php-4.3.6RC2/ext/gd/ -DPHP_ATOM_INC
-I/usr/src/php-4.3.6RC2/include -I/usr/src/php-4.3.6RC2/main
-I/usr/src/php-4.3.6RC2 -I/usr/src/php-4.3.6RC2/Zend -I/usr/local/include
-I/usr/local/include/libxml2 -I/usr/local/include/freetype2
-I/usr/local/include/gd -I/usr/local/include/c-client
-I/usr/local/include/mcal -I/usr/local/mysql4/include/mysql
-I/usr/local/pgsql/include -I/usr/src/php-4.3.6RC2/TSRM -g -O2
-prefer-pic -c /usr/src/php-4.3.6RC2/ext/gd/gd.c -o ext/gd/gd.lo
/usr/src/php-4.3.6RC2/ext/gd/gd.c: In function `_php_image_bw_convert':
/usr/src/php-4.3.6RC2/ext/gd/gd.c:3642: structure has no member named
`trueColor'
*** Error code 1
./configure runs smooth, make fails.
I tried it on 4.3.5 and 4.3.6RC2, both fail. 4.3.4 worked for me.
--
Edit bug report at http://bugs.php.net/?id=27905&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=27905&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=27905&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=27905&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=27905&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=27905&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=27905&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=27905&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=27905&r=support
Expected behavior: http://bugs.php.net/fix.php?id=27905&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=27905&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=27905&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=27905&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27905&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=27905&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=27905&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=27905&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=27905&r=float