Issue 429 - OpenLDAP for Solaris 2.6-2.7
Summary: OpenLDAP for Solaris 2.6-2.7
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-01-25 01:40 UTC by Mr. Chow Wing Siu
Modified: 2000-02-11 15:19 UTC (History)
0 users

See Also:


Attachments
pthread.h (9.21 KB, text/plain)
2000-01-25 01:40 UTC, Mr. Chow Wing Siu
Details

Note You need to log in before you can comment on or make changes to this issue.
Description Mr. Chow Wing Siu 2000-01-25 01:40:11 UTC
Hi,

When I issue "configure", it gives the following error:
checking for pthread_kill... yes
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

The attached is the pthread.h.  Please fix.  Thanks.

--
Johnson Chow
Comment 1 Kurt Zeilenga 2000-01-25 02:30:32 UTC
I believe this is covered in the FAQ...
  http://www.openldap.org/faq/data/cache/11.html

That is, ./configure --without-threads

At 01:40 AM 1/25/00 GMT, wschow@Comp.HKBU.Edu.HK wrote:
>When I issue "configure", it gives the following error:
>checking for pthread_kill... yes
>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
>
>The attached is the pthread.h.  Please fix.  Thanks.

See archives as to why configure behaves the way it does...
Comment 2 Miguel Marques 2000-01-25 19:16:37 UTC
On Tue, 25 Jan 2000 02:30:46 GMT, Kurt@OpenLDAP.org wrote:
> I believe this is covered in the FAQ...
>   http://www.openldap.org/faq/data/cache/11.html
> 
> That is, ./configure --without-threads
> 
> At 01:40 AM 1/25/00 GMT, wschow@Comp.HKBU.Edu.HK wrote:
> >When I issue "configure", it gives the following error:
> >checking for pthread_kill... yes
> >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
> >
> >The attached is the pthread.h.  Please fix.  Thanks.
> 
> See archives as to why configure behaves the way it does...
> 
The simplest way to get things working under SunOS 5.7 for me has been:
% setenv CC "cc -lpthread"
% ./configure --with-threads

Is this a bad solution?

					     Miguel

C. Miguel Marques, York University, Computing & Communications Services
e-mail: miguel@yorku.ca, voice: (416)736-2100x22684, fax: (416)736-5830
Comment 3 Kurt Zeilenga 2000-01-26 01:03:22 UTC
At 07:16 PM 1/25/00 GMT, miguel@yorku.ca wrote:
>The simplest way to get things working under SunOS 5.7 for me has been:
>% setenv CC "cc -lpthread"
>% ./configure --with-threads
>
>Is this a bad solution?

If -lpthreads is preemptive, which I believe the Solaris
implementation is, then, Yes, it is a bad solution.

See: http://www.openldap.org/faq/index.cgi?file=228
Comment 4 Kurt Zeilenga 2000-02-11 15:19:56 UTC
changed state Open to Closed