Well I managed to get past this problem by install the g++ package.
but now when I goto make it, it stops with this error:

-----------------

Making all in apache2filter
make[2]: Entering directory `/tmp/php-4.0.6/sapi/apache2filter'
make[3]: Entering directory `/tmp/php-4.0.6/sapi/apache2filter'
/bin/sh /tmp/php-4.0.6/libtool --silent --mode=compile
gcc  -I. -I/tmp/php-4.0.6/sapi/apache2filter -I/tmp/php-4.0.6/main -I/tmp/ph
p-4.0.6 -I/usr/local/apache2/include -I/tmp/php-4.0.6/Zend -I/tmp/php-4.0.6/
ext/mysql/libmysql -I/tmp/php-4.0.6/ext/xml/expat/xmltok -I/tmp/php-4.0.6/ex
t/xml/expat/xmlparse -I/tmp/php-4.0.6/TSRM  -D_REENTRANT -DSUPPORT_UTF8 -DXM
L_BYTE_ORDER=12 -I../TSRM -DTHREAD=1 -g -O2 -pthread  -c sapi_apache2.c
sapi_apache2.c: In function `php_input_filter':
sapi_apache2.c:248: warning: passing arg 4 of `ap_get_brigade' from
incompatible pointer type
sapi_apache2.c: In function `php_output_filter':
sapi_apache2.c:337: too few arguments to function `ap_save_brigade'
sapi_apache2.c: In function `php_register_hook':
sapi_apache2.c:443: warning: passing arg 2 of `ap_register_input_filter'
from incompatible pointer type
make[3]: *** [sapi_apache2.lo] Error 1
make[3]: Leaving directory `/tmp/php-4.0.6/sapi/apache2filter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/php-4.0.6/sapi/apache2filter'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/php-4.0.6/sapi'
make: *** [all-recursive] Error 1

--------------------

any ideas?  I know others have also had similar problems but no I havent
seen any replys on how to fix it.

Cheers
Tony

"Tony White" <[EMAIL PROTECTED]> wrote in message
news:<[EMAIL PROTECTED]>...
> 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
>
>



-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to