Date: Wed, 19 Jun 2002 20:31:12 +0200 From: Ronald Klop <ronald@klop.yi.org> To: Barry Pederson <bp@barryp.org> Cc: Kai Hugo Hustoft Endresen <sorcererx@sorcererx.net>, freebsd-stable@FreeBSD.ORG Subject: Re: mod_php4 won't compile for Apache2 2.0.39 Message-ID: <3D10CDF0.6070009@klop.yi.org> References: <006f01c21765$5e4178c0$5a8d08d9@progtec> <3D10C672.10906@barryp.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Barry Pederson wrote: > Kai Hugo Hustoft Endresen wrote: > >> I just cvsuped and updated apache2 to 2.0.39 >> >> when I cd /usr/ports/www/mod_php4/ >> make -DWITH_APACHE2 >> >> I get the following errors: >> >> -I/usr/ports/www/mod_php4/work/php-4.2.1/TSRM >> -I/usr/local/include/pth -O -pipe -I/usr/local/include -pthread -DZTS >> -prefer-pic -c php_functions.c >> php_functions.c:93: syntax error > > > I had this happen to me too last night. Try editing: > > /usr/ports/www/mod_php4/work/php-4.2.1/sapi/apache2filter/php_functions.c > > At line 93 you'll find: > ----- > #if !MODULE_MAGIC_AT_LEAST(20020506,0) > ADD_STRING(boundary); > #endif > ----- Change MODULE_MAGIC_AT_LEAST in AP_MODULE_MAGIC_AT_LEAST. The first macro is deprecated and wil expand to 'this_macro_should_not_be_used' or something like that. Search for these string in the apache sources for more info. Maybe somebody can cc/send this to the maintainer of php4. I don't have time right now. Greetings, Ronald. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D10CDF0.6070009>
