DO NOT REPLY [Bug 9244] - --enable-http --enable-mods-shared=most causes link failure

2002-05-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9244

--enable-http --enable-mods-shared=most causes link failure

[EMAIL PROTECTED] changed:

   What|Removed |Added

   Severity|Blocker |Normal
 OS/Version|Linux   |All
   Platform|PC  |All
Summary|Compile fail on RedHat 7.0  |--enable-http --enable-mods-
   ||shared=most causes link
   ||failure



--- Additional Comments From [EMAIL PROTECTED]  2002-05-20 19:20 ---
What do you get for ./httpd -l and ./httpd -V ?  
  
With your ./configure arguments, configure says:  
  
checking which MPM to use... prefork  
checking whether to enable mod_http... shared (most)  
checking whether to enable mod_mime... shared (most)  
  
mod_http should never be shared!!  
  
What's happened is that by explicitly specifying --enable-http, you've tricked 
it into allowing --enable-mods-shared=most to cause mod_http to be built as a 
shared module (DSO), which you can't do.  The link failures are because the 
symbols exported from mod_http are missing.  Get rid of the --enable-http 
from the ./configure line and then mod_http will go back to being statically 
compiled like it's supposed to be and it will work.  We should try to find 
some way to detect this misconfiguration and either fix it automatically or 
at least fail more gracefully.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 9244] - --enable-http --enable-mods-shared=most causes link failure

2002-05-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9244

--enable-http --enable-mods-shared=most causes link failure





--- Additional Comments From [EMAIL PROTECTED]  2002-05-20 20:43 ---
Here is a patch that seems to work for me:
It is patterned after a similar fragment for the mod_so DSO.

--- httpd-2.0.36/modules/http/config2.m4Wed Oct  3 10:47:51 2001
+++ httpd-2.0.36-new/modules/http/config2.m4Mon May 20 13:14:41 2002
@@ -4,8 +4,15 @@

 http_objects="http_core.lo http_protocol.lo http_request.lo"

+dnl mod_http should only be built as a static DSO
+if test "$enable_http" = "yes"; then
+enable_http="static"
+elif test "$enable_http" = "shared"; then
+AC_MSG_ERROR([mod_http can not be built as a shared DSO])
+fi
+
 dnl mod_http freaks out when built as a DSO
-APACHE_MODULE(http, HTTP protocol handling, $http_objects, , static)
+APACHE_MODULE(http, HTTP protocol handling, $http_objects, , $enable_http)
 APACHE_MODULE(mime, mapping of file-extension to MIME, , , yes)

 APACHE_MODPATH_FINISH

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 9244] - --enable-http --enable-mods-shared=most causes link failure

2002-05-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9244

--enable-http --enable-mods-shared=most causes link failure

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED



--- Additional Comments From [EMAIL PROTECTED]  2002-05-20 20:52 ---
yeah, I was actually just now working on a patch almost identical, also based 
on the one 
from mod_so.  you actually don't need the: 
-APACHE_MODULE(http, HTTP protocol handling, $http_objects, , static) 
+APACHE_MODULE(http, HTTP protocol handling, $http_objects, , $enable_http) 
part, since by now you've guaranteed that $enable_http == "static". 
 
I'll commit this change in a few minutes. 
 
Thanks!

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 9244] - --enable-http --enable-mods-shared=most causes link failure

2003-02-18 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9244

--enable-http --enable-mods-shared=most causes link failure

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|RESOLVED|CLOSED

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]