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=10920>. 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=10920 http-ldap / util_ldap.h only working with threads enabled Summary: http-ldap / util_ldap.h only working with threads enabled Product: Apache httpd-2.0 Version: 2.0.39 Platform: PC OS/Version: All Status: NEW Severity: Normal Priority: Other Component: Other Modules AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] As suggest first posted to apache users but go no answer so here we go ... was just looking at http-ldap CVS checkout from 2002-07-12 and httpd-2.0.39. When compiling on FreeBSD threads are disabled by default in apache2 as stated in INSTALL. compiling --with-ldap will fail because include/util_ldap.h uses apr_thread_mutex_t but as APR_HAS_THREADS is defined 0 that struct (typedefed somewhere else) from srclib/apr/include/arch/unix/thread_mutex.h is not known. ldap-aaa and ldap-cache also seem to depend on threads. My question now is: a) ldap stuff should also work without threads ? so can someone who knows the code please have a look at and change it to also work without threads. b) please check for threads in configure when you need them and do not allow the user to compile without; I am not talking about -lpthread, which will also be found on FreeBSD, but --{enable,disable}-threads. [ ok, this may be tricky within actual build framework but this should no longer be necessary if a) is done ;-) ] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
