i'm trying to use JPGraph
i've downloaded everything considered needed for it to works
and reconfigured my php as follow:
./configure' '--with-mysql' '--with-gd' '--with-zlib' '--with-apxs2=/usr/local/apache2/bin/apxs' '--enable-mbstring' '--enable-mbregex' '--with-jpeg-dir=/usr/local/lib' '--with-pnglib-dir=/usr/local/lib' '--with-freetype-dir=/usr/local/lib' '--with-ttf=/usr/local/lib'
but still my phpinfo() appears like this:
gd
GD Support enabled
GD Version bundled (2.0.23 compatible)
GIF Read Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled
why i dont get the
freetype Support enabled
freetype linkage with ttf library
i got the error of the following when trying to plot graph:
'This PHP build has not been configured with TTF support. You need to recompile your PHP installation
i think this occured when jpgraph.php runs the following :
// Check that this PHP has support for TTF fontsif( !function_exists('imagettfbbox') ) {
JpGraphError::Raise('This PHP build has not been configured with TTF support. You need to recompile your PHP installation with FreeType support.');
exit();}
please tell me what should i do?
what else do i need?
i have been searching for answer since 2 weeks ago..