Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 156031 - net-www/apache-2.0.58-r2 with USE=static-modules fails to build
Summary: net-www/apache-2.0.58-r2 with USE=static-modules fails to build
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Other
: High normal
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-23 06:30 UTC by Brian Davis
Modified: 2007-01-18 16:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Davis 2006-11-23 06:30:01 UTC
checking whether to enable mod_suexec... checking dependencies
checking whether to enable mod_suexec... shared
checking whether to enable mod_cgid... no
checking whether to enable mod_cgi... no
checking for pthread_kill... yes
checking whether to enable mod_dav_fs... no
checking whether to enable mod_vhost_alias... no
checking whether to enable mod_negotiation... no
checking whether to enable mod_dir... yes (default)
checking whether to enable mod_imap... no
checking whether to enable mod_actions... no
checking whether to enable mod_speling... no
checking whether to enable mod_userdir... no
checking whether to enable mod_alias... no
checking whether to enable mod_rewrite... no
configure: error: shared objects have been requested but cannot be built
since mod_so was disabled

!!! ERROR: net-www/apache-2.0.58-r2 failed.
Call stack:
ebuild.sh, line 1546:   Called dyn_compile
ebuild.sh, line 937:   Called src_compile
apache-2.0.58-r2.ebuild, line 172:   Called die

!!! bad ./configure please submit bug report to bugs.gentoo.org
<http://bugs.gentoo.org>. Include your config.layout and config.log
!!! If you need support, post the topmost build error, and the call
stack if relevant.

This occurs if /etc/apache2/apache-builtin-mods if modified to the following:

<snip>

- mod_example shared
mod_access static
- mod_auth shared
- mod_auth_dbm shared
- mod_auth_anon shared
- mod_auth_digest shared
- mod_alias shared
- mod_file-cache shared
- mod_echo shared
- mod_charset-lite shared
- mod_cache shared
- mod_disk-cache shared
- mod_mem-cache shared
- mod_ext-filter shared
- mod_case_filter shared
- mod_case-filter-in shared
- mod_deflate shared
- mod_mime-magic shared
- mod_cern-meta shared
- mod_expires shared
- mod_headers shared
- mod_usertrack shared
- mod_unique-id shared
- mod_proxy shared
- mod_proxy-connect shared
- mod_proxy-ftp shared
- mod_proxy-http shared
- mod_optional-hook-export shared
- mod_optional-hook-import shared
- mod_optional-fn-import shared
- mod_optional-fn-export shared
- mod_bucketeer shared
- mod_info shared
- mod_include shared
- mod_cgi shared
- mod_cgid shared
- mod_dav shared
- mod_dav-fs shared
- mod_vhost-alias shared
- mod_speling shared
- mod_rewrite shared
mod_log_config static
- mod_logio shared
- mod_env shared
- mod_setenvif shared
mod_mime static
- mod_status shared
- mod_autoindex shared
- mod_asis shared
- mod_negotiation shared
mod_dir static
- mod_imap shared
- mod_actions shared
- mod_userdir shared
- mod_so static
Comment 1 Christian Heim (RETIRED) gentoo-dev 2007-01-18 16:59:30 UTC
(In reply to comment #0)
> configure: error: shared objects have been requested but cannot be built
> since mod_so was disabled
> 
> !!! ERROR: net-www/apache-2.0.58-r2 failed.
> Call stack:
> ebuild.sh, line 1546:   Called dyn_compile
> ebuild.sh, line 937:   Called src_compile
> apache-2.0.58-r2.ebuild, line 172:   Called die
> 
> !!! bad ./configure please submit bug report to bugs.gentoo.org
> <http://bugs.gentoo.org>. Include your config.layout and config.log
> !!! If you need support, post the topmost build error, and the call
> stack if relevant.

The configure script tells you what to do .. Just change your last line in /etc/apache2/apache2-builtin-mods to read "mod_so static" instead of "- mod_so static".