AFAIK, the latest version of JpGraph does work with gd 1.8.4, and supporting gd2.0.x beta is considered experimental only. Using gd2.0 could be reasonable and a simply a good choice, though it is still beta. (and it works for me) BTW, check the php-general mail archive for some post from Rasmus, who showed some changes in the gd distribution to make gd work with PHP. Here comes one of these posts: > 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: --with-gd=/home/<your_dir>/gd-2.0.1 --with-freetype-dir=/usr --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 --enable-gd-imgstrttf --with-jpeg-dir=/usr --with-png-dir=/usr --with-xpm-dir=/usr/X11R6 This assumes that you have freetype2 installed along with the libjpeg and libpng libs under /usr -Rasmus ----- Original Message ----- From: "Marcelo Pereira" <gandalf@xxxxxxxxxxxxxxxxxx> To: <pgsql-php@xxxxxxxxxxxxxx> Sent: Thursday, March 14, 2002 5:59 PM Subject: [PHP] Graphics | Hello All, | | Has anybody here whose know how to produce graphics using PHP?? | | I am trying to use JpGraph, but without success because I am in troubles | while installing this software (i.e., after installed, JpScript ask for GD | 2.x, but at the Official Site of GD, the last stable release is 1.8.4, and | the 2.x is beta...) I have lost two days to configure it... what a loss of | time... | | I would like to produce dinamic graphics, do you have any idea to give to | me??? | | Thanks in advance, | | Marcelo Pereira | | | ---------------------------(end of broadcast)--------------------------- | TIP 5: Have you checked our extensive FAQ? | | http://www.postgresql.org/users-lounge/docs/faq.html