rt命令:
 ./configure --prefix=/usr/local/php5527 --with-apxs2=/usr/local/httpd2416/bin/apxs --with-mysql=/usr/local/mysql5520 --with-libxml-dir=/usr/local/libxml2 --disable-cli --enable-shared --with-gd=/usr/local/gd2 --with-openssl=/usr/local/openssl --enable-mbstring --with-mcrypt --with-mysqli --enable-opcache --enable-mysqlnd --enable-zip --with-zlib-dir=/usr/local/zlib --with-pdo-mysql --with-jpeg-dir --with-freetype-dir --with-curl=/usr/local/curl --without-pdo-sqlite --without-sqlite3 --enable-fpm错误:
checking whether to enable truetype string function in GD... no
checking whether to enable JIS-mapped Japanese font support in GD... no
If configure fails try --with-vpx-dir=<DIR>
configure: error: jpeglib.h not found.网上说的
原因:GD库没有安装解决办法:
yum install libjpeg.x86_64 libpng.x86_64 freetype.x86_64 libjpeg-devel.x86_64 libpng-devel.x86_64 freetype-devel.x86_64 -y我照做了,但依然显示这错误。请问如何解决?网址:http://www.cnblogs.com/z-ping/archive/2012/06/18/2553929.html