[PHP-DEV] PHP 4.0 Bug #7377 Updated: failure during compilation of gdttf.c in directory ext/gd From: sniper <email protected>
Date: 10/30/00

ID: 7377
Updated by: sniper
Reported By: baum <email protected>
Status: Feedback
Bug Type: Compile Failure
Assigned To:
Comments:

If you don't need GD extension, you can use --without-gd.
In future releases GD extension won't be enabled by default.

If you do need GD extension, you should add --with-ttf=/path/to/ttf
into your configure line.

Which version of freetype you have installed on your system?
The freetype2 support was improperly added and isn't supported
in CVS anymore..

--Jani

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

[2000-10-20 17:18:06] baum <email protected>
Configure line:
./configure --with-apxs=/usr/local/apache/bin/apxs --with-config-file-path=/usr/local/apache --with-pgsql=/usr/local/psgql --with-mysql=/usr/local/mysql

Error from compile log:
...
/bin/sh /home/baum/APACHE/php-4.0.3pl1/libtool --silent --mode=compile gcc -I.
-I/home/baum/APACHE/php-4.0.3pl1/ext/gd -I/home/baum/APACHE/php-4.0.3pl1 -I/home
/baum/APACHE/php-4.0.3pl1/main -I/usr/local/apache/include -I/home/baum/APACHE/p
hp-4.0.3pl1/Zend -I/home/baum/APACHE/php-4.0.3pl1 -I/usr/local/include/freetype
-I/usr/local/mysql/include/mysql -I/home/baum/APACHE/php-4.0.3pl1/ext/xml/expat/
xmltok -I/home/baum/APACHE/php-4.0.3pl1/ext/xml/expat/xmlparse -I/home/baum/APAC
HE/php-4.0.3pl1/TSRM -DXML_BYTE_ORDER=12 -g -O2 -c gdttf.c
gdttf.c:79: parse error before `TT_Engine'
gdttf.c:79: warning: no semicolon at end of struct or union
gdttf.c:80: warning: data definition has no type or storage class
gdttf.c:81: parse error before `properties'
gdttf.c:81: warning: data definition has no type or storage class
gdttf.c:82: parse error before `instance'
...

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

Full Bug description available at: http://bugs.php.net/?id=7377

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