php-install Digest 7 Apr 2002 15:20:40 -0000 Issue 780
Topics (messages 6573 through 6575):
Re: php-4.2.0RC2 compile and install problems
6573 by: Charles Aulds
Re: php 4.1.2 & Apache 2
6574 by: Michael V. David
yet another php4 install problem =(
6575 by: d.runken
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
Same problem here, but with the latest (2.0.35) version of Apache, the first
general release. Don't feel bad; I've been trying this for a a few weeks
now, with different versions of Apache (2.0) and PHP, with no success.
I did find several people who CLAIMED they got this to work; but they were
able to furnish no details on how they accomplished it; to be honest, I
think they were being less than fully honest.
Please post to the group, if you find a solution ... and I'll do the same!
___
Charles Aulds
http://hiwaay.net/~caulds/
"Sebastian Wolfgarten" <[EMAIL PROTECTED]> wrote in message
000501c1dce8$d5fbd8e0$0200a8c0@bertisevil">news:000501c1dce8$d5fbd8e0$0200a8c0@bertisevil...
> Hi,
>
> I'm trying to install php 4.2.0RC2 on apache 2.0.32
> but when I compile the software I get this error:
>
> Making all in apache2filter
> make[2]: Entering directory
> `/home/sebastian/apachenew/php-4.2.0RC2/sapi/apache2filter'
> make[3]: Entering directory
> `/home/sebastian/apachenew/php-4.2.0RC2/sapi/apache2filter'
> /bin/sh /home/sebastian/apachenew/php-4.2.0RC2/libtool --silent
> --mode=compile gcc -I.
> -I/home/sebastian/apachenew/php-4.2.0RC2/sapi/apache2filter
> -I/home/sebastian/apachenew/php-4.2.0RC2/main
> -I/home/sebastian/apachenew/php-4.2.0RC2 -I/usr/local/apache2/include
> -I/home/sebastian/apachenew/php-4.2.0RC2/Zend -I/usr/local/include
> -I/usr/local/include/freetype
> -I/home/sebastian/apachenew/php-4.2.0RC2/ext/mysql/libmysql
> -I/home/sebastian/apachenew/php-4.2.0RC2/ext/xml/expat -D_REENTRANT
> -I/home/sebastian/apachenew/php-4.2.0RC2/TSRM -DTHREAD=1 -g -O2 -pthread
> -DZTS -prefer-pic -c sapi_apache2.c
> sapi_apache2.c: In function `php_apache_sapi_ub_write':
> sapi_apache2.c:58: too few arguments to function `apr_brigade_create'
> sapi_apache2.c:61: too few arguments to function
> `apr_bucket_transient_create'
> sapi_apache2.c: In function `php_apache_sapi_flush':
> sapi_apache2.c:174: too few arguments to function `apr_brigade_create'
> sapi_apache2.c:175: too few arguments to function
> `apr_bucket_flush_create'
> sapi_apache2.c: In function `php_input_filter':
> sapi_apache2.c:257: too few arguments to function `apr_brigade_create'
> sapi_apache2.c: In function `php_output_filter':
> sapi_apache2.c:331: too few arguments to function `apr_brigade_create'
> sapi_apache2.c:386: too few arguments to function
> `apr_bucket_transient_create'
> sapi_apache2.c:395: too few arguments to function
> `apr_bucket_eos_create'
> make[3]: *** [sapi_apache2.lo] Error 1
> make[3]: Leaving directory
> `/home/sebastian/apachenew/php-4.2.0RC2/sapi/apache2filter'
> make[2]: *** [all-recursive] Error 1
>
> How can I solve this?
>
> Thanks and bye,
> Sebastian
>
>
--- End Message ---
--- Begin Message ---
Under Linux kernel 2.4.18 with gcc 3.0.4, php 4.1.2 compiles OK for Apache
1.3.24, using --with-apxs, but attempting to compile for Apache 2.0.35,
using --with-apxs2, produces the following error messages:
make[3]: Entering directory `/opt/src/apache/php-4.1.2/sapi/apache2filter'
/bin/sh /opt/src/apache/php-4.1.2/libtool --silent --mode=compile
/opt/src/apache/php-4.1.2/meta_ccld -I. -I/opt/src/apache/php-4.1.2/sapi/ap
ache2filter -I/opt/src/apache/php-4.1.2/main -I/opt/src/apache/php-4.1.2 -I/
srv/apache2/include -I/opt/src/apache/php-4.1.2/Zend -I/opt/db-3.3.11/includ
e -I/usr/local/include -I/opt/src/apache/imap/include -I/opt/include -I/usr/
include/mysql -I/opt/src/apache/php-4.1.2/ext/xml/expat -D_REENTRANT -I/opt
/src/apache/php-4.1.2/TSRM -pthread -DZTS -prefer-pic -c sapi_apache2.c
sapi_apache2.c: In function `php_apache_sapi_ub_write':
sapi_apache2.c:58: too few arguments to function `apr_brigade_create'
sapi_apache2.c:61: too few arguments to function
`apr_bucket_transient_create'
sapi_apache2.c: In function `php_apache_sapi_register_variables':
sapi_apache2.c:148: warning: initialization discards qualifiers from pointer
target type
sapi_apache2.c: In function `php_apache_sapi_flush':
sapi_apache2.c:171: too few arguments to function `apr_brigade_create'
sapi_apache2.c:172: too few arguments to function `apr_bucket_flush_create'
sapi_apache2.c: In function `php_input_filter':
sapi_apache2.c:245: too few arguments to function `apr_brigade_create'
sapi_apache2.c:247: incompatible type for argument 4 of `ap_get_brigade'
sapi_apache2.c:247: too few arguments to function `ap_get_brigade'
sapi_apache2.c: In function `php_output_filter':
sapi_apache2.c:311: too few arguments to function `apr_brigade_create'
sapi_apache2.c:366: too few arguments to function
`apr_bucket_transient_create'
sapi_apache2.c:375: too few arguments to function `apr_bucket_eos_create'
sapi_apache2.c: In function `php_register_hook':
sapi_apache2.c:407: `AP_FTYPE_CONTENT' undeclared (first use in this
function)
sapi_apache2.c:407: (Each undeclared identifier is reported only once
sapi_apache2.c:407: for each function it appears in.)
sapi_apache2.c:408: warning: passing arg 2 of `ap_register_input_filter'
from incompatible pointer type
make[3]: *** [sapi_apache2.lo] Error 1
make[3]: Leaving directory `/opt/src/apache/php-4.1.2/sapi/apache2filter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/opt/src/apache/php-4.1.2/sapi/apache2filter'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/src/apache/php-4.1.2/sapi'
make: *** [all-recursive] Error 1
--- End Message ---
--- Begin Message ---
When trying to ./configure php4 i get the following error msg...
[root@rout0r php-4.1.2]# ./configure
loading cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking whether to enable maintainer-specific portions of Makefiles... no
checking host system type... i686-pc-linux-gnu
checking for gawk... gawk
checking for bison... no
checking for byacc... no
configure: warning: You will need bison if you want to regenerate the PHP
parsers.
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for AIX... no
checking for gcc option to accept ANSI C... none needed
checking for ranlib... ranlib
checking whether gcc and cc understand -c and -o together... yes
checking whether ln -s works... yes
checking for flex... lex
checking for yywrap in -ll... no
checking lex output file root... ./configure: lex: command not found
configure: error: cannot find output from lex; giving up
does anyone have any idea whats going on here?
--- End Message ---