PHP 4.0 Bug #7377 Updated: failure during compilation of gdttf.c in directory ext/gd
| From: | sniper@php.net | Date: | Thu, 07 Dec 2000 16:57:18 +0000 |
| Subject: | PHP 4.0 Bug #7377 Updated: failure during compilation of gdttf.c in directory ext/gd | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-40457@lists.php.net to get a copy of this message | ||
ID: 7377
Updated by: sniper
Reported By: baum@stommel.tamu.edu
Status: Closed
Bug Type: Compile Failure
Assigned To:
Comments:
Reopen, if this still happens when using latest snapshot
from http://snaps.php.net/
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2000-10-30 21:10:18] sniper@php.net
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
---------------------------------------------------------------------------
[2000-10-20 17:18:06] baum@stommel.tamu.edu
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