You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Bjoern A. Zeeb" <bz...@lists.zabbadoz.net> on 2002/07/13 18:24:57 UTC
http-ldap / util_ldap.h only working with threads enabled
Hi,
was just looking at http-ldap CVS checkout from yesterday 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 ;-) ]
Thanks in advance.
--
Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT
56 69 73 69 74 http://www.zabbadoz.net/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org