Tried to build it on CentOS 5 32bits (LTB packaging spec file) and got
this error:
gcc -DOPENLDAP_FD_SETSIZE=4096 -O2 -g -I../../../include
-I../../../include -I.. -I./.. -I./../../../libraries/liblmdb
-I/usr/local/berkeleydb/include -I/usr/kerberos/include -c
./../../../libraries/liblmdb/mdb.c -o mdb.o
./../../../libraries/liblmdb/mdb.c: In function 'mdb_env_setup_locks':
./../../../libraries/liblmdb/mdb.c:4579: error: 'PTHREAD_MUTEX_ROBUST'
undeclared (first use in this function)
./../../../libraries/liblmdb/mdb.c:4579: error: (Each undeclared
identifier is reported only once
./../../../libraries/liblmdb/mdb.c:4579: error: for each function it
appears in.)
make[3]: *** [mdb.lo] Error 1
make[3]: Leaving directory
`/home/clement/build/BUILD/openldap-44982bf/servers/slapd/back-mdb'
make[2]: *** [.backend] Error 1
make[2]: Leaving directory
`/home/clement/build/BUILD/openldap-44982bf/servers/slapd'
make[1]: *** [all-common] Error 1
make[1]: Leaving directory
`/home/clement/build/BUILD/openldap-44982bf/servers'
make: *** [all-common] Error 1
erreur: Mauvais status de sortie pour /var/tmp/rpm-tmp.20759 (%build)
Could it be a problem on my build machine?
--
Clément OUDOT
Consultant en logiciels libres, Expert infrastructure et sécurité
Savoir-faire Linux