yes, it looks like this:

dnl modules enabled in this directory by default

dnl APACHE_MODULE(name, helptext[, objects[, structname[, default[,
config]]]])

APACHE_MODPATH_INIT(one)

APACHE_MODULE(one, testing module one, , , yes)

APR_ADDTO(LT_LDFLAGS,-export-dynamic)

APACHE_MODPATH_FINISH

Thanks
Hany

-----Original Message-----
From: Ryan Bloom [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 18, 2001 4:36 PM
To: [EMAIL PROTECTED]; Farag, Hany M (Hany)
Subject: Re: How to build Apache2.0 with more than one module


On Tuesday 18 September 2001 12:59 pm, Farag, Hany M (Hany) wrote:

Did you re-run ./configure after you ran buildconf?  What does your
config.m4
look like?

Ryan

> no, but now after i ran it and did configure and then make i get this
> error: make[2]: Leaving directory `/usr/local/src/httpd-2_0_24/server'
> make[1]: Leaving directory `/usr/local/src/httpd-2_0_24/server'
> Making all in modules
> make[1]: Entering directory `/usr/local/src/httpd-2_0_24/modules'
> Making all in aaa
> make[2]: Entering directory `/usr/local/src/httpd-2_0_24/modules/aaa'
> make[3]: Entering directory `/usr/local/src/httpd-2_0_24/modules/aaa'
> make[3]: Nothing to be done for `local-all'.
> make[3]: Leaving directory `/usr/local/src/httpd-2_0_24/modules/aaa'
> make[2]: Leaving directory `/usr/local/src/httpd-2_0_24/modules/aaa'
> Making all in filters
> make[2]: Entering directory `/usr/local/src/httpd-2_0_24/modules/filters'
> make[3]: Entering directory `/usr/local/src/httpd-2_0_24/modules/filters'
> make[3]: Nothing to be done for `local-all'.
> make[3]: Leaving directory `/usr/local/src/httpd-2_0_24/modules/filters'
> make[2]: Leaving directory `/usr/local/src/httpd-2_0_24/modules/filters'
> Making all in one
> make[2]: Entering directory `/usr/local/src/httpd-2_0_24/modules/one'
> make[2]: *** No rule to make target `all'.  Stop.
> make[2]: Leaving directory `/usr/local/src/httpd-2_0_24/modules/one'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/src/httpd-2_0_24/modules'
> make: *** [all-recursive] Error 1
>
>
> Hany
>
> -----Original Message-----
> From: Ryan Bloom [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, September 18, 2001 3:14 PM
> To: [EMAIL PROTECTED]; Farag, Hany M (Hany); '[EMAIL PROTECTED]'
> Subject: Re: HOW TO BUILD APACHE 2.0 WITH MORE THAN ONE MODULE(MODULES
> WRI ITEN BY OTHER NON-APACHE DEVELOPERS)
>
>
> On Tuesday 18 September 2001 10:50 am, Farag, Hany M (Hany) wrote:
>
> Did you re-run buildconf?
>
> Ryan
>
> > Here's what i did:
> > . created the config.m4 files within module one and two directories
under
> > modules.
> > . ./config --enable-so --enable-one --enable-two
> > . make
> > . make install
> > . ./httpd -l
> > But could not see that mod_one and mod_two listed.
> > What did i do wrong?
> >
> > Thanks
> > Hany
> >
> > -----Original Message-----
> > From: Ryan Bloom [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, September 18, 2001 11:00 AM
> > To: [EMAIL PROTECTED]; Farag, Hany M (Hany); '[EMAIL PROTECTED]'
> > Subject: Re: HOW TO BUILD APACHE 2.0 WITH MORE THAN ONE MODULE(MODULES
> > WRI ITEN BY OTHER NON-APACHE DEVELOPERS)
> >
> >
> > On Tuesday 18 September 2001 07:02 am, Farag, Hany M (Hany) wrote:
> >
> > --with-module only accepts one module, and you can't add more.  I keep
> > meaning
> > to go in and fix that, but I haven't had time recently.
> >
> > I would suggest just creating a config.m4 file for your own modules, and
> > copying
> > the files into a subdirectory of modules/.  This is very clean, and then
> > you can do --enable-mod_one --enable-mod_two, etc.
> >
> > config.m4 is a very simple file to learn to write.
> >
> > Ryan
> >
> > > Hi,
> > > How do i configure and build apache with 2 or more modules of my
> > > own?(is
> >
> > it
> >
> > > possible?)
> > > I know for one module you can do it with the following command :
> > > ./configure --enable-so --with-module=one
>
> --enable-mods-shared=mod_one.so
>
> > > Thanks
> > > Hany

-- 

______________________________________________________________
Ryan Bloom                              [EMAIL PROTECTED]
Covalent Technologies                   [EMAIL PROTECTED]
--------------------------------------------------------------

Reply via email to