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

-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to