| 
 Posted by David Haynes on 07/04/09 11:40 
Python wrote: 
> Yep thanks, i think is the same problem ... 
>  
> but ... 
>  
> i compile again php with gd ... and there is still written 2.0 or 
> higher, so now is the problem how to install bundle version of gd ... i 
> thought it's bind with php if it's 4.2.x.x or higher, and i need simply 
> compile it --with-gd but huh, no idea .... 
>  
gd needs a whole whack of supporting libraries 
 
[from my build on Linux Fedora Core 4] 
 
     --with-gd=/opt/gd \ 
     --with-freetype-dir=/opt/freetype \ 
     --with-zlib-dir=/usr/lib \ 
     --with-png-dir=/usr/lib \ 
     --with-jpeg-dir=/usr/lib \ 
     --with-tiff-dir=/usr/lib \ 
     --with-gif-dir=/usr/lib 
 
You also need to make sure to load the microsoft truetype fonts. 
 
I'm going to be rebuilding a LAMP system with GD from scratch today (to  
fully document the build process for a product) and will post more  
details if you are still stuck. 
 
-david-
 
[Back to original message] 
 |