I'm trying to compile PHP 4.2.3+gd2.0.4 on my apache 2.0.43, I tried many times, the make always told my that there is something wrong with the gd. Then I try to use the gd2.0.1,and compile, but here comes a error
gd.c: In function `zm_startup_gd':
gd.c:303: `gdArc' undeclared (first use in this function)
gd.c:303: (Each undeclared identifier is reported only once
gd.c:303: for each function it appears in.)
gd.c:304: `gdPie' undeclared (first use in this function)
gd.c:305: `gdChord' undeclared (first use in this function)
gd.c:306: `gdNoFill' undeclared (first use in this function)
gd.c:307: `gdEdged' undeclared (first use in this function)
gd.c: In function `zif_imagecreatetruecolor':
gd.c:588: warning: assignment makes pointer from integer without a cast
gd.c: In function `zif_imagecolorat':
gd.c:1627: structure has no member named `tpixels'
gd.c: In function `php_imagettftext_common':
gd.c:2809: warning: passing arg 2 of `virtual_filepath' from incompatible pointer type
make[3]: *** [gd.lo] Error 1
make[3]: Leaving directory `/tmp/php-4.2.3/ext/gd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/php-4.2.3/ext/gd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/php-4.2.3/ext'
make: *** [all-recursive] Error 1
I have searched the forum, that I can sure 4.2.3 can be compiled on the gd2.0.1, Then, What's wrong with this??