--with-module takes two arguments with a ':' separating them.

The first argument is the module type, so that the configure script
knows where to copy the file.  The second is the file to copy.  So, the
following will add mod_apachecon.c to my Apache binary.

--with-module=filter:/home/rbb/apache_modules/mod_apachecon.c

The reason we did this, was because we removed the 'extra' directory
from underneath modules, and people were very much against putting it
back.

Ryan

----------------------------------------------
Ryan Bloom                  [EMAIL PROTECTED]
645 Howard St.              [EMAIL PROTECTED]
San Francisco, CA 

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:trawick@rdu163-40-
> 092.nc.rr.com] On Behalf Of Jeff Trawick
> Sent: Monday, February 11, 2002 5:54 PM
> To: [EMAIL PROTECTED]
> Subject: Re: what is best way to statically link a multi-file module
w/
> httpd?
> 
> Ryan Bloom <[EMAIL PROTECTED]> writes:
> 
> > On 11 Feb 2002, Jeff Trawick wrote:
> >
> > > Suppose I have mod_fubar.c and a couple of other .c files...  What
is
> > > the recommended way to statically link them into httpd?
> > >
> > > Put them in modules/something and create config.m4 and
Makefile.in?
> > >
> > > Use some invocation of --with-module?
> >
> > I personally use --with-module.  It has some major problems that
need to
> > be fixed, but for the most part it works well.
> 
> I'd love a real example of something that actually works :)  Where
> do the files go and what is the --with-module invocation?
> 
> Suppose I have a directory /home/trawick/foo which includes
> mod_foo.c.
> 
> When trying --with-module=/home/trawick/silly2/mod_silly2.c I get some
> error messages including
> 
>   "cp: cannot create regular file
>   `modules//home/trawick/silly2/mod_silly2.c/mod_silly2.c': No such
>   file or directory"
> 
> --
> Jeff Trawick | [EMAIL PROTECTED] | PGP public key at web site:
>        http://www.geocities.com/SiliconValley/Park/9289/
>              Born in Roswell... married an alien...

Reply via email to