JpGraph Error: This PHP build has not been configured with TTF support.

BoFFiN

Новичок
JpGraph Error: This PHP build has not been configured with TTF support.

Выдает вот такую фигню...

JpGraph Error: This PHP build has not been configured with TTF support. You need to recompile your PHP installation with FreeType support.

О себе: ОС FreeBSD, Apache_1.3.31 + PHP 4.3.9, пхп собран так:
PHP:
 ./configure --prefix=/usr --with-apache=../apache_1.3.31 --with-config-file-path=/usr/local/apache/conf --disable-debug --enable-inline-optimization --with-gnu-ld --enable-memory-limit --with-mysql --enable-calendar --with-gd --with-freetype-dir=/usr/X11R6/lib/x11/fonts --with-gd-native-ttf --enable-gd-imgstrttf --with-jpeg-dir=/usr --with-png-dir=/usr --with-xpm-dir=/usr/X11R6 --with-ttf=/usr/X11R6/lib/X11/fonts/TTF/ --enable-exif --with-zlib
В чём может быть дело?
 

BoFFiN

Новичок
Nirva
Там советует перейти на пхп 4.1.1, но я думаю с пхп 4.3.9 не стоит переходить на 4.1.1... Тем более, что у них ошибка: "Warning: ImageTtfBBox: No TTF support in this PHP build", немного отличается... Может, я пхп собрал не так? Еще они советуют, в jpgraph.php путь к ТТФ шрифтам в юниксках: /usr/X11R6/lib/X11/fonts/truetype/
А у меня ттф шрифты в папке /usr/X11R6/lib/X11/fonts/truetype/TTF/
?

-~{}~ 28.10.04 08:43:

Если кому будет интересно, комплировать пхп нужно с таким конфигом:
PHP:
./configure --prefix=/usr --with-apache=../apache_1.3.31 --with-config-file-path=/usr/local/apache/conf --disable-debug --enable-inline-optimization --with-gnu-ld --enable-memory-limit --with-mysql --enable-calendar --with-gd --with-freetype-dir=/usr/local/ --enable-gd-native-ttf --enable-gd-imgstrttf --with-jpeg-dir=/usr/local --with-png-dir=/usr/local --with-xpm-dir=/usr/X11R6 --with-ttf --enable-exif --with-zlib --with-iconv --enable-bcmath --enable-ctype  --with-t1lib --enable-embed=shared --enable-force-cgi-redirect --enable-fastcgi --disable-ipv6 --with-readline=/usr/local --enable-sockets --enable-shared --with-gettext --with-system-regex --enable-track-vars --without-xpm-dir --without-xpm
После чего на юниксе поставить пакет шрифтов если необходимо конечно... На фри: cd /usr/ports/X11-fonts/webfonts/
Это один способ, воторой использовать в качестве шрифтов не FF_COMIC или FF_ARIAL and etc, а FF_FONT0 или FF_FONT1 и т.д.
 
Сверху