めも帖

「めも帖」代わりにダラダラと書いていったり、めもしたりしているだけです。

freetypeのインストール

freetype

cd /usr/local/src
wget http://downloads.sourceforge.net/freetype/freetype-2.3.4.tar.gz?modtime=1176187387&big_mirror=0
tar xzf freetype-2.3.4.tar.gz
cd freetype-2.3.4
mkdir -p /usr/local/include/freetype2/freetype/internal
./configure --enable-ltdl-install(もしくは、./configure)
make 
make install

PHP5

./configure --prefix=/usr/local/php-5.2.1 --enable-mbstring --with-apxs2=/usr/local/httpd/bin/apxs --with-pgsql=/usr/local/pgsql --with-mysql=/usr/local/mysql --with-gd --with-zlib --with-jpeg-dir --with-openssl --with-openssl -with-freetype-dir=/usr/local --enable-gd-native-ttf