> Has anyone got PHP successfully compiled and using GD 2.0.1?
> If so what was your configure line please and any other changes you had to
> make in order to get PHP to compile. Thanks.
Build gd-2.0.1 with these two lines in your GD2 Makefile:
CFLAGS=-g -DHAVE_LIBPNG -DHAVE_LIBJPEG -DHAVE_LIBFREETYPE
LIBS=libgd.a -lpng -lz -ljpeg -lfreetype -lm
Don't install the lib anywhere, just leave them in the gd-2.0.1 directory.
Then build PHP using:
--enable-gd-native-ttf (note there was a typo in 4.0.6 on this one)
use: --enable-gd-native-tt if you are using 4.0.6
This assumes that you have freetype2 installed along with the libjpeg and
libpng libs under /usr
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]