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

Re: Configuration Problem w/ v1.2.4 on Solaris 2.6



Thanks for the input!

You seem to be a knowledgable about the topic ... perhaps I can ask
you another question on the same topic.  What are the implications
of compiling without threads?  What is gained by the threaded
implementation of this server?  Does it fall back to some kind of
multi-process server like apache?

I guess that was really 3 questions clustered around the same topic... 
I'll go ahead and send this to the mailing list, also.

thanks,
kevin
-- 
Kevin Hendrix
---
"Glory is fleeting, but obscurity is forever." 
  - Napoleon Bonaparte

Santithorn Bunchua wrote:
> 
> Hi,
> 
> Check the FAQ page on http://www.openldap.org. Few alternatives are
> avilable. e.g.
> 1. using --with-threads=lwp in the Configure script
> 2. specify some environment variable to resolve pthread_create
>    incompatibilty (this is a bit long command line.. check the FAQ).
> 3. use no thread at all.. --without-threads
> 
> =keh=
> 
> On Tue, 27 Jul 1999, James K Hendrix wrote:
> 
> > Hi.
> >
> > I am having problems configuring openldap v1.2.4 on Solaris 2.6 and was
> > wondering if anybody has had similar problems.  The configure script
> > bombs when verifying some pthreads functions.  Here is a tail of the
> > 'config.log' file:
> >
> > configure:4806: checking for thr_setconcurrency
> > configure:4834: gcc -o conftest -g -O2   conftest.c  -lresolv -lgen
> > -lnsl -lsock
> > et  1>&5
> > configure:4806: checking for thr_getconcurrency
> > configure:4834: gcc -o conftest -g -O2   conftest.c  -lresolv -lgen
> > -lnsl -lsock
> > et  1>&5
> > configure:4860: checking if pthread_create() works
> > configure:4892: gcc -o conftest -g -O2   conftest.c  -lresolv -lgen
> > -lnsl -lsock
> > et  1>&5
> > configure: failed program was:
> > #line 4869 "configure"
> > #include "confdefs.h"
> >
> > #include <pthread.h>
> > #ifndef NULL
> > #define NULL (void*)0
> > #endif
> >
> > static void *task(p)
> >         void *p;
> > {
> >         return (void *) (p == NULL);
> > }
> >
> > int main(argc, argv)
> >         int argc;
> >         char **argv;
> > {
> >         pthread_t t;
> >         exit(pthread_create(&t, NULL, task, NULL));
> > }
> >
> > Any ideas?  Any help would be appreciated!
> >
> > thanks,
> > kevin
> > --
> > Kevin Hendrix
> > ---
> > "Glory is fleeting, but obscurity is forever."
> >   - Napoleon Bonaparte
> >