i'm facing quite the exactly problem.
i'm building php with gd support on freebsd 4.8-RELEASE.
i've installed all the libraries needed.
but my GD still appears as follow (which freetype is not supported)
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
i lack,
freetype Support enabled
freetype linkage with ttf library
i guess that's why i always get the error of the following everytime i try to plot a graph:
JpGraph Error: This PHP build has not been configured with TTF support. You need to recompile your PHP installation with FreeType support.
i've installed freetype2, and here's my directory look:
/usr/local/include/freetype2/freetype
and also these library in /usr/local/lib
libfreetype.a
libfreetype.la*
libfreetype.so@
libfreetype.so.9
(i forgot the sequences during installing libraries, does that effect?)
i've tried out these configuration, but none works.
./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'
'./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/' '--with-ttf=/usr/local' '--enable-freetype2' '--enable-native-gd-ttf'
./configure' '--with-mysql' '--with-gd' '--with-zlib' '--with-apxs2=/usr/local/apache2/bin/apxs' '--enable-mbstring' '--enable-mbregex' '--with-jpeg-dir=/usr/local' '--with-pnglib-dir=/usr/local' '--with-freetype-dir=/usr/local' '--with-ttf' '--enable-freetype' '--enable-native-gd-ttf'
'./configure' '--with-mysql' '--with-gd' '--with-zlib' '--with-apxs2=/usr/local/apache2/bin/apxs' '--enable-mbstring' '--enable-mbregex' '--with-jpeg-dir=/usr/local' '--with-pnglib-dir=/usr/local' '--with-freetype-dir=/usr/local/include/freetype2' '--enable-gd-native-ttf' '--with-freetype'
can anyone enlighten me?😕 😕 😕