From owner-freebsd-stable Wed Jun 19 11:31:48 2002 Delivered-To: freebsd-stable@freebsd.org Received: from smtpzilla1.xs4all.nl (smtpzilla1.xs4all.nl [194.109.127.137]) by hub.freebsd.org (Postfix) with ESMTP id 2108F37B40A for ; Wed, 19 Jun 2002 11:31:35 -0700 (PDT) Received: from klop.yi.org (a194-109-223-6.adsl.xs4all.nl [194.109.223.6]) by smtpzilla1.xs4all.nl (8.12.0/8.12.0) with ESMTP id g5JIVCdB075867; Wed, 19 Jun 2002 20:31:22 +0200 (CEST) Message-ID: <3D10CDF0.6070009@klop.yi.org> Date: Wed, 19 Jun 2002 20:31:12 +0200 From: Ronald Klop User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.0.0) Gecko/20020607 X-Accept-Language: nl, nl-be, en-us MIME-Version: 1.0 To: Barry Pederson Cc: Kai Hugo Hustoft Endresen , freebsd-stable@FreeBSD.ORG Subject: Re: mod_php4 won't compile for Apache2 2.0.39 References: <006f01c21765$5e4178c0$5a8d08d9@progtec> <3D10C672.10906@barryp.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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