Received: from pompom.freestart.hu (pompom.freestart.hu [213.197.64.6]) by postgresql.org (Postfix) with ESMTP id 6DCBD4759A3 for ; Fri, 15 Mar 2002 08:42:36 -0500 (EST) Received: from line-72-247.dial.freestart.hu ([213.197.72.247] helo=jaguar) by freestart.hu with smtp (Freestart relay 1 (FS-Lin)) id 16lrxz-0007B8-00; Fri, 15 Mar 2002 14:41:56 +0100 Message-ID: <005801c1cc27$685e83e0$01fdfea9@jaguar> Reply-To: "Papp, Gyozo" From: "Papp, Gyozo" To: "Marcelo Pereira" , References: Subject: Re: Graphics Date: Fri, 15 Mar 2002 14:43:35 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Scanner: exiscan by Freestart X-Archive-Number: 200203/29 X-Sequence-Number: 998 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=3D-g -DHAVE_LIBPNG -DHAVE_LIBJPEG -DHAVE_LIBFREETYPE LIBS=3Dlibgd.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=3D/home//gd-2.0.1 --with-freetype-dir=3D/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=3D/usr --with-png-dir=3D/usr --with-xpm-dir=3D/usr/X11R6 This assumes that you have freetype2 installed along with the libjpeg and libpng libs under /usr -Rasmus ----- Original Message -----=20 From: "Marcelo Pereira" To: Sent: Thursday, March 14, 2002 5:59 PM Subject: [PHP] Graphics | Hello All, |=20 | Has anybody here whose know how to produce graphics using PHP?? |=20 | 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... |=20 | I would like to produce dinamic graphics, do you have any idea to give to | me??? |=20 | Thanks in advance, |=20 | Marcelo Pereira |=20 |=20 | ---------------------------(end of broadcast)--------------------------- | TIP 5: Have you checked our extensive FAQ? |=20 | http://www.postgresql.org/users-lounge/docs/faq.html