ID: 28175 Updated by: [EMAIL PROTECTED] Reported By: martin dot kenney at i2net dot com -Status: Open +Status: Feedback Bug Type: Compile Failure Operating System: slackware 9.1, 2.4.25 kernel PHP Version: 4.3.6 New Comment:
Try the following patch: http://ilia.ws/stuff/gd.txt Previous Comments: ------------------------------------------------------------------------ [2004-04-28 14:37:01] paul dot gardiner at barleychalu dot co dot uk I get the same on redhat 8. Removing the --with-freetype-dir=/usr from configure results in a successful compile. It used to work on 4.3.5. I'd guess it would probably be the upgrade of the bundled gd. Not had time to take a proper look though. ------------------------------------------------------------------------ [2004-04-27 03:53:07] martin dot kenney at i2net dot com Description: ------------ ./configure --prefix=/usr/php --with-apxs=/usr/sbin/apxs --with-openssl=/usr --enable-sigchild --enable-libgcc --enable-bcmath --with-bz2=/usr --enable-calendar --enable-ctype --enable-dba=shared --enable-gdbm=/usr --enable-ndbm=/usr --enable-db2=/usr --enable-db3=/usr --enable-dbase --with-zlib --enable-ftp --with-mhash=/usr/local --with-gd --with-jpeg-dir=/usr --with-png-dir=/usr --with-mysql=/usr/local --with-pgsql=/usr/local --enable-shmop --enable-sockets --enable-inline-optimization --enable-sysvsem --enable-sysvshm --enable-wddx --with-gnu-ld --with-gettext --with-freetype-dir=/usr --enable-gd-native-ttf when making this is where error starts /bin/sh /usr/local/src/servers/php-4.3.6/libtool --silent --preserve-dup-deps --mode=compile gcc -I/usr/local/src/servers/php-4.3.6/ext/gd/libgd -DHAVE_LIBPNG -DHAVE_LIBJPEG -DHAVE_LIBFREETYPE -Iext/gd/ -I/usr/local/src/servers/php-4.3.6/ext/gd/ -DPHP_ATOM_INC -I/usr/local/src/servers/php-4.3.6/include -I/usr/local/src/servers/php-4.3.6/main -I/usr/local/src/servers/php-4.3.6 -I/usr/local/src/servers/php-4.3.6/Zend -I/usr/include/freetype2 -I/usr/local/include -I/usr/local/include/mysql -I/usr/local/src/servers/php-4.3.6/ext/xml/expat -I/usr/local/src/servers/php-4.3.6/TSRM -g -O2 -prefer-pic -c /usr/local/src/servers/php-4.3.6/ext/gd/libgd/gdft.c -o ext/gd/libgd/gdft.lo /usr/local/src/servers/php-4.3.6/ext/gd/libgd/gdft.c: In function `fontFetch': /usr/local/src/servers/php-4.3.6/ext/gd/libgd/gdft.c:478: `FT_ENCODING_MS_SYMBOL' undeclared (first use in this function) /usr/local/src/servers/php-4.3.6/ext/gd/libgd/gdft.c:478: (Each undeclared identifier is reported only once /usr/local/src/servers/php-4.3.6/ext/gd/libgd/gdft.c:478: for each function it appears in.) /usr/local/src/servers/php-4.3.6/ext/gd/libgd/gdft.c:479: `FT_ENCODING_ADOBE_CUSTOM' undeclared (first use in this function) /usr/local/src/servers/php-4.3.6/ext/gd/libgd/gdft.c:479: `FT_ENCODING_ADOBE_STANDARD' undeclared (first use in this function) /usr/local/src/servers/php-4.3.6/ext/gd/libgd/gdft.c: In function `gdImageStringFTEx': /usr/local/src/servers/php-4.3.6/ext/gd/libgd/gdft.c:974: `FT_ENCODING_MS_SYMBOL' undeclared (first use in this function) make: *** [ext/gd/libgd/gdft.lo] Error 1 version of gd: gd-2.0.3 ./configure --prefix /usr tried going back to php-4.3.4 and compiles fine with same ./configure listed above ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=28175&edit=1