- 论坛徽章:
- 0
|
各位大侠帮忙看看是哪里出错了!
ports安装和按照下边步骤安装,均不支持jpeg格式
安装 libjpeg
tar zxvf jpegsrc.v6b.tar.gz
cd jpeg-6b
./configure --enable-static --enable-shared
make
make test
make install
安装 libpng
tar zxvf libpng-1.2.8-config.tar.gz
cd libpng-1.2.8-config
./configure
make
make install
安装 zlib
tar zxvf zlib-1.2.2.tar.gz
cd zlib-1.2.2
./configure
make
make install
安装 freetype
cd /usr/ports/print/freetype2
make install clean
安装 GD
tar zxvf gd-2.0.33.tar.gz
cd gd-2.0.33
./configure
make
make install
tar zxvf libxml2-2.6.26.tar.gz
cd libxml2-2.6.26
./configure
make
make install
# 安装 php5
./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache2/bin/apxs --with-config-file-path=/usr/local/apache2/conf --with-mysql=/usr/local/mysql --with-zlib --with-iconv --with-gd --with-jpeg --with-png --with-freetype --with-mbstring --enable-mbstring=all
make
make install |
|