martes, 10 de septiembre de 2013

Falla en instalación de Bricolage CMS + apache2 "missing mod_apreq"

Este error al parecer es por que los scripts de instalación de Bricolage no tienen contemplado aún el módulo apreq en su versión 2:

cmscopaes bricolage-2.0.1 # make
/usr/bin/perl inst/httpd.pl STANDARD


==> Probing Apache Configuration <==

Extracting configuration data from `/usr/sbin/apache2 -V`.
Reading Apache conf file: /etc/apache2/httpd.conf.
Reading Apache conf file: /etc/apache2/modules.d/00_apache_manual.conf.
Reading Apache conf file: /etc/apache2/modules.d/00_default_settings.conf.
Reading Apache conf file: /etc/apache2/modules.d/00_error_documents.conf.
Reading Apache conf file: /etc/apache2/modules.d/00_languages.conf.
Reading Apache conf file: /etc/apache2/modules.d/00_mod_autoindex.conf.
Reading Apache conf file: /etc/apache2/modules.d/00_mod_info.conf.
Reading Apache conf file: /etc/apache2/modules.d/00_mod_log_config.conf.
Reading Apache conf file: /etc/apache2/modules.d/00_mod_mime.conf.
Reading Apache conf file: /etc/apache2/modules.d/00_mod_status.conf.
Reading Apache conf file: /etc/apache2/modules.d/00_mod_userdir.conf.
Reading Apache conf file: /etc/apache2/modules.d/00_mpm.conf.
Reading Apache conf file: /etc/apache2/modules.d/10_mod_mem_cache.conf.
Reading Apache conf file: /etc/apache2/modules.d/40_mod_ssl.conf.
Reading Apache conf file: /etc/apache2/modules.d/45_mod_dav.conf.
Reading Apache conf file: /etc/apache2/modules.d/46_mod_ldap.conf.
Reading Apache conf file: /etc/apache2/modules.d/70_mod_php5.conf.
Reading Apache conf file: /etc/apache2/modules.d/75_mod_perl.conf.
Reading Apache conf file: /etc/apache2/modules.d/76_mod_apreq.conf.
Reading Apache conf file: /etc/apache2/vhosts.d/00_default_ssl_vhost.conf.
Reading Apache conf file: /etc/apache2/vhosts.d/00_default_vhost.conf.
Extracting static module list from `/usr/sbin/apache2 -l`.
Your Apache supports loadable modules (DSOs).
Found Apache user: apache
Found Apache group: apache
Checking for required Apache modules...

Al ejecutar el make, nos dirá que falta el modulo apreq,  y cláro que falta, pues sólo tenemos la versión 2 de este módulo:

The following Apache modules are required by Bricolage and
are missing from your installation:
mod_apreq

Please install them or, if they are installed, you may need to enable them in
the mods-enabled directory of your apache2 installation or use a2enmod ,
if you have that installed on your operating system.

Failed to launch apache2 probing script inst/htprobe_apache2.pl: 256
make: *** [apache.db] Error 1


Para solucionarlo editamos el archivo : htprobe_apache2.pl

cmscopaes bricolage-2.0.1 # vim /home/bricopaes.uach.mx/docs/bricolage-2.0.1/inst/htprobe_apache2.pl

Buscamos la linea: 

 foreach my $mod (qw(apreq expires perl log_config mime alias apache_ssl ssl)) {

Cambiamos por apreq2 de esta manera:

 foreach my $mod (qw(apreq2 expires perl log_config mime alias apache_ssl ssl)) {


No hay comentarios: