Click to See Complete Forum and Search --> : How do you set --with-ttf ?


veggie2u
03-26-2001, 12:14 AM
What dir do you specify in PHP with the --with-ttf=DIR option?

I set DIR to /usr/local which is how I set the GD, jpeg, and png options. I don't think this is working.

When I do the configure there is a line that says: Checking whether to enable truetype string function in gd ... no

Also the lib's are at /usr/local/lib but the headers are at /usr/local/freetype2/freetype/include. I am not sure where to point the --with-ttf=DIR

veggie2u

Anon
03-26-2001, 07:24 AM
Try running ldconfig, and then again ;)

Maybe remove config.cache file before trying again.

Last time i configured with-ttf for gd for php, i linked to freetype src dir ;)

And it is working

smarlowe
03-26-2001, 05:08 PM
Yeah, I'm pretty sure -with-ttf will work without a directory if the directory your ttf libs are in is in /etc/ld.so.conf and you've run ldconfig. At least I seem to remember that was one of the ones that you didn't need it for.

If you're putting in --with-pdflib, put it near the ./configure command, it seems to break when it comes last.