Guys, Use PHP CVS or shapshot if you want to play with Apache2. Apache2 is underdevelopment, it may not work/compile with PHP. If it does not work, submit patch for CVS source instead of asking ;) It's more constructive.
-- Yasuo Ohgaki [EMAIL PROTECTED] wrote: > > Hi. I'm trying to compile php 4.1.1 in a Debian 2.2 potato box with Apache >2.0.32-beta but make fails. > > This is the configure line Im using: > ./configure --with-apxs2=../apache/bin/apxs --with-gd --with-mysql --with-imap >--with-imap-ssl --with-ldap > > I'm using all of potato's versions for mysql, imap, and openldap. > mysql: 3.22.32 > uw-imap: 4.7c > openldap: 1.2.12 > libgd: 1.7.3 > > What's the catch? > > Here's the output of make: > > Making all in sapi > make[1]: Cambiando a directorio `/usuarios/rmt/jose/Software/php-4.1.1/sapi' > Making all in apache2filter > make[2]: Cambiando a directorio >`/usuarios/rmt/jose/Software/php-4.1.1/sapi/apache2filter' > make[3]: Cambiando a directorio >`/usuarios/rmt/jose/Software/php-4.1.1/sapi/apache2filter' > /bin/sh /usuarios/rmt/jose/Software/php-4.1.1/libtool --silent --mode=compile >/usuarios/rmt/jose/Software/php-4.1.1/meta_ccld -I. >-I/usuarios/rmt/jose/Software/php-4.1.1/sapi/apache2filter >-I/usuarios/rmt/jose/Software/php-4.1.1/main -I/usuarios/rmt/jose/Software/php-4.1.1 >-I/usuarios/rmt/jose/Software/apache/include >-I/usuarios/rmt/jose/Software/php-4.1.1/Zend -I/usr/include/c-client >-I/usuarios/rmt/jose/Software/php-4.1.1/ext/mysql/libmysql >-I/usuarios/rmt/jose/Software/php-4.1.1/ext/xml/expat -D_REENTRANT >-I/usuarios/rmt/jose/Software/php-4.1.1/TSRM -DTHREAD=1 -g -O2 -pthread -DZTS >-prefer-pic -c sapi_apache2.c > 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_input_filter': > 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_register_hook': > 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]: Saliendo directorio >`/usuarios/rmt/jose/Software/php-4.1.1/sapi/apache2filter' > make[2]: *** [all-recursive] Error 1 > make[2]: Saliendo directorio >`/usuarios/rmt/jose/Software/php-4.1.1/sapi/apache2filter' > make[1]: *** [all-recursive] Error 1 > make[1]: Saliendo directorio `/usuarios/rmt/jose/Software/php-4.1.1/sapi' > make: *** [all-recursive] Error 1 > > > Thanks in advance > > > Jose > > > > > -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php