./confgure syntax to create static binary and eliminate "Shared" modules?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm trying to learn how to compile Apache 2.4.41 to include all of my modules as static and not shared, but I'm having no success.

Here's my configure command:

./configure --disable-mod_alias --disable-mod_authn_file --disable-mod_authn_core --disable-mod_authz_host --disable-mod_autoindex --disable-mod_authz_groupfile --disable-mod_authz_user --disable-mod_authz_core --disable-mod_access_compat --disable-mod_auth_basic --disable-mod_reqtimeout --disable-mod_filter --disable-mod_env --disable-mod_headers --disable-mod_log_config --disable-mod_mime --disable-mod_setenvif --disable-mod_version --disable-mod_status --disable-mod_autoindex --disable-mod_dif --enable-so --enable-ssl --enable-ssl-staticlib-deps --enable-mods-static="alias authz_host autoindex deflate dir expires headers mime log_config log_debug log_forensic negotiation rewrite setenvif ssl" --with-ssl=/etc/ssl --with-included-apr --with-pcre=/usr/local/pcre/bin/pcre-config --with-expat=/usr/local/expat --with-mysqlalias

Which I follow by: # make && make install && make clean

The command: # /usr/local/apache2/bin/apachectl -t -D DUMP_MODULES

shows:

Loaded Modules:
 core_module (static)
 authz_host_module (static)
 so_module (static)
 deflate_module (static)
 http_module (static)
 mime_module (static)
 log_config_module (static)
 log_debug_module (static)
 log_forensic_module (static)
 expires_module (static)
 headers_module (static)
 setenvif_module (static)
 ssl_module (static)
 mpm_event_module (static)
 autoindex_module (static)
 negotiation_module (static)
 dir_module (static)
 alias_module (static)
 rewrite_module (static)
 authn_file_module (shared)
 authn_core_module (shared)
 authz_groupfile_module (shared)
 authz_user_module (shared)
 authz_core_module (shared)
 access_compat_module (shared)
 auth_basic_module (shared)
 reqtimeout_module (shared)
 filter_module (shared)
 env_module (shared)
 version_module (shared)
 unixd_module (shared)
 status_module (shared)


What am I missing? How do I eliminate all of the "Shared" modules (which I don't need) so I'm only left with "Static"?

Thank you,
Ed





[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux