[oclug] configure PHP 5.0.3 with Red Hat Linux 9
longjian at wangcheng.net
longjian at wangcheng.net
Fri Apr 15 06:32:09 EDT 2005
Hi,
I have configured and compiled httpd-2.0.52/SSL and MySQL 4.1.9, but I am having hard time to configure PHP 5.0.3 with Red Hat Linux 9.
I have configured and compiled libiconv, libjpeg, libpng, cpdflib, curl, and freetype 2 successfully.
Here is the conigure script and the error I am getting
[root at netway-np-server php-5.0.3]# ./configure \ --with-apxs2=/usr/local/apache2/bin/apxs \ --with-mysql=/usr/local/mysql \ --with-mysqli=/usr/local/mysql/bin/mysql_config \ --with-mysql-sock=/tmp/mysql.sock \ --with-sqlite \ --enable-sqlite-utf8 \ --with-zlib \ --with-zlib-dir \ --with-bz2 \ --with-gd \ --enable-gd \ --enable-gd-native-ttf \ --with-jpeg-dir=/usr/local \ --with-png-dir=/usr/local \ --with-ttf \ --with-freetype-dir=/usr/local \ --with-iconv=/usr/local \ --with-curl=/usr/local \ --enable-track-vars \ --with-gettext \ --with-config-file-path=/usr/local/apache2/conf \ --enable-trans-id \ --enable-ftp \ --with-cpdflib=/usr/local \ --enable-mbstring \ --with-openssl=/usr/local
configure: error: can only configure for one host and one target at a time
[root at netway-np-server php-5.0.3]#
I tried several times but everytime I got the same result. Can you help me? I am very anxious.
Any help will be greatly appreciated!
Best regards to you.
Naisa Systems,Inc http://www.naisa.net
More information about the OCLUG
mailing list