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

Can not compile OpenLDAP 2.2.26 : ar problem



Hi,

I try to compile OpenLDAP 2.2.6 on a RHES3 (update 4), and I've got this error :

   cc -g -O2 -I../../../include -I../../../include -I.. -I./..
   -march=i686 -c version.c  -fPIC -DPIC -o version.lo
   ar ruv libback_bdb.a `echo init.lo tools.lo config.lo add.lo bind.lo
   compare.lo delete.lo modify.lo modrdn.lo search.lo extended.lo
   referral.lo operational.lo attr.lo index.lo key.lo dbcache.lo
   filterindex.lo dn2entry.lo dn2id.lo error.lo id2entry.lo idl.lo
   nextid.lo cache.lo trans.lo ctxcsn.lo | sed 's/\.lo/.o/g'` version.o
   ar: init.o: No such file or directory
   make[3]: *** [libback_bdb.a] Error 1
   make[3]: Leaving directory
   `/usr/src/redhat/BUILD/openldap-clients-servers-2.2.26/servers/slapd/back-bdb'
   make[2]: *** [.backend] Error 1
   make[2]: Leaving directory
   `/usr/src/redhat/BUILD/openldap-clients-servers-2.2.26/servers/slapd'
   make[1]: *** [all-common] Error 1
   make[1]: Leaving directory
   `/usr/src/redhat/BUILD/openldap-clients-servers-2.2.26/servers'
   make: *** [all-common] Error 1
   error: Bad exit status from /var/tmp/rpm-tmp.59391 (%build)

   RPM build errors:

       Bad exit status from /var/tmp/rpm-tmp.59391 (%build)
   make: *** [rpm] Error 1

I use the libtool version 1.4.3

   dtl@devums38:~>rpm -qa | grep libtool
   libtool-1.4.3-6
   libtool-libs-1.4.3-6

and there are files generated (I don't have *.o files used by the command ar !!!)

dtl@devums38:~>ls
/usr/src/redhat/BUILD/openldap-clients-servers-2.2.26/servers/slapd/back-bdb/
add.c cache.lo dbcache.lo error.lo idl.c key.lo nextid.lo tools.c
add.lo compare.c delete.c extended.c idl.h Makefile operational.c tools.lo
attr.c compare.lo delete.lo extended.lo idl.lo Makefile.in operational.lo trans.c
attr.lo config.c dn2entry.c external.h index.c modify.c proto-bdb.h trans.lo
back-bdb.h config.lo dn2entry.lo filterindex.c index.lo modify.lo referral.c version.c
bind.c ctxcsn.c dn2id.c filterindex.lo init.c modrdn.c referral.lo version.lo
bind.lo ctxcsn.lo dn2id.lo id2entry.c init.lo modrdn.lo search.c cache.c dbcache.c error.c id2entry.lo key.c nextid.c search.lo dtl@devums38:~>



Someone could help me please ?


David