php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7377 failure during compilation of gdttf.c in directory ext/gd
Submitted: 2000-10-20 17:18 UTC Modified: 2000-12-07 11:57 UTC
From: baum at stommel dot tamu dot edu Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.3pl1 OS: Linux 2.2.15-4mdk (gcc version 2
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: baum at stommel dot tamu dot edu
New email:
PHP Version: OS:

 

 [2000-10-20 17:18 UTC] baum at stommel dot tamu dot 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'
...

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-10-30 21:10 UTC] 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-12-07 11:57 UTC] sniper@php.net
Reopen, if this still happens when using latest snapshot
from http://snaps.php.net/

--Jani
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Jul 01 02:00:01 2026 UTC