日期:2014-05-16 浏览次数:20793 次
mkdir -p [jpeg-6b安装目录] mkdir -p [jpeg-6b安装目录]/bin/ mkdir -p [jpeg-6b安装目录]/lib/ mkdir -p [jpeg-6b安装目录]/include/ mkdir -p [jpeg-6b安装目录]/man/ mkdir -p [jpeg-6b安装目录]/man/man1/
cp /usr/share/libtool/config.sub . cp /usr/share/libtool/config.guess .
./configure --prefix=[jpeg-6b安装目录] --enable-shared --enable-static make make install
./configure --prefix=[libpng安装目录] --enable-shared --enable-static make make install
./configure --prefix=[freetype安装目录] make make install
./configure --prefix=[gettext安装目录] make make install
./configure --prefix=[gd安装目录] --with-jpeg=[jpeg-6b安装目录] --with-png=[libpng安装目录] --with-freetype=[freetype安装目录] --with-gettext=[gettext安装目录] (如./configure --prefix=/opt/gd-2.0.35 --with-jpeg=/opt/jpeg-6b/ --with-png=/opt/libpng-1.2.35/ --with-freetype=/opt/freetype-2.3.5/ --with-gettext=/opt/gettext-0.17/) make make install
configure.ac:64: error: possibly undefined macro: AM_ICONV If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation.
ln -s /usr/lib64/libjpeg.so.62.0.0 /usr/lib/libjpeg.so ln -s /usr/lib64/libpng.so.3.10.0 /usr/lib/libpng.so
tar zxvf php-5.3.6.tar.gz cd php-5.3.6 ./configure --with-config-file-path=[php安装目录] --prefix=[php安装目录] --with-bz2 --enable-zip --enable-mbstring --with-apxs2=[apache安装目录]/bin/apxs --with-zlib-dir=/usr/include/ --with-libxml-dir=/usr/lib64/ --with-gd --with-jpeg-dir=/usr/ --with-png-dir=/usr/ --with-freetype-dir=/usr/ --enable-soap --enable-calendar make make install
tar zxvf php-5.3.6.tar.gz cd php-5.3.6 ./configure --with-config-file-path=[ph