[PHP-users 26531] FreeTypeサポートでのインストール

相良 しの oceanblue17 @ hotmail.com
2005年 8月 21日 (日) 16:57:48 JST


FreeTypeサポートでのインストールがうまくいかず。
JpGraph Error
This PHP build has not beenconfigures with TTF support.
You need to recompile your PHP installation with FreeType support.
と出てしまいます。

FreeType 1.x パッケージとしてfreetype-1.3.1.tar.gzをインストール、
/usr/local/freetype-1.3.1/

FreeType 2 パッケージとしてfreetype-2.1.10.tar.gzをインストールし、
/usr/local/freetype-2.1.10/

/etc/ld.so.confの中は
/usr/kerberos/lib
/usr/X11R6/lib
/usr/lib/sane
/usr/lib/qt-3.1/lib
/usr/lib/mysql
/usr/lib/qt2/lib
/usr/local/lib
/usr/lib
でldconfig

./configure --with-apxs3=/usr/local/apache2/bin/apxs 
--with-pgsql=/usr/local/pgsql --with-mysql=/usr/local/mysql 
--enable-mbstring --enable-mbregex  --enable-zend-multibyte 
--enable-track-vars --with-gd=/usr/local   --with-zlib-dir=/usr/local  
--enable-gd-native-ttf  --disable-cli    --with-ttf=/usr/local   
--with-jpeg-dir=/usr/lib --with-png-dir=/usr/lib  --with-xpm-dir=/usr/local 
 --with-freetype-dir=/usr/local  --with-t1lib-dir=/usr/local 
--enable-gd-jis-conv
でコンフィギュアmake 、make install

apache 再起動

phpinfo()のgdの表示は
GD Support enabled
GD Version bundled (2.0.28 compatible)
GIF Read Support enabled
GIF Create Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled
で、FreeTpeが表示されません。

FreeTypeのファイルが間違っていますでしょうか、
それども指定のしかたが間違っていますでしょうか。

よろしくおねがいいたします。

_________________________________________________________________
無料でメールボックス250MBの 「MSN Hotmail」 http://messenger.msn.co.jp/ 



PHP-users メーリングリストの案内