fiji at free dot fr
14-Oct-2002 07:50
I had to made some modification to enable and compile gd2.0.1 with php4.2.3
here it is:
get and untar gd2.0.1 beta
if your server as mine doesn't
have any X support or you don't want it, open Makefile to disable xpm
support, find "gdxpm.o" in lines and delete it (because even if
you don't ask for it in libs cmd it will compile in and you'll get an error
when loading requesting libXpm)
remove any libgd1.so.xx
"make
install"
in php goto ext/gd dir
modify gd.c and add
"#define HAVE_LIBGD20 1" at the beginning
compile (don't
forget giving the --with-jpeg-dir and png too), install and it should works