public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* apr: enable threads?
@ 2015-05-21 20:03 Yaakov Selkowitz
  2015-05-21 20:49 ` David Rothenberger
  0 siblings, 1 reply; 6+ messages in thread
From: Yaakov Selkowitz @ 2015-05-21 20:03 UTC (permalink / raw)
  To: cygwin

David,

I am looking at upgrading Apache httpd to 2.4, and it is clear that this
has not even attempted to be built with an APR without threads support.
While I may be able to get it to compile as-is, I have serious concerns
that it will not operate as designed, particularly wrt mod_proxy.

What exactly is blocking the enablement of threads support in APR?

--
Yaakov



--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: apr: enable threads?
  2015-05-21 20:03 apr: enable threads? Yaakov Selkowitz
@ 2015-05-21 20:49 ` David Rothenberger
  2015-05-21 22:12   ` Yaakov Selkowitz
  0 siblings, 1 reply; 6+ messages in thread
From: David Rothenberger @ 2015-05-21 20:49 UTC (permalink / raw)
  To: cygwin

Yaakov Selkowitz wrote:
> I am looking at upgrading Apache httpd to 2.4, and it is clear that this
> has not even attempted to be built with an APR without threads support.
> While I may be able to get it to compile as-is, I have serious concerns
> that it will not operate as designed, particularly wrt mod_proxy.
> 
> What exactly is blocking the enablement of threads support in APR?

The last time I tried it, the tests for subversion failed when threads
were turned on in APR.

-- 
David Rothenberger  ----  daveroth@acm.org

"The geeks shall inherit the earth."
                -- Karl Lehenbauer

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: apr: enable threads?
  2015-05-21 20:49 ` David Rothenberger
@ 2015-05-21 22:12   ` Yaakov Selkowitz
  2015-05-21 23:12     ` David Rothenberger
  0 siblings, 1 reply; 6+ messages in thread
From: Yaakov Selkowitz @ 2015-05-21 22:12 UTC (permalink / raw)
  To: cygwin

On Thu, 2015-05-21 at 13:26 -0700, David Rothenberger wrote:
> Yaakov Selkowitz wrote:
> > I am looking at upgrading Apache httpd to 2.4, and it is clear that this
> > has not even attempted to be built with an APR without threads support.
> > While I may be able to get it to compile as-is, I have serious concerns
> > that it will not operate as designed, particularly wrt mod_proxy.
> > 
> > What exactly is blocking the enablement of threads support in APR?
> 
> The last time I tried it, the tests for subversion failed when threads
> were turned on in APR.

Would you mind trying again, and let's see if we can work out any
issues?  The fact that httpd won't build cleanly with APR threads
disabled makes me worry that nobody is really supporting this
configuration anymore.

Also, this would seem to indicate that we're missing something in
apr-util:

configure: WARNING: Your APR does not include SSL/EVP support. To enable
it: configure --with-crypto

--
Yaakov





--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: apr: enable threads?
  2015-05-21 22:12   ` Yaakov Selkowitz
@ 2015-05-21 23:12     ` David Rothenberger
  2015-05-26  8:27       ` David Rothenberger
  0 siblings, 1 reply; 6+ messages in thread
From: David Rothenberger @ 2015-05-21 23:12 UTC (permalink / raw)
  To: cygwin

Yaakov Selkowitz wrote:
> On Thu, 2015-05-21 at 13:26 -0700, David Rothenberger wrote:
>> Yaakov Selkowitz wrote:
>>> I am looking at upgrading Apache httpd to 2.4, and it is clear that this
>>> has not even attempted to be built with an APR without threads support.
>>> While I may be able to get it to compile as-is, I have serious concerns
>>> that it will not operate as designed, particularly wrt mod_proxy.
>>>
>>> What exactly is blocking the enablement of threads support in APR?
>>
>> The last time I tried it, the tests for subversion failed when threads
>> were turned on in APR.
> 
> Would you mind trying again, and let's see if we can work out any
> issues?  The fact that httpd won't build cleanly with APR threads
> disabled makes me worry that nobody is really supporting this
> configuration anymore.
> 
> Also, this would seem to indicate that we're missing something in
> apr-util:
> 
> configure: WARNING: Your APR does not include SSL/EVP support. To enable
> it: configure --with-crypto

Sure, I'll add it to my list of things to do, but it may take a while
since (1) I'm very busy working 6 days a week for real job and (2)
running the subversion tests is difficult.

-- 
David Rothenberger  ----  daveroth@acm.org

"It may be that our role on this planet is not to worship God but to
 create him."
                -- Arthur C. Clarke

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: apr: enable threads?
  2015-05-21 23:12     ` David Rothenberger
