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

Re: ΄πΈ΄: Newbie Question - running configure



Nope,

Fails with this message earlier than before..

checking for pthread_detach with <pthread.h>... yes
checking for pthread_setconcurrency... no
checking for pthread_getconcurrency... no
checking for thr_setconcurrency... yes
checking for thr_getconcurrency... yes
checking if pthread_create() works... no
configure: error: pthread.h and pthread_create are not compatible


I got the "env" paramters from the OpenLDAP FAQ's when we hit this
problem before..

Cheers

Scott

Hong Li wrote:
> 
> Please just type the ./configure in the openldap directory to see if it works.
> 
> -----ԭʼÓʼþ-----
> ·¢¼þÈË: owner-openldap-software@OpenLDAP.org [mailto:owner-openldap-software@OpenLDAP.org]´ú±í; Scott Cooper
> ·¢ËÍʱ¼ä: 2000Äê7ÔÂ5ÈÕ 20:32
> ÊÕ¼þÈË: openldap-software@OpenLDAP.org
> Ö÷Ìâ: Newbie Question - running configure
> 
> Hi all,
> 
> I am new to this LDAP stuff so please bear with me on the question...
> 
> I am trying to setup Openldap-1.2.10 with Berkeley DB2 Backend Database
> on Solaris 2.6..
> 
> I have built the Berkeley DB but when I try to run the configure script
> for LDAP it drops out..
> 
> The command I have been running is:
> 
> env ac_cv_func_pthread_create=no ol_cv_kthread_flag=no
> ol_cv_pthread_flag=no ol_cv_pthreads_flag=no ol_cv_thread_flag=no
> CPPFLAGS="-I/usr/local/BerkeleyDB.3.1/include"
> LDFLAGS="-L/usr/local/BerkeleyDB.3.1/lib" ./configure
> 
> And it drops out with the message:
> 
> checking for pthread_getconcurrency... no
> checking for thr_setconcurrency... yes
> checking for thr_getconcurrency... yes
> checking if pthread_create() works... yes
> checking if select yields when using pthreads... yes checking for thread
> specific errno... yes
> checking for DB2 library... checking for db_open in -ldb... no no
> checking for db.h... yes
> checking if db.h is DB2... no
> checking for Berkeley DB2... no
> checking for Berkeley DB library... checking for dbopen... no checking
> for dbopen in -ldb1... no
> checking for dbopen in -ldb... no
> no
> checking for db_185.h... yes
> checking for Berkeley DB... no
> checking for GDBM library... checking for gdbm_open... no checking for
> gdbm_open in -lgdbm... no
> no
> checking for gdbm.h... no
> checking for db... no
> checking for MDBM library... checking for mdbm_set_chain... no checking
> for mdbm_set_chain in -lmdbm... no
> no
> checking for mdbm.h... no
> checking for db... no
> configure: warning: could not find suitable LDBM backend configure:
> error: select appropriate LDBM options or disable
> 
> Any help on this and I would be grateful, I am going round in circles at
> the moment!
> 
> Cheers
> 
> Scott!
> 
> --
> Scott Cooper
> 
> Email:     scottc@pdmailhost.marconicomms.com
>            scott.cooper@marconi.com
> Website:  http://www.geocities.com/scottdubcooper

-- 
Scott Cooper

Email:	   scottc@dcmailhost.marconicomms.com
  	   scott.cooper@marconicomms.com
Website:  http://www.geocities.com/scottdubcooper   	Phone: 01202 853192

**************************************************************************

              BOYCOTT THE PUMPS  - AUGUST 1st 2000

**************************************************************************