You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2006/07/23 16:49:29 UTC

DO NOT REPLY [Bug 40097] New: - The --with-module directive for configure doesn't work as documented.

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40097>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40097

           Summary: The --with-module directive for configure doesn't work
                    as documented.
           Product: Apache httpd-2
           Version: 2.2.2
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Other Modules
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: cm@cmunt.demon.co.uk


I wish to statically link a (third party) module to the Apache core:  mod_foo.c

I unpack the Apache distribution in:

/opt/httpd-2.2.2

I copy my module (mod_foo.c) to the above directory.

I run the configure command:

./configure --prefix=/opt/apache222 --with-module=generators:mod_foo.c

So far so good: mod_foo.c is copied to /modules/generators/.  I run 'make' and 
the build fails with the following error:


make[1]: *** No rule to make target `modules/generators/libmod_foo.la', needed 
by `httpd'.  Stop.
make[1]: Leaving directory `/bigscratch/cm/becks/httpd-2.2.2'
make: *** [all-recursive] Error 1


A similar failure (though slightly different error message) is seen if the 
process is repeated with Apache v2.0.52:


make[1]: *** No rule to make target `modules/generators/mod_mod_foo.c.la', 
needed by `httpd'.  Stop.
make[1]: Leaving directory `/bigscratch/cm/becks/httpd-2.0.52'
make: *** [all-recursive] Error 1 



This is either a bug in the way configure works or a fault in the 
documentation.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 40097] - The --with-module directive for configure doesn't work as documented.

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40097>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40097


jorton@redhat.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Other Modules               |Build




-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org