[Date Prev][Date Next]
Rif: Re: Re: Re: Re: make test fails
instead of editing all makefiles u could have launched
export CCexport LTHREAD_LIBS./configure ...
or something similar ...
Anyway i'm wondering why it needs the pthread libs when u configure it
without threads ...
If it works you have to evaluate if the configuration is fine for your needs
Data: mercoledì 05 marzo 2003 14.51.07
A: Walter Vendraminetto
Oggetto: Re: Re: Re: Re: make test fails
Thanks for all mails.
just a try...
see same OL(2.0.27) bdb(4.0.14)
Just i tried to configure as
Afetr configuration, before gmake depend
I edited all Makefile for
for ALL Makefiles
Now all went file
Shall i edit like above.....
Just i need confirmation. Am i right over there
Thanks a lot.
In the source directory go into dir 'servers' and find the slapd executable
. just run './slapd -d3' and have a look to its complaints.
Even try to use higher debug level if necessary... (check slapd manual for
details of debug levels).
As for the PTHREADS, in the mailing list of openldap I found (as u should
already have done !) the following link:
Besides u should check HP docs to understand how to port PTHREADS to your
I'm not a HP-UX expert so ...
P.S. My mail client spits strange characters on some points ... try to guess
when words are not clear. :-)
Data: mercoledì 05 marzo 2003 13.42.38
A: Walter Vendraminetto; OpenLDAP List
Oggetto: Re: Re: Re: make test fails
Thanks a lot for detailed mail.
I tried withOUT thread(--without-threads)
All went fine with same 2.0.27 OL and bdb-4.0.14
To pass test i need to export
Even make test passes, but when tried with threads, configure itself fails
I tried with OL 2.0.7, make test fails
so i gave
Now make test -----Hangs
How to overcome this...
anywway i want to compile ldap with threads.
plz help me.
once again thanks
From: Walter Vendraminetto <email@example.com>
To: <firstname.lastname@example.org>; OpenLDAP List <email@example.com>;
Sent: Wednesday, March 05, 2003 5:52 PM
Subject: Re: Re: Re: make test fails
In order to compile OL 2.0.27 with Berkeley BDB4.0.14 you should try the
following configure (do a bash file for convenience):
export CPPFLAGSexport LDFLAGSexport LD_LIBRARY_PATHexport CC./configure --with-ldbm-api¾rkeley --enable-bdb --without-tls
ln -s /usr/local/Berkeley4.0/lib/lib4.0.so /usr/lib/lib4.0.so # Check the
-1- For HP-UX u should check if 'export' works; otherwise try 'env' or
-2- If u enable tls or else make sure that libs can be found. For testing
purpose disable them as above
-3- If u do ./configure --help u get all other options
-4- It works for Linux but Linux is Linux :-)
The PTHREAD problem is maybe due to the platform configuration: for testing
purposes try to add the '--without-threads' in the ./configure and check if
it works. Anyway threads are useful ...
If unsuccess fall back to a previous version or (better) try to understand
how to enable your machine to use the PTHREADS
Data: mercoledì 05 marzo 2003 12.14.34
A: Walter Vendraminetto; OpenLDAP List
Oggetto: Re: Re: make test fails
> What parameters did u pass to the "./configure" ?
As per your suggestion, i tried openldap-2.0.27 and bdb-4.0.14
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
Could you plz tell me what may be the problem and how to avoid this.
Thanks for your time
> 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) ?
> -------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.
> ----- Original Message -----
> From: Walter Vendraminetto <firstname.lastname@example.org>
> 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
> > 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
> > 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