Configure failure in 4.3RC2
| From: | Steven Roussey | Date: | Wed, 27 Nov 2002 23:55:08 +0000 |
| Subject: | Configure failure in 4.3RC2 | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-7026@lists.php.net to get a copy of this message | ||
CC=gcc CFLAGS="-O2 -mcpu=athlon -march=athlon " CXX=gcc CXXFLAGS="-O2
-mcpu=athlon -march=athlon " \
./configure --with-mysql --with-dom --with-zlib \
--with-xml=../expat-1.95.5 \
--with-openssl=../openssl-0.9.6g \
--with-apache=../apache_1.3.27 --enable-inline-optimization \
--without-pear
...
checking for OpenSSL support... yes
configure: error: Cannot find OpenSSL's libraries
This works fine with PHP 4.2.3.
Not specifying a path works though...
CC=gcc CFLAGS="-O2 -mcpu=athlon -march=athlon " CXX=gcc CXXFLAGS="-O2
-mcpu=athlon -march=athlon " \
./configure --with-mysql --with-dom --with-zlib \
--with-xml=../expat-1.95.5 \
--with-openssl \
--with-apache=../apache_1.3.27 --enable-inline-optimization \
--without-pear
as far as configure is concerned.
But later it can not make:
gcc -I/root/webserver_software_tmp/apache_1.3.27/src/include
-I/root/webserver_software_tmp/apache_1.3.27/src/os/unix -Isapi/apache/
-I/root/webserver_software_tmp/php-4.3.0RC2/sapi/apache/ -DPHP_ATOM_INC
-I/root/webserver_software_tmp/php-4.3.0RC2/include
-I/root/webserver_software_tmp/php-4.3.0RC2/main
-I/root/webserver_software_tmp/php-4.3.0RC2
-I/root/webserver_software_tmp/php-4.3.0RC2/Zend -I/usr/local/include
-I/usr/local/include/libxml2
-I/root/webserver_software_tmp/php-4.3.0RC2/ext/xml/expat
-I/root/webserver_software_tmp/php-4.3.0RC2/TSRM -O2 -mcpu=athlon
-march=athlon -c
/root/webserver_software_tmp/php-4.3.0RC2/sapi/apache/sapi_apache.c -o
sapi/apache/sapi_apache.o && echo > sapi/apache/sapi_apache.lo
In file included from
/root/webserver_software_tmp/apache_1.3.27/src/include/ap_config.h:77,
from
/root/webserver_software_tmp/apache_1.3.27/src/include/httpd.h:72,
from
/root/webserver_software_tmp/php-4.3.0RC2/sapi/apache/php_apache_http.h:
22,
from
/root/webserver_software_tmp/php-4.3.0RC2/sapi/apache/sapi_apache.c:24:
/root/webserver_software_tmp/apache_1.3.27/src/include/ap_config_auto.h:
6:1: unterminated #ifndef
make: *** [sapi/apache/sapi_apache.lo] Error 1
Sincerely,
Steven Roussey
http://Network54.com/