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

Re: Re: make test fails



Hello Walter,

>
> What parameters did u pass to the "./configure" ?

As per your suggestion, i tried openldap-2.0.27 and bdb-4.0.14

CC=gcc ./configure

configure itself gives error as
checking for pthread.h... yes
checking POSIX thread version... final
checking for LinuxThreads pthread.h... no
checking for GNU Pth pthread.h... no
checking for sched.h... yes
checking for pthread_create in default libraries... no
checking for pthread link with -kthread... no
checking for pthread link with -pthread... no
checking for pthread link with -pthreads... no
checking for pthread link with -mthreads... no
checking for pthread link with -thread... no
checking for pthread link with -lpthread -lmach -lexc -lc_r... no
checking for pthread link with -lpthread -lmach -lexc... no
checking for pthread link with -lpthread -Wl,-woff,85... no
checking for pthread link with -lpthread... no
checking for pthread link with -lc_r... no
checking for pthread link with -threads... no
checking for pthread link with -lpthreads -lmach -lexc -lc_r... no
checking for pthread link with -lpthreads -lmach -lexc... no
checking for pthread link with -lpthreads -lexc... no
checking for pthread link with -lpthreads... no
configure: error: could not locate usable POSIX Threads

But on same machine, openldap-2.0.7 is configured well without any posix
thread problem.

Could you plz tell me what may be the problem and how to avoid this.

Thanks for your time

Regards,
-sadha

> You should check the file config.log before doing "make depend" to be sure
> that your configuration is accepted ..
>
> Why don't u try to compile a more recent version of Berkeley DB (not the
> latest if u don't use OpenLDAP 2.1.x) ?
>
> walter
>
>
>
> -------Messaggio originale-------
>
> Da: Rahul
> Data: mercoledì 05 marzo 2003 06.47.30
> A: Walter Vendraminetto; OpenLDAP List
> Oggetto: Re: make test fails
>
> Hello Walter,
>
> Thanks for your help. But i built db as a static one, so "ldd slapd" - not
> listed the db library
> Could you plz help me to solve this.
> I chked the pernmissions too.
> But i'm not able to solve.
>
> I'm using
> Openldap-2.0.15(since openldap-2.0.27 has configure problem(could not able
> to locate posix threads)
> Bdb- 2.7.7.
> OS HP-UX(itanium processor)
>
> Pz help me asap.
>
> Regards,
> -sadha
> ----- Original Message -----
> From: Walter Vendraminetto <lists@zonatex.net>
> To: OpenLDAP List <openldap-software@OpenLDAP.org>
> Sent: Tuesday, March 04, 2003 7:51 PM
> Subject: Re: make test fails
>
>
> >
> > Check that slapd is able to find the Berkeley libs (if i'm not wrong
> > OpenLDAP 2.0.27 is recommended version 4.0.x).
> >
> > Do "ldd slapd"
> >
> > If the berkeley libs are not found just put a link in /usr/lib to
> > /usr/Berkeleyx.x.x/lib/libx.x.so , just like i did ...
> >
> > Hope this helps
> > Bye
> > Walter
> >
> >
> > -------Messaggio originale-------
> >
> > Da: Rahul
> > Data: martedl 04 marzo 2003 14.03.23
> > A: openldap-software@OpenLDAP.org
> > Oggetto: make test fails
> >
> > Hello all,
> >
> > As there is a pthread problem in openldap-2.0.27, i compiled
> openldap-2.0.15
> > with berkely db-2.7.7
> > all configure, make steps went fine.
> > But make test fails, so i installed it and while starting slapd, not
able
> to
> > start
> > i.e
> > ldapadd -f <pathto>/<ldif filename> -xv-D"cnÚnager,dc?main,dc/m" -w
> > secret -d 8
> > gives---------->
> > ldap_initialize( <DEFAULT> )
> > ldap_bind: Can't contact LDAP server
> >
> > what may be the problem? i',m not able to trceout.
> > plz help me asap.
> >
> > Regards,
> > -sadha
> >
>
>
>