php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21579 freetype wont compile into php 4.3
Submitted: 2003-01-11 05:33 UTC Modified: 2003-01-12 12:24 UTC
From: daniel at electroteque dot org Assigned:
Status: Not a bug Package: GD related
PHP Version: 4.3.0 OS: linux
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: daniel at electroteque dot org
New email:
PHP Version: OS:

 

 [2003-01-11 05:33 UTC] daniel at electroteque dot org
In file included from /usr/src/sources/php/php-4.3.0/ext/gd/libgd/gdft.c:49:
/usr/local/etc/freetype/include/freetype2/freetype/freetype.h:41:22:
ft2build.h: N
o such file or directory

here is the initial error thens spits out heaps of other gd errors which is too much to paste in, i cannot compile freetype in, but when i take it out php 4.3 compiled fine

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-01-11 11:33 UTC] helly@php.net
Please show the line 41 from your file:
/usr/local/etc/freetype/include/freetype2/freetype/freetype.h
 [2003-01-11 12:14 UTC] sniper@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.
 [2003-01-11 12:25 UTC] daniel at electroteque dot org
#include <ft2build.h>
#include FT_CONFIG_CONFIG_H
#include FT_ERRORS_H
#include FT_TYPES_H

i had found ft2build.h in 

/usr/local/etc/freetype/include

so i made a symlink to it but even that didnt work ?

can i not reply via email what is sniper@php.net ?
 [2003-01-11 12:32 UTC] sniper@php.net
You really should compile/install that ft2 lib correctly first..

 [2003-01-12 12:24 UTC] helly@php.net
When you installed the library correctly and experience the problem again feel free to open the bug. For now we suppose the erroneous library causing the problem.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Mon Feb 02 15:00:02 2026 UTC