From owner-freebsd-ports@FreeBSD.ORG Thu Jun 17 15:17:28 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7EFE0106567F for ; Thu, 17 Jun 2010 15:17:28 +0000 (UTC) (envelope-from fw@moov.de) Received: from mail.inotronic.de (mail.inotronic.de [77.73.248.111]) by mx1.freebsd.org (Postfix) with ESMTP id 08D578FC1F for ; Thu, 17 Jun 2010 15:17:27 +0000 (UTC) Received: from phosphorus (mail [77.73.248.111]) by mail.inotronic.de (8.14.4/8.14.3) with ESMTP id o5HF6tJt059331 for ; Thu, 17 Jun 2010 17:06:55 +0200 (CEST) (envelope-from fw@moov.de) X-Filter-Status: scanned by inotronic CheckMAIL Received: from boron.inotronic.de (boron.inotronic-intern.de [10.1.2.10]) by mail.inotronic.de (8.14.4/8.14.3) with ESMTP id o5HF6nI1059203 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 17 Jun 2010 17:06:49 +0200 (CEST) (envelope-from fw@moov.de) X-Receipient-To: Received: from gold.inotronic-management.de (gold.inotronic-management.de [10.3.1.201]) by boron.inotronic.de (8.14.3/8.14.3) with ESMTP id o5HF6nRl016409; Thu, 17 Jun 2010 17:06:49 +0200 (CEST) (envelope-from fw@moov.de) Date: Thu, 17 Jun 2010 17:06:49 +0200 From: Frank Wall To: freebsd-ports@freebsd.org Message-ID: <20100617150649.GO17842@gold.inotronic-management.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) Subject: PHP4 no longer compiles with www/apache20 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jun 2010 15:17:28 -0000 Hi, I have updated www/apache20 to apache-2.0.63_15, but it seems that a recent change breaks compatiblity with PHP4. I got this error while trying to rebuild lang/php4: In file included from /usr/local/include/apache2/httpd.h:44, from /usr/local/include/apache2/util_filter.h:23, from /usr/ports/lang/php4/work/php-4.4.9/sapi/apache2handler/sapi_apache2.c:40: /usr/local/include/apache2/ap_regex.h:90: error: conflicting types for 'regoff_t' /usr/ports/lang/php4/work/php-4.4.9/regex/regex.h:17: error: previous declaration of 'regoff_t' was here *** Error code 1 Trying to restart Apache reveals a recent API change: # /usr/local/etc/rc.d/apache2 restart Performing sanity check on apache2 configuration: httpd: module "/usr/ports/lang/php4/work/php-4.4.9/sapi/apache2handler/sapi_apache2.c" is not compatible with this version of Apache (found 20020903, need 20050127). Please contact the vendor for the correct version. I assume the fix for mod_redirect introduces this new problem: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/146604 (MFC of http://svn.apache.org/viewvc?view=revision&revision=153384) The system is really ancient, running 6.4-RELEASE with lot's of old stuff, but I cannot upgrade PHP nor Apache because of some compatiblity issues. Any hints/hacks? Regards Frank Wall