[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
All dynamic modules build fails (ITS#1452)
Full_Name: Aleksandr Konstantinov
Version: 2.0.18 (20011102)
OS: Linux (Redhat 7.1)
URL:
Submission from: (NULL) (129.240.86.18)
When configured with all the backends dynamic, for example:
./configure --enable-slapd --enable-modules --enable-dynamic --enable-ldbm
--with-ldbm-module=dynamic
build fails in openldap-2.0.18/servers/slapd :
ar: ../back-*/*.a: No such file or directory
mv: cannot stat `*.o': No such file or directory
ar: *.o: No such file or directory
added backend library back-*/*.a
mv: cannot stat `tmp/libbackends.a': No such file or directory
One of the possible solutions could be:
diff -ur openldap-2.0.18/servers/slapd/Makefile.in
openldap-2.0.18.new/servers/slapd/Makefile.in
--- openldap-2.0.18/servers/slapd/Makefile.in Sun Jul 22 04:28:28 2001
+++ openldap-2.0.18.new/servers/slapd/Makefile.in Mon Nov 19 17:54:09
2001
@@ -172,7 +172,8 @@
libbackends.a: .backend
@$(RM) -r tmp
@$(MKDIR) tmp
- @-for i in back-*/*.a; do \
+ @if [ ! 'back-*/*.a' = "back-*/*.a" ] ; then \
+ for i in back-*/*.a; do \
( \
cd tmp; \
$(AR) x ../$$i; \
@@ -184,7 +185,11 @@
$(RM) *.o __.SYMDEF ________64ELEL_ ; \
echo "added backend library $$i"; \
); \
- done
+ done; \
+ else \
+ cd tmp; \
+ $(AR) rcv libbackends.a ; \
+ fi
@mv -f tmp/libbackends.a ./libbackends.a
@$(RM) -r tmp
@if test ! -z "$(RANLIB)" ; then \