php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9569 configure ignores --with-ttf
Submitted: 2001-03-05 18:54 UTC Modified: 2001-03-06 06:18 UTC
From: mike at proactech dot com Assigned:
Status: Not a bug Package: Installation problem
PHP Version: 4.0.4pl1 OS: Redhat 6.1
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: mike at proactech dot com
New email:
PHP Version: OS:

 

 [2001-03-05 18:54 UTC] mike at proactech dot com
After running make in gd-1.8.2 with 
CFLAGS=-2 -DHAVE_JPEG
LIBS=-lm -lgd -lz -lpng -ljpeg

./configure \
> --with-apxs \
> --with-mysql=/usr \
> --with-gd=../gd-1.8.3 \
> --with-ttf=/usr/lib \
> --enable-gd-imgstrttf

Output from configure contains
..
checking whether to enable truetype string function in gd... no
checking for libjpeg (needed by gd-1.8+)... no
checking for libXpm (needed by gd-1.8+)... no
checking whether to include GD support... yes (static)
checking for gdImageString16 in -lgd... yes
checking for gdImagePaletteCopy in -lgd... yes
checking for gdImageColorClosestHWB in -lgd... yes
checking for compress in -lz... yes
checking for png_info_init in -lpng... yes
checking for gdImageColorResolve in -lgd... yes
checking for gdImageCreateFromPng in -lgd... yes
checking for gdImageCreateFromGif in -lgd... yes
checking for gdImageWBMP in -lgd... yes
checking for gdImageCreateFromJpeg in -lgd... no
checking for gdImageCreateFromXpm in -lgd... yes
checking whether to include FreeType 1.x support... no

Why is it ignoring ttf?

Running PHP gives error
Warning: ImageTtfText: No TTF support in this PHP build 

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-03-06 06:18 UTC] sniper@php.net
1. use the _install_ path of gd, e.g. --with-gd=/www/gd
2. use the _install_ path of ttf, e.g. --with-ttf=/usr (no /lib here!)
3. GD extension only works with Freetype 1.x 
4. Ask further questions on php-install@lists.php.net or php-general@lists.php.net
as this is not any bug.

--Jani

 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Wed Aug 10 20:05:44 2022 UTC