Date: Wed, 19 Jun 2002 12:59:14 -0500 From: Barry Pederson <bp@barryp.org> To: Kai Hugo Hustoft Endresen <sorcererx@sorcererx.net> Cc: freebsd-stable@freebsd.org Subject: Re: mod_php4 won't compile for Apache2 2.0.39 Message-ID: <3D10C672.10906@barryp.org> References: <006f01c21765$5e4178c0$5a8d08d9@progtec>
next in thread | previous in thread | raw e-mail | index | archive | help
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 ----- Remove those 3 lines, and run your make again - seemed to work ok for me after that. Barry 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?3D10C672.10906>