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

Re: (ITS#4430) OpenLDAP in AIX 5.3



On Thu, 2006-03-09 at 21:54 +0000, teozfree@libero.it wrote:
> Full_Name: matteo zorzi
> Version: 2.3.19
> OS: AIX 5.3 ML 3
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (205.223.239.6)
> 
> 
> Hi there,
> 
> Trying to install OpenLDAP on a AIX server (AIX 5.3).
> 
> Is it supported?
> 
> I installed gcc via rpm -i, run the configure command and I have problems with
> the posix threads:
> 
> ERROR:
> =============================================
> checking for _beginthread... no
> checking pthread.h usability... no
> checking pthread.h presence... yes
> configure: WARNING: pthread.h: present but cannot be compiled
> configure: WARNING: pthread.h:     check for missing prerequisite headers?
> configure: WARNING: pthread.h: see the Autoconf documentation
> configure: WARNING: pthread.h:     section "Present But Cannot Be Compiled"
> configure: WARNING: pthread.h: proceeding with the preprocessor's result
> configure: WARNING: pthread.h: in the future, the compiler will take precedence
> configure: WARNING:     ## --------------------------------------------- ##
> configure: WARNING:     ## Report this to <http://www.openldap.org/its/> ##
> configure: WARNING:     ## --------------------------------------------- ##
> checking for pthread.h... yes
> checking POSIX thread version... 7
> checking for LinuxThreads pthread.h... no
> checking for GNU Pth pthread.h... no
> checking sched.h usability... yes
> checking sched.h presence... yes
> 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
> ============================
> 
> Tried with
> env LIBS=-lposix  ./configure
> 
> but it doesn't work.

You should inspect (and provide) the relevant portion of config.log, to
allow addressing the reason pthread.h cannot be compiled.

p.




Ing. Pierangelo Masarati
Responsabile Open Solution
OpenLDAP Core Team

SysNet s.n.c.
Via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
------------------------------------------
Office:   +39.02.23998309          
Mobile:   +39.333.4963172
Email:    pierangelo.masarati@sys-net.it
------------------------------------------