From owner-freebsd-ports@FreeBSD.ORG Sun Mar 31 17:42:03 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id E43A189C; Sun, 31 Mar 2013 17:42:02 +0000 (UTC) (envelope-from ohauer@FreeBSD.org) Received: from p578be941.dip0.t-ipconnect.de (p578be941.dip0.t-ipconnect.de [87.139.233.65]) by mx1.freebsd.org (Postfix) with ESMTP id 6B96E83A; Sun, 31 Mar 2013 17:42:02 +0000 (UTC) Received: from [192.168.0.100] (cde1100.uni.vrs [192.168.0.100]) (Authenticated sender: ohauer) by p578be941.dip0.t-ipconnect.de (Postfix) with ESMTPSA id 70CF120877; Sun, 31 Mar 2013 19:41:58 +0200 (CEST) Message-ID: <515875C8.1080201@FreeBSD.org> Date: Sun, 31 Mar 2013 19:43:36 +0200 From: Olli Hauer User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130307 Thunderbird/17.0.4 MIME-Version: 1.0 To: "O. Hartmann" Subject: Re: www/apache24: ports like lang/php5 or devel/subversion are disturbed by the apache24 port! References: <1364750502.1715.34.camel@thor.walstatt.dyndns.org> In-Reply-To: <1364750502.1715.34.camel@thor.walstatt.dyndns.org> X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: FreeBSD Current , FreeBSD ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Mar 2013 17:42:03 -0000 It will take a while until php is really apache24 ready. Work is in progress on php upstream. One of the issues is that APXS does not provide the MPM model which is needed for php and others to build. With a quick search I can find this entry https://bugs.php.net/bug.php?id=61172 Even php build I don't think it is ready for apache24 -- Regards, olli On 2013-03-31 19:21, O. Hartmann wrote: > It is hard to explain in the subject. > > I have Apache 2.4 running on a most recent FreeBSD 10.0: > FreeBSD 10.0-CURRENT #1 r248935: Sat Mar 30 20:25:32 CET 2013 > > I have successfully running port www/apache24. The port is really bumpy, > if not to say crappy. Whenever I want to rebuild a port that has alos a > module provided for apache24, the port, like php5, ends up crashing just > before it gets installed with an obscure error message, that one of the > configuration files of Apache 2.4 seems to be wrong - which is a > complete non-sense statement, since Apache 2.4 runs well and the log > does not show any complains about a wrong config. > > Below, I provided the error message that comes at the end of the > installation of port lang/php5 (a similar error message complaining > about AuthzSVN-tags arise when building and reinstalling > devel/subversion): > > > ===>>> Creating a backup package for old version php5-5.4.13 > Creating package for php5-5.4.13 > The following packages will be deinstalled: > > php5-5.4.13 > > The deinstallation will free 15 MB > Deleting php5-5.4.13... > php5-5.4.13 is required by: cups-pdf-2.6.1_1 cups-smb-backend-1.0_6 > cups-base-1.5.4_1 drupal7-7.21 php5-ctype-5.4.13 php5-curl-5.4.13 > php5-dom-5.4.13 php5-fileinfo-5.4.13 php5-filter-5.4.13 php5-gd-5.4.13 > php5-gettext-5.4.13 php5-hash-5.4.13 php5-iconv-5.4.13 php5-json-5.4.13 > php5-ldap-5.4.13 php5-mbstring-5.4.13 php5-mysql-5.4.13 > php5-openssl-5.4.13 php5-pdo-5.4.13 php5-pdo_mysql-5.4.13 > php5-pdo_pgsql-5.4.13 php5-pdo_sqlite-5.4.13 php5-pgsql-5.4.13 > php5-session-5.4.13 php5-simplexml-5.4.13 php5-sqlite3-5.4.13 > php5-xml-5.4.13 php5-xsl-5.4.13 php5-zip-5.4.13 php5-zlib-5.4.13 > phpldapadmin-1.2.3,1 nagios-3.5.0 owncloud-5.0.0 websvn-2.3.3, deleting > anyway > [preparing module `php5' in /usr/local/etc/apache24/httpd.conf] > done > > AH00526: Syntax error on line 199 > of /usr/local/etc/apache24/extra/httpd-authnz_ldap.conf: > Invalid command 'php_flag', perhaps misspelled or defined by a module > not included in the server configuration > apxs:Error: Invalid query string `MPM_NAME'. > "/usr/ports/Mk/bsd.apache.mk", line 284: warning: "/usr/local/sbin/apxs > -q MPM_NAME" returned non-zero status > ===> php5-5.4.13 is marked as broken: : Error from bsd.apache.mk. > apache is installed (or APACHE_PORT is defined) and port requires > apache22 at least. > *** [install] Error code 1 > > Stop in /usr/ports/lang/php5. > > ===>>> A backup package for php5-5.4.13 should > be located in /usr/ports/packages/portmaster-backup > > ===>>> Installation of php5-5.4.13 (lang/php5) failed > ===>>> Aborting update > > ===>>> Update for php5-5.4.13 failed > ===>>> Aborting update > > ===>>> Killing background jobs > Terminated >