Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: Dev

one remaining mpms-shared quirk

 

 

Apache dev RSS feed   Index | Next | Previous | View Threaded


wrowe at rowe-clan

Nov 14, 2009, 5:10 PM

Post #1 of 6 (624 views)
Permalink
one remaining mpms-shared quirk

./configure with both --with-mpm=worker --enable-mpms-shared provides a really
odd result;

checking which MPM to use by default... worker
../httpd-2.x/configure: line 25999: server/mpm/event/modules.mk: No such file or directory
checking for pthread_kill... yes
../httpd-2.x/configure: line 26148: server/mpm/prefork/modules.mk: No such file or directory
../httpd-2.x/configure: line 26197: server/mpm/simple/modules.mk: No such file or directory
../httpd-2.x/configure: line 26293: server/mpm/worker/modules.mk: No such file or directory
checking for pthread_kill... (cached) yes
mkdir modules/arch/unix


Is this by design? Should we use a different option to choose 'the mpm'
for httpd.conf purposes?


trawick at gmail

Nov 14, 2009, 5:48 PM

Post #2 of 6 (584 views)
Permalink
Re: one remaining mpms-shared quirk [In reply to]

On Sat, Nov 14, 2009 at 8:10 PM, William A. Rowe Jr.
<wrowe [at] rowe-clan> wrote:
> ./configure with both --with-mpm=worker --enable-mpms-shared provides a really
> odd result;
>
> checking which MPM to use by default... worker
> ../httpd-2.x/configure: line 25999: server/mpm/event/modules.mk: No such file or directory
> checking for pthread_kill... yes
> ../httpd-2.x/configure: line 26148: server/mpm/prefork/modules.mk: No such file or directory
> ../httpd-2.x/configure: line 26197: server/mpm/simple/modules.mk: No such file or directory
> ../httpd-2.x/configure: line 26293: server/mpm/worker/modules.mk: No such file or directory
> checking for pthread_kill... (cached) yes
> mkdir modules/arch/unix
>
>
> Is this by design?  Should we use a different option to choose 'the mpm'
> for httpd.conf purposes?

I get different results with "--with-mpm=worker --enable-mpms-shared"...

checking which MPM to use by default... worker
configure: error: MPM yes does not support dynamic loading.
configure failed

The --enable-mpms-shared option handling doesn't deal with "yes"; it
expects "all" or a list of space-delimited MPMs. I'll change it to
build the default MPM (--with-mpm) as shared when no argument is
passed on the --enable-mpms-shared option. (and I guess
"no"/--disable... should do nothing, if it doesn't already)


wrowe at rowe-clan

Nov 15, 2009, 1:06 AM

Post #3 of 6 (580 views)
Permalink
Re: one remaining mpms-shared quirk [In reply to]

Jeff Trawick wrote:
>
> I get different results with "--with-mpm=worker --enable-mpms-shared"...
>
> checking which MPM to use by default... worker
> configure: error: MPM yes does not support dynamic loading.
> configure failed
>
> The --enable-mpms-shared option handling doesn't deal with "yes"; it
> expects "all" or a list of space-delimited MPMs. I'll change it to
> build the default MPM (--with-mpm) as shared when no argument is
> passed on the --enable-mpms-shared option. (and I guess
> "no"/--disable... should do nothing, if it doesn't already)

Sorry - yes, I used --with-mpm=worker --enable-mpms-shared=all

sorry I wasn't more explicit


trawick at gmail

Nov 15, 2009, 5:47 AM

Post #4 of 6 (579 views)
Permalink
Re: one remaining mpms-shared quirk [In reply to]

On Sun, Nov 15, 2009 at 4:06 AM, William A. Rowe Jr.
<wrowe [at] rowe-clan> wrote:
> Jeff Trawick wrote:
>>
>> I get different results with "--with-mpm=worker --enable-mpms-shared"...
>>
>> checking which MPM to use by default... worker
>> configure: error: MPM yes does not support dynamic loading.
>> configure failed
>>
>> The --enable-mpms-shared option handling doesn't deal with "yes"; it
>> expects "all" or a list of space-delimited MPMs.  I'll change it to
>> build the default MPM (--with-mpm) as shared when no argument is
>> passed on the --enable-mpms-shared option.  (and I guess
>> "no"/--disable... should do nothing, if it doesn't already)
>
> Sorry - yes, I used --with-mpm=worker --enable-mpms-shared=all

hmmm... no issues here, whether or not the named MPM would be the
default anyway

send me your configure so I can match up the line numbers from your
error messages and also see if the generated code is what I have

>
> sorry I wasn't more explicit

no problem; it was a good opportunity to realize that something
reasonable should happen with that invocation too


trawick at gmail

Nov 15, 2009, 2:09 PM

Post #5 of 6 (565 views)
Permalink
Re: one remaining mpms-shared quirk [In reply to]

On Sat, Nov 14, 2009 at 8:10 PM, William A. Rowe Jr.
<wrowe [at] rowe-clan> wrote:
> ./configure with both --with-mpm=worker --enable-mpms-shared provides a really
> odd result;
>
> checking which MPM to use by default... worker
> ../httpd-2.x/configure: line 25999: server/mpm/event/modules.mk: No such file or directory
> checking for pthread_kill... yes
> ../httpd-2.x/configure: line 26148: server/mpm/prefork/modules.mk: No such file or directory
> ../httpd-2.x/configure: line 26197: server/mpm/simple/modules.mk: No such file or directory
> ../httpd-2.x/configure: line 26293: server/mpm/worker/modules.mk: No such file or directory

lack of vpath support is the problem; I need to mimic or share the
builddir creation logic that exists for regular modules in order to
create server/mpm/FOO before trying to create modules.mk there


trawick at gmail

Nov 16, 2009, 6:37 AM

Post #6 of 6 (539 views)
Permalink
Re: one remaining mpms-shared quirk [In reply to]

On Sun, Nov 15, 2009 at 5:09 PM, Jeff Trawick <trawick [at] gmail> wrote:
> On Sat, Nov 14, 2009 at 8:10 PM, William A. Rowe Jr.
> <wrowe [at] rowe-clan> wrote:
>> ./configure with both --with-mpm=worker --enable-mpms-shared provides a really
>> odd result;
>>
>> checking which MPM to use by default... worker
>> ../httpd-2.x/configure: line 25999: server/mpm/event/modules.mk: No such file or directory
>> checking for pthread_kill... yes
>> ../httpd-2.x/configure: line 26148: server/mpm/prefork/modules.mk: No such file or directory
>> ../httpd-2.x/configure: line 26197: server/mpm/simple/modules.mk: No such file or directory
>> ../httpd-2.x/configure: line 26293: server/mpm/worker/modules.mk: No such file or directory
>
> lack of vpath support is the problem; I need to mimic or share the
> builddir creation logic that exists for regular modules in order to
> create server/mpm/FOO before trying to create modules.mk there
>

r880775 :)

Apache dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.