php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #22351 Error in gdttf.c ??
Submitted: 2003-02-21 06:23 UTC Modified: 2003-03-09 18:58 UTC
From: j dot lammerts at chello dot nl Assigned:
Status: No Feedback Package: GD related
PHP Version: 4CVS-2003-02-21 (stable) OS: AIX 4.3.3
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2003-02-21 06:23 UTC] j dot lammerts at chello dot nl
Hello,

When trying to compile the latest CVS of PHP4.3.1 trouble starts when gdttf.c is being compiled. This is where it starts to go wrong:

php4-STABLE-200302201030/ext/gd/gdttf.c  -DPIC -o ext/gd/gdttf.lo
/home/USTJLA/php4-STABLE-200302201030/ext/gd/gdttf.c:74: parse error before `TT_Engine'
/home/USTJLA/php4-STABLE-200302201030/ext/gd/gdttf.c:74: warning: no semicolon at end of s
truct or union
/home/USTJLA/php4-STABLE-200302201030/ext/gd/gdttf.c:75: warning: data definition has no t
ype or storage class
/home/USTJLA/php4-STABLE-200302201030/ext/gd/gdttf.c:76: parse error before `properties'
/home/USTJLA/php4-STABLE-200302201030/ext/gd/gdttf.c:76: warning: data definition has no t
ype or storage class

A lot of error messages follow, probably all due to the first one, and make stops.

Anyone know what to do ?

Hans

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-02-21 09:40 UTC] j dot lammerts at chello dot nl
Error situation could be avoided by NOT adding both
--with-gd AND --with-ttf in the configuration string.
I now have --with-gd only.

Is this the correct way of doing things ?

Hans
 [2003-02-23 05:38 UTC] sniper@php.net
What freetype version you have installed?
And you're sure you don't have mixed versions in your system of it?

 [2003-02-24 03:11 UTC] j dot lammerts at chello dot nl
The freetype version is 2.0.1.0, and AFAIK it is the only version installed on our system.
 [2003-02-26 19:15 UTC] iliaa@php.net
Could you try adding --enable-gd-native-ttf to you configure line and if that does not help try upgrading to a later version of FreeType 2.
 [2003-02-28 07:17 UTC] j dot lammerts at chello dot nl
Will try this, but it will be next week...

Thanks
 [2003-03-04 20:16 UTC] sniper@php.net
Any update on this?

 [2003-03-09 18:58 UTC] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 [2003-03-26 14:38 UTC] mad at dactar dot ch
I had the same problem but not exactly the same errors.

I've added --enable-gd-native-ttf to the configure line
and it works :)

Version tested : php-4.3.2RC1

@++
JC
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 16 04:01:27 2024 UTC