php 4.0.6 configure script fails
| From: | Tony White | Date: | Wed, 21 Nov 2001 05:09:52 +0000 |
| Subject: | php 4.0.6 configure script fails | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-5051@lists.php.net to get a copy of this message | ||
Hi there,
I seems to have discovered a problem with the configure script when you use
the option --with-apxs2 (so you can use php4 under Apache 2.0).
this is the command I try:
./configure --with-mysql --enable-force-cgi-redirect --with-apxs2=/usr/local
/apache2/bin/apxs
it fails with:
------
checking for c++... no
checking for g++... no
checking for gcc... gcc
checking whether the C++ compiler (gcc ) works... no
configure: error: installation or configuration problem: C++ compiler cannot
create executables.
------
Before you say I am an idiot and that I have a bad install of gcc (could be
true, but doubt it). I would like to point out that if I run the configure
script with the option --with-apxs it completes the configuration process
but tells me that there is probably an error with my apxs script.
So basically I am wondering if anyone else has come across this problem and
solved it??? knows of another way to get php4 working with apache2.
Thanks in advance.
Tony