From owner-freebsd-stable Wed Jun 19 11: 0:51 2002 Delivered-To: freebsd-stable@freebsd.org Received: from msn166-109.med.und.nodak.edu (msn166-109.med.und.NoDak.edu [134.129.166.109]) by hub.freebsd.org (Postfix) with ESMTP id 5577A37B401 for ; Wed, 19 Jun 2002 11:00:39 -0700 (PDT) Received: from geo.med.und.nodak.edu ([134.129.166.11] helo=barryp.org) by msn166-109.med.und.nodak.edu with esmtp (TLSv1:RC4-MD5:128) (Exim 4.03) id 17Kjjh-0002Fy-00; Wed, 19 Jun 2002 12:59:17 -0500 Message-ID: <3D10C672.10906@barryp.org> Date: Wed, 19 Jun 2002 12:59:14 -0500 From: Barry Pederson User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.0) Gecko/20020530 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kai Hugo Hustoft Endresen Cc: freebsd-stable@freebsd.org Subject: Re: mod_php4 won't compile for Apache2 2.0.39 References: <006f01c21765$5e4178c0$5a8d08d9@progtec> 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 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