Re: www/apache24: ports like lang/php5 or devel/subversion are disturbed by the apache24 port!
Olli Hauer ha scritto: 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. Can you try the following patch, please? Index: bsd.php.mk === --- bsd.php.mk (revision 315696) +++ bsd.php.mk (working copy) @@ -60,9 +60,8 @@ HTTPD?= ${LOCALBASE}/sbin/httpd .if exists(${HTTPD}) -APXS?= ${LOCALBASE}/sbin/apxs -APACHE_MPM!=${APXS} -q MPM_NAME -. if ${APACHE_MPM} == worker || ${APACHE_MPM} == event +APACHE_THR!=${HTTPD} -V | ${GREP} threaded +. if ${APACHE_THR:Myes} PHP_EXT_DIR:= ${PHP_EXT_DIR}-zts . endif .elif defined(APACHE_PORT) (${APACHE_PORT:M*worker*} != || ${APACHE_PORT:M*event*} != ) -- Alex Dupre ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
www/apache24: ports like lang/php5 or devel/subversion are disturbed by the apache24 port!
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 signature.asc Description: This is a digitally signed message part
Re: www/apache24: ports like lang/php5 or devel/subversion are disturbed by the apache24 port!
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 ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org