@ 2015-05-26  8:27       ` David Rothenberger
  2015-05-29 21:49         ` Yaakov Selkowitz
  0 siblings, 1 reply; 6+ messages in thread
From: David Rothenberger @ 2015-05-26  8:27 UTC (permalink / raw)
  To: cygwin

On 5/21/2015 4:03 PM, David Rothenberger wrote:
> Yaakov Selkowitz wrote:
>> On Thu, 2015-05-21 at 13:26 -0700, David Rothenberger wrote:
>>> Yaakov Selkowitz wrote:
>>>> I am looking at upgrading Apache httpd to 2.4, and it is clear that this
>>>> has not even attempted to be built with an APR without threads support.
>>>> While I may be able to get it to compile as-is, I have serious concerns
>>>> that it will not operate as designed, particularly wrt mod_proxy.
>>>>
>>>> What exactly is blocking the enablement of threads support in APR?
>>>
>>> The last time I tried it, the tests for subversion failed when threads
>>> were turned on in APR.
>>
>> Would you mind trying again, and let's see if we can work out any
>> issues?  The fact that httpd won't build cleanly with APR threads
>> disabled makes me worry that nobody is really supporting this
>> configuration anymore.
>>
>> Also, this would seem to indicate that we're missing something in
>> apr-util:
>>
>> configure: WARNING: Your APR does not include SSL/EVP support. To enable
>> it: configure --with-crypto
> 
> Sure, I'll add it to my list of things to do, but it may take a while
> since (1) I'm very busy working 6 days a week for real job and (2)
> running the subversion tests is difficult.

I've uploaded new versions of libapr1, libaprutil1, and subversion.
libapr1 is built with threads and the subversion tests appear to pass,
or at least fail in the same way as with a libapr1 without threads.

I rebuilt libaprutil1 with the --with-crypto flag, although I'm pretty
sure it was picking up the crypto library without the flag.

-- 
David Rothenberger  ----  daveroth@acm.org

Second Law of Business Meetings:
        If there are two possible ways to spell a person's name, you
        will pick the wrong one.

Corollary:
        If there is only one way to spell a name,
        you will spell it wrong, anyway.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: apr: enable threads?
  2015-05-26  8:27       ` David Rothenberger
@ 2015-05-29 21:49         ` Yaakov Selkowitz
  0 siblings, 0 replies; 6+ messages in thread
From: Yaakov Selkowitz @ 2015-05-29 21:49 UTC (permalink / raw)
  To: cygwin

On Mon, 2015-05-25 at 17:56 -0700, David Rothenberger wrote:
> I've uploaded new versions of libapr1, libaprutil1, and subversion.
> libapr1 is built with threads and the subversion tests appear to pass,
> or at least fail in the same way as with a libapr1 without threads.

Great, thank you.  With these I was able to rebuild httpd without all
the ifdefs, and was also able to enable the worker MPM (MPMs can be DSOs
in 2.4, so users can select between prefork and worker without having to
rebuild).  I feel much better about 2.4 as the default now.

--
Yaakov



--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-05-29 19:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-21 20:03 apr: enable threads? Yaakov Selkowitz
2015-05-21 20:49 ` David Rothenberger
2015-05-21 22:12   ` Yaakov Selkowitz
2015-05-21 23:12     ` David Rothenberger
2015-05-26  8:27       ` David Rothenberger
2015-05-29 21:49         ` Yaakov Selkowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).