httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 9457] - Compilation fails on HP-UX 10.20
Date Fri, 31 May 2002 17:44:21 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9457>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9457

Compilation fails on HP-UX 10.20





------- Additional Comments From trawick@apache.org  2002-05-31 17:44 -------
On your HP-UX 10.20 box, can you try applying this patch, then do the
following?

make extraclean
./buildconf
./configure whatever-options
make
...

Hopefully with this patch APR will realize that it doesn't know how to use
the system thread support and it will not enable threads and the user won't have
to specify --disable-threads to make it work.

Here is the patch:

Index: srclib/apr/build/apr_threads.m4
===================================================================
RCS file: /home/cvs/apr/build/apr_threads.m4,v
retrieving revision 1.5
diff -u -r1.5 apr_threads.m4
--- srclib/apr/build/apr_threads.m4     29 Apr 2001 05:22:15 -0000      1.5
+++ srclib/apr/build/apr_threads.m4     31 May 2002 17:39:10 -0000
@@ -86,6 +86,7 @@
 int main() {
     pthread_t thd;
     pthread_mutexattr_t mattr;
+    pthread_once_t once_init = PTHREAD_ONCE_INIT;
     int data = 1;
     pthread_mutexattr_init(&mattr);
     return pthread_create(&thd, NULL, thread_routine, &data);

Of course, somebody is free to try to adapt APR to be able to use the HP-UX
10.20 thread support, but until that happens APR can hopefully work out-of-
the-box.

FYI...  AFAIK there aren't any thread-related problems with Apache 2.0 or
APR on HP-UX 11.

Thanks!!!

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message