Re: Graphics

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



The biggest problem is:

I have downloaded GD-2.0.1, I have compiled PHP --with-gd=<dir>/GD-2.0.1,
but phpinfo() tells me that GD is enable, but version `1.6.2 (or
higher)'. I have done almost everything, but I can't get GD-2.0.1 running,
even with the right tarballs...

Are you running GD-2.0.1?? Do you have the tarball?? Could you send it to
me??

Thanks in advance!

Marcelo Pereira

-- Remember that only God and Esc+:w saves.
        __
       (_.\           Marcelo Pereira       |
        / / ___                             |
       / (_/ _ \__    Matematica/99 - IMECC |
_______\____/_\___)___Unicamp_______________/

--- Papp, Gyozo, with his fast fingers, wrote:

:> 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
:> 
:> 
:> ---------------------------(end of broadcast)---------------------------
:> TIP 4: Don't 'kill -9' the postmaster
:> 



[Index of Archives]     [Postgresql General]     [Postgresql Admin]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Yosemite Backpacking]     [Postgresql Jobs]

  Powered by Linux