You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by "Farag, Hany M (Hany)" <hf...@lucent.com> on 2001/09/18 21:59:58 UTC

RE: How to build Apache2.0 with more than one module

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:rbb@covalent.net]
Sent: Tuesday, September 18, 2001 3:14 PM
To: dev@httpd.apache.org; Farag, Hany M (Hany); 'dev@httpd.apache.org'
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:rbb@covalent.net]
> Sent: Tuesday, September 18, 2001 11:00 AM
> To: dev@httpd.apache.org; Farag, Hany M (Hany); 'dev@httpd.apache.org'
> 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				rbb@apache.org
Covalent Technologies			rbb@covalent.net
--------------------------------------------------------------

Re: How to build Apache2.0 with more than one module

Posted by Ryan Bloom <rb...@covalent.net>.
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:rbb@covalent.net]
> Sent: Tuesday, September 18, 2001 3:14 PM
> To: dev@httpd.apache.org; Farag, Hany M (Hany); 'dev@httpd.apache.org'
> 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:rbb@covalent.net]
> > Sent: Tuesday, September 18, 2001 11:00 AM
> > To: dev@httpd.apache.org; Farag, Hany M (Hany); 'dev@httpd.apache.org'
> > 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				rbb@apache.org
Covalent Technologies			rbb@covalent.net
--------------------------------------------------------------