[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Problem faced during OpenLDAP INSTALL (ITS#384)



> Hi 
> We have downloaded "openldap-1.2.7". We are trying to Install OpenLDAP on
> "Sun Solaris OS 5.7" 
> While running the configure  we faced the following problems.
> 
> 1st problem
> checking if pthread_create() works... no
> configure: error: pthread.h and pthread_create are not compatible
> 
> option 1 tried
> env ac_cv_func_pthread_create=no ./configure 
> 
> option 2 tried
> env ac_cv_func_pthread_create=no ./configure  --with-threads=lwp 
> 
> option 3 tried
> env ac_cv_func_pthread_create=no  ./configure --without-threads
> 
> 
> option 4 tried
>  LIBS="-lpthread -lposix4"; export LIBS
>   ./configure --with-threads
> 
> giving errors
> configure: warning: skipping automatic checking for NDBM, must be manually
> enabled.
> configure: warning: could not find suitable LDBM backend
> configure: error: select appropriate LDBM options or disable
> 
> 
> Pl. suggest's the solution if you have any?
> 
> Thanks in Advance
> 
> Balbir
> 
> 
> Visit http://www.niit.com. for eCommerce Solutions.
> 
> 
> 
> 
> 

Assuming that option 2-4 all returned the same messages, then
your problem is simply that the configure script could not find a 
suitable database for the LDBM backend to use (ie. you've gotten
past the threads problem using any of those options).  

For example, if you install Berkeley DB 2.7.7 from www.sleepycat.com
on your system in the standard location, they you need to set the
following environment variables:

CPPFLAGS=-I/usr/local/BerkeleyDB/include
LDFLAGS=-L/usr/local/BerkeleyDB/lib

Likewise, you can set these to point to other databases so the
configure script can find them.

Randy Kunkee
NeoSoft Inc.