[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: (ITS#4435) Error installing OpenLDAP during make
--On Saturday, March 25, 2006 2:25 PM +0000 ando@sys-net.it wrote:
> 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).
Hm, I've built OpenLDAP several times with Sun's compiler without problem.
I was thinking the problem here was more likely due to ITS#4415, since we
didn't have any errors building OpenLDAP 2.3 from people before this.
--Quanah
--
Quanah Gibson-Mount
Principal Software Developer
ITS/Shared Application Services
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html