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

Re: (ITS#4435) Error installing OpenLDAP during make



I've solved it with this patch:

diff -u -r1.1.1.4 Makefile.in
--- libraries/liblunicode/Makefile.in   3 Mar 2006 10:09:53 -0000
1.1.1.4
+++ libraries/liblunicode/Makefile.in   25 Mar 2006 14:07:20 -0000
@@ -15,7 +15,7 @@

 LIBRARY = liblunicode.a

-XXDIR = $(srcdir)/*/
+XXDIR = $(srcdir)/ucdata/
 XXHEADERS = ucdata.h ure.h uctable.h

 XXSRCS = ucdata.c ucgendat.c ure.c urestubs.c
@@ -41,7 +41,8 @@
 .links :
        @for i in $(XXSRCS) $(XXHEADERS); do \
                $(RM) $$i ; \
-               $(LN_S) $(XXDIR)$$i . ; \
+               ii=`find . -name $$i` ; \
+               $(LN_S) $$ii . ; \
        done
        touch .links

Apparently there's something in Sun's make that doesn't like wildcards
(or, conversely, GNU's make is too liberal).

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
------------------------------------------