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

Make fails for v2.1.22 on Solaris 8



I hope this isn't just something stupid that I overlooked doing, but I can't
seem to get OpenLDAP to build on Solaris 8.  I've installed Berkeley DB 4.1
and GNU Pth 2.0.0, but the make fails as shown below.  I did some google
searching, openldap-software archive searching and general trying to
understand what went wrong here, but I'm at a loss.  Trying to be a good
poster, I've posted the long version (everything from ./configure on) to my
website instead of to the list:
http://www.slackershaven.org/openldap-fails.txt

Any suggestions that anyone can provided will be greatly appreciated.

### SNIP ###
  Entering subdirectory libldap_r
make[2]: Entering directory
`/share/homes/jrichards/openldap-2.1.22/libraries/libldap_r'
rm -f version.c
../../build/mkversion -v "2.1.22" libldap_r.la > version.c
/bin/sh /share/homes/jrichards/openldap-2.1.22/libtool  --mode=compile gcc
-g -O2 -I../../include        -I../../include  -DLDAP_R_COMPILE
-I./../libldap -I/usr/local/BerkeleyDB.4.1/include -I/usr/local/include
-DLDAP_LIBRARY -c threads.c
mkdir .libs
gcc -g -O2 -I../../include -I../../include -DLDAP_R_COMPILE -I./../libldap
-I/usr/local/BerkeleyDB.4.1/include -I/usr/local/include -DLDAP_LIBRARY -c
threads.c  -fPIC -DPIC -o .libs/threads.lo
In file included from ../../include/ldap_int_thread.h:24,
                 from ../../include/ldap_pvt_thread.h:18,
                 from threads.c:21:
/usr/local/include/pthread.h:285: conflicting types for `pthread_t'
/usr/include/sys/types.h:349: previous declaration of `pthread_t'
/usr/local/include/pthread.h:286: conflicting types for `pthread_attr_t'
/usr/include/sys/types.h:399: previous declaration of `pthread_attr_t'
/usr/local/include/pthread.h:287: conflicting types for `pthread_key_t'
/usr/include/sys/types.h:350: previous declaration of `pthread_key_t'
/usr/local/include/pthread.h:288: conflicting types for `pthread_once_t'
/usr/include/sys/types.h:420: previous declaration of `pthread_once_t'
/usr/local/include/pthread.h:289: conflicting types for
`pthread_mutexattr_t'
/usr/include/sys/types.h:406: previous declaration of `pthread_mutexattr_t'
/usr/local/include/pthread.h:290: conflicting types for `pthread_mutex_t'
/usr/include/sys/types.h:371: previous declaration of `pthread_mutex_t'
/usr/local/include/pthread.h:291: conflicting types for `pthread_condattr_t'
/usr/include/sys/types.h:413: previous declaration of `pthread_condattr_t'
/usr/local/include/pthread.h:292: conflicting types for `pthread_cond_t'
/usr/include/sys/types.h:380: previous declaration of `pthread_cond_t'
/usr/local/include/pthread.h:293: conflicting types for
`pthread_rwlockattr_t'
/usr/include/sys/types.h:428: previous declaration of `pthread_rwlockattr_t'
/usr/local/include/pthread.h:294: conflicting types for `pthread_rwlock_t'
/usr/include/sys/types.h:392: previous declaration of `pthread_rwlock_t'
make[2]: *** [threads.lo] Error 1
make[2]: Leaving directory
`/share/homes/jrichards/openldap-2.1.22/libraries/libldap_r'
make[1]: *** [all-common] Error 1
make[1]: Leaving directory
`/share/homes/jrichards/openldap-2.1.22/libraries'
make: *** [all-common] Error 1
### SNIP ###

Thanks,
Jason