Click to See Complete Forum and Search --> : Can't get PHP to compile with ttf


ksayre
09-04-2001, 11:29 AM
Ok, I'm using version 2.0.4 of FreeType. I ran a straight ./configure on that and make && make install. Now, when I attempt to run the following ./configure for php.

./configure --with-apache=../apache_1.3.20 --with-sybase=/usr/local/freetds --enable-bcmath --enable-calendar --enable-ctype --enable-exif --enable-ftp --enable-gd-imgstrttf --with-gd --enable-trans-sid --enable-shmop --enable-sockets --enable-sysvsem --enable-sysvshm --enable-wddx --with-pdflib=/usr/local/include --with-ttf

Everything appears to configure correctly with no errors. However, I get a:

Warning: ImageTtfText: No TTF support in this PHP build in

error when I attempt to run a script. I've restarted the apache server everytime I recompile and still nothing. Any ideas? Thanks ahead of time.

Kevin Sayre

Anon
09-04-2001, 02:13 PM
in php-4.0.6 it is not --with-ttf for freetype 2.4 --with-ttf is for freetype 1.x for 2.x use --with-freetype-dir=