|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-01-15 03:05 UTC] webmaster at guestwho dot com
[2007-01-15 03:08 UTC] pajoye@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 22:00:02 2025 UTC |
Description: ------------ I am trying to build PHP with FreeType2 support using the following configure line: ./configure --with-apxs2=/usr/local/apache/bin/apxs --with-mysql=/usr/local/mysql \ --with-zlib --with-pdo-mysql=/usr/local/mysql --enable-mbstring \ --with-curl=/usr/local --enable-debug --with-openssl=/usr/local/ssl \ --with-gd --with-custom-odbc=/usr/local --with-pdo-odbc=unixODBC,/usr/local \ --enable-ftp --enable-zip --enable-pcntl --with-freetype-dir=/usr/local \ --enable-gd-native-ttf The freetype headers are in: /usr/local/include/freetype2/freetype/ and according to the configure script they are found. Output from configure: checking for GD support... yes checking for the location of libjpeg... no checking for the location of libpng... no checking for the location of libXpm... no checking for FreeType 1.x support... no checking for FreeType 2... /usr/local checking for T1lib support... no checking whether to enable truetype string function in GD... yes The output from the compiler includes " -I/usr/local/include/freetype2" so it's obviously trying to include the libraries. Now my problem is that phpinfo() does not list FreeType under the GD section, and TTF related functions such as imagettfbbox() are undefined. I don't understand why configure and the compile output both reference freetype but it never gets built.