Re: TrueType + GD (ImageTTFBox)
| From: | Jesse Guardiani | Date: | Thu, 20 Feb 2003 15:11:21 +0000 |
| Subject: | Re: TrueType + GD (ImageTTFBox) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-136374@lists.php.net to get a copy of this message | ||
I fixed this yesterday. I'm not sure what exactly fixed it,
but I can tell the list what I did:
1.) Removed distribution directory ENTIRELY. rm config.cache
just wasn't enough I think.
2.) Configured with the following:
./configure --with-mysql=/usr/local/mysql \
--with-apxs=/usr/local/apache/bin/apxs \
--enable-inline-optimization --disable-debug \
--with-mm=/usr/local/mm-1.2.2 \
--with-gd --with-zlib \
--with-zlib-dir=/usr/local --with-png-dir=/usr/local \
--with-freetype-dir=/usr/local/include/freetype2/freetype/
This is for PHP 4.3.1 with built-in GD with TrueType ( ttf ) running on
FreeBSD 4.7-RELEASE.
Typo3 now works great! Woo.
Jesse
On Wednesday 19 February 2003 15:45, Jesse Guardiani wrote:
> Howdy list,
>
> I'm trying to install a PHP CMS package that requires GD
> and TrueType.
>
> I installed the latest PHP production release (4.3.1) with
> the following configure line:
>
> ./configure --with-mysql=/usr/local/mysql \
> --with-apxs=/usr/local/apache/bin/apxs \
> --enable-inline-optimization --disable-debug \
> --with-mm=/usr/local/mm-1.2.2 \
> --with-gd --with-ttf --with-zlib
>
> Configure gave me no errors. Everything installed fine.
>
> However, I get errors like the following:
>
> Fatal error: Call to undefined function: imagettfbbox() in
> /usr/home/typo3test/public_html/typo3/t3lib/class.t3lib_stdgraphic.php on
> line 604
>
> It seems that PHP doesn't see imagettfbox(). I know it's in the GD code
> because I grep'ed for it.
>
> Does anyone know what I'm doing wrong?
>
> Thanks!!
--
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v) 423-559-5145 (f)
http://www.wingnet.net
We are actively looking for companies that do a lot of long
distance faxing and want to cut their long distance bill by
up to 50%. Contact sales@onerateamerica.com for more info.