Apache 2.2 port and missing modules on current.

From: Bartosz Stec <admin_at_kkip.pl>
Date: Tue, 10 Aug 2010 13:47:34 +0200
  Guys, I'm interested if anyone of you can reproduce my problem with 
apache22 port on CURRENT before I eventually send PR.

    # uname -a
    FreeBSD serwer.obsysa.net 9.0-CURRENT FreeBSD 9.0-CURRENT #8: Mon
    Aug  9 19:51:38 CEST 2010    
    ncpnc_at_serwer.obsysa.net:/usr/obj/usr/src/sys/ATHLON9  i386

I've recompiled apache as usual but it failed to start because some 
modules are missing:

    # /usr/local/etc/rc.d/apache22 start
    Performing sanity check on apache22 configuration:
    httpd: Syntax error on line 68 of
    /usr/local/etc/apache22/httpd.conf: Cannot load
    /usr/local/libexec/apache22/mod_cache.so into server: Cannot open
    "/usr/local/libexec/apache22/mod_cache.so"

In fact they aren't there:

    # ls -m /usr/local/libexec/apache22
    httpd.exp, libphp5.so*, mod_actions.so*, mod_alias.so*, mod_asis.so*,
    mod_auth_basic.so*, mod_auth_digest.so*, mod_authn_alias.so*,
    mod_authn_anon.so*, mod_authn_dbm.so*, mod_authn_default.so*,
    mod_authn_file.so*, mod_authz_dbm.so*, mod_authz_default.so*,
    mod_authz_groupfile.so*, mod_authz_host.so*, mod_authz_owner.so*,
    mod_authz_user.so*, mod_autoindex.so*, mod_cern_meta.so*,
    mod_charset_lite.so*,
    mod_dav.so*, mod_dav_fs.so*, mod_deflate.so*, mod_dir.so*,
    mod_disk_cache.so*,
    mod_dumpio.so*, mod_env.so*, mod_expires.so*, mod_file_cache.so*,
    mod_headers.so*, mod_imagemap.so*, mod_include.so*, mod_info.so*,
    mod_log_config.so*, mod_logio.so*, mod_mime.so*, mod_mime_magic.so*,
    mod_negotiation.so*, mod_proxy_connect.so*, mod_reqtimeout.so*,
    mod_rewrite.so*, mod_setenvif.so*, mod_speling.so*, mod_ssl.so*,
    mod_status.so*, mod_unique_id.so*, mod_userdir.so*, mod_usertrack.so*,
    mod_version.so*, mod_vhost_alias.so*

But mod_cache is enabled in options:

    # grep -i cache Makefile.options
              CACHE "Enable mod_cache" ON \
              DISK_CACHE "Enable mod_disk_cache" ON \
              FILE_CACHE "Enable mod_file_cache" ON \
              MEM_CACHE "Enable mod_mem_cache" OFF \

Problem seems to be connected with ./configure script:

    # make configure &> build.log
    # grep -i cache build.log
    (...)
    checking whether to enable mod_file_cache... shared
    checking whether to enable mod_cache... no
    checking whether to enable mod_disk_cache... shared
    checking whether to enable mod_mem_cache... no
    (...)

Disabling ccache makes no difference.

-- 
Bartosz Stec
Received on Tue Aug 10 2010 - 10:06:44 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:06 UTC