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

Re: OpenLDAP for Solaris 2.6-2.7 (ITS#429)

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?


C. Miguel Marques, York University, Computing & Communications Services
e-mail: miguel@yorku.ca, voice: (416)736-2100x22684, fax: (416)736-5830