在编译php时报如下错误,求高手指点。 [root@web02 php-5.3.27]# ./configure --prefix=/application/php5.3.27 --with-apxs2=/application/apache/bin/apxs --with-mysql=mysqlnd --with-pdo-mysql=mysqlnd --with-iconv-dir=/usr/local/libiconv –with-freetype-dir –with-jpeg-dir –with-png-dir –with-zlib –with-libxml-dir=/usr –with-zlib –with-libxml-dir=/usr –enable-xml disable-rpath –enable-bcmath –enable-shmop –enable-sysvsem –ename-inline-optimization –with-curl –enable-mbstring –with-mcrypt –with-gd –enable-gd-native-ttf –with-ipenssl –with-mhash –enable-pcntl –enable-sockets –with-xmlrpc –enable-soap –enable-short-tags –enable-static –with-xsl –enable-ftp configure: warning: –with-freetype-dir: invalid host type configure: warning: –with-jpeg-dir: invalid host type configure: error: can only configure for one host and one target at a time
|