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 22990] New: - build fails with Solaris2.6 at thread_rwlock.c / apr_arch_thread_rwlock.h because pthread_rwlock_t is not defined in <pthread.h>
Date Mon, 08 Sep 2003 14:21:51 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=22990>.
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=22990

build fails with Solaris2.6 at thread_rwlock.c / apr_arch_thread_rwlock.h because pthread_rwlock_t
is not defined in <pthread.h>

           Summary: build fails with Solaris2.6 at thread_rwlock.c /
                    apr_arch_thread_rwlock.h because pthread_rwlock_t is not
                    defined in <pthread.h>
           Product: Apache httpd-2.0
           Version: 2.0.47
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Build
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: anirkko@insel.ch


with
httpd-2.0.47.tar.gz
using
./configure --prefix=/usr/local/apache2 --enable-ssl

build fails under Sparc-Sun-Solaris2.6 when compiling
srclib/apr/include/arch/unix/locks/unix/thread_rwlock.c
because in included file srclib/apr/include/arch/unix/apr_arch_thread_rwlock.h
type pthread_rwlock_t is not defined, because it is
not defined in #include <pthread.h> of Solaris2.6 (and possibly
earlier, maybe also some later versions?)

workaround:
in file apr_private.h, change
#define HAVE_PTHREAD_RWLOCK_INIT 1
into
#undef HAVE_PTHREAD_RWLOCK_INIT
after configure,
and continue with 'make' which will now complete
with no further problems; resulting webserver also
runs without problems under Solaris2.6 and Solaris2.9

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


Mime
View raw message