Re: Freetype & RH9
| From: | (Michael Mauch) | Date: | Sat, 21 Jun 2003 17:19:47 +0000 |
| Subject: | Re: Freetype & RH9 | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-11130@lists.php.net to get a copy of this message | ||
Ville Mattila wrote:
> I'm trying to install PHP 4.3.2 with Freetype libraries enabled in RH9.
> There is my configure attributes:
> '--with-pear' '--with-zlib-dir=/usr/include/'
> '--enable-mailparse'
> '--enable-trans-sid' '--enable-shared' '--enable-static'
> '--with-apxs=/usr/local/apache/bin/apxs' '--with-curlwrappers'
> '--enable-ftp' '--enable-exif' '--with-gd'
> '--with-jpeg-dir=/usr/lib'
> '--with-png-dir=/usr/lib' '--with-zlib-dir=/usr/include'
> '--with-freetype'
> '--enable-gd-native-ttf' '--with-mysql'
> '--with-pdflib=/usr/local'
> '--with-regex' '--with-zlib' '--with-config-file-path=/etc'
> '--enable-track-vars' '--disable-cli' '--with-curl'
>
> The compilation is successful without problem and phpinfo() will show the
> new version. Anyway I can't find any info about freetype libraries in
> phpinfo-page and using functions that require freetype give still errors,
> like "Call to undefined function: imagettftext() ".
>
> I've compiled both freetype and freetype-devel.
>
> Any ideas?
# configure --help | grep freetype
--with-freetype-dir[=DIR] GD: Set the path to FreeType 2 install prefix.
So it's not --with-freetype (umm, yes, this is a bit confusing).
As a side note, --enable-trans-sid and --enable-track-vars don't exist
anymore.
Regards...
Michael