Date: Wed, 14 Aug 2002 00:07:52 +0200 From: Dirk Froemberg <dirk@FreeBSD.org> To: Mike Dewhirst <mike@dolphintime.com> Cc: ports@FreeBSD.org Subject: Re: FreeBSD Port: mod_php4-4.2.1_2 Message-ID: <20020813220752.GB88267@physik.TU-Berlin.DE> In-Reply-To: <3D595DD1.90405@dolphintime.com> References: <3D595DD1.90405@dolphintime.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Mike! The API changed with apache-2.0.40. ap_register_output_filter() and ap_register_input_filter() take four arguments, now. So you have to upgrade to apache 2.0.40. Regards Dirk On Tue, Aug 13, 2002 at 08:28:17PM +0100, Mike Dewhirst wrote: > Dirk having a problem when compiling mod_php for apache 2 > > i have apache-2.0.39_7 and the version in the mod_php Makefile is 4.2.2/0 > > I have set the env var WITH_APACHE2 to yes. > > Here is the error message. Any ideas? > > Thanks, > > Mike > > ------ start ------ > Making all in sapi > Making all in apache2filter > /bin/sh /usr/ports/www/mod_php4/work/php-4.2.2/libtool --silent > --mode=compile cc -I. > -I/usr/ports/www/mod_php4/work/php-4.2.2/sapi/apache2filter > -I/usr/ports/www/mod_php4/work/php-4.2.2/main > -I/usr/ports/www/mod_php4/work/php-4.2.2 -I/usr/local/include/apache2 > -I/usr/ports/www/mod_php4/work/php-4.2.2/Zend -I/usr/local/include > -I/usr/ports/www/mod_php4/work/php-4.2.2/ext/xml/expat -D_REENTRANT > -D_THREAD_SAFE -I/usr/ports/www/mod_php4/work/php-4.2.2/TSRM > -I/usr/local/include/pth -O -pipe -I/usr/local/include > -I/usr/local/include/pgsql -pthread -DZTS -prefer-pic -c sapi_apache2.c > sapi_apache2.c: In function `php_register_hook': > sapi_apache2.c:534: too many arguments to function > `ap_register_output_filter' > sapi_apache2.c:535: too many arguments to function > `ap_register_input_filter' > *** Error code 1 > > Stop in /usr/ports/www/mod_php4/work/php-4.2.2/sapi/apache2filter. > *** Error code 1 > > Stop in /usr/ports/www/mod_php4/work/php-4.2.2/sapi/apache2filter. > *** Error code 1 > > Stop in /usr/ports/www/mod_php4/work/php-4.2.2/sapi. > *** Error code 1 > > Stop in /usr/ports/www/mod_php4/work/php-4.2.2. > *** Error code 1 > > Stop in /usr/ports/www/mod_php4. > *** Error code 1 > > Stop in /usr/ports/www/mod_php4. > ----- end ----- Regards Dirk -- Dirk Froemberg FreeBSD: The Power to Serve! http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020813220752.GB88267>