Trying to compile with GD image function. After downloading, and installing the following libraries:
gd 2.0.1
zlib 1.1.3
jpeg 6b
freetype 2.0.1
libpng 1.0.10
I configure php with the following directives (note: blank lines added for legibility).
configure
--with-apache=../apache_1.3.19
--enable-track-vars
--with-mysql=/servers/mysql
--with-pdflib=../pdflib-3.03
--with-gd
--enable-freetype-antialias-hack
--with-jpeg-dir=../jpeg-6b
--with-png-dir=../libpng-1.0.10
--with-tiff-dir=../tiff-v3.4
--with-t1lib
After some work, I got this configuration to "configure", so here I am on the make the bad puppy. Zend goes without whining, and all seems well until we get to gdttf.c and I get some pretty unexpected errors:
gdttf.c:74: parse error before TT_Engine'
properties'
gdttf.c:74: warning: no semicolon at end of struct or union
gdttf.c:75: warning: data definition has no type or storage class
gdttf.c:76: parse error before
gdttf.c: In function fontTest':
a' undeclared (first use this function)
gdttf.c:319:
gdttf.c:319: (Each undeclared identifier is reported only once
gdttf.c:319: for each function it appears in.)
gdttf.c:319: parse error before `)'
There's about 200 lines of this stuff.
Any Ideas?
Thanks so much!
Doug (doug@woolf.net)