[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Build failure
From: |
Nicolas Sceaux |
Subject: |
Re: Build failure |
Date: |
Fri, 27 Jan 2006 18:42:46 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (darwin) |
Erlend Aasland <address@hidden> writes:
> Replying to myself here. This problem went away when I downgraded to GNU
> Make 3.79.1.
>
> On 1/25/06, Erlend Aasland <address@hidden> wrote:
>>
>> Hi
>>
>> The last couple of days I've been unable to build from CVS (on MacOSX (
>> 10.4.3)). The build stops here:
>>
>> /Users/erlend/src/lilypond-eaa/stepmake/stepmake/executable-rules.make:6:
>> *** missing separator. Stop.
>> make: *** [all] Error 2
>>
>> Perhaps this can be helpful:
>> $ make --version
>> GNU Make 3.80
GNU make 3.80 seems to be more strict about newlines that have to be
escaped. The problem is solved with the following patch:
Index: executable-rules.make
===================================================================
RCS file: /cvsroot/lilypond/lilypond/stepmake/stepmake/executable-rules.make,v
retrieving revision 1.6
diff -u -r1.6 executable-rules.make
--- executable-rules.make 23 Jan 2006 21:06:28 -0000 1.6
+++ executable-rules.make 27 Jan 2006 17:40:57 -0000
@@ -1,7 +1,7 @@
-define MODULE_LIB_template
-$(1)/$(outdir)/library.a :
- $(MAKE) -C $(1)
+define MODULE_LIB_template \
+$(1)/$(outdir)/library.a : \
+ $(MAKE) -C $(1)
endef
$(foreach a, $(MODULE_LIBS), $(eval $(call MODULE_LIB_template,$(a))))