Makefile 如何从Make3.82构建Make4.0?

Makefile 如何从Make3.82构建Make4.0?,makefile,guile,Makefile,Guile,我正在尝试升级我的SH4 cpu包make的版本是3.82。 如果我想升级到“make”4.0,它需要构建“guile”。 当我建立“诡计”时。它表明 $ cd guile-2.0.11 $ ./configure --prefix=/usr --disable-static --disable-error-on-warning # OK $ make make: -n: Command not found GNUmakefile:123: *** invalid syntax in co

我正在尝试升级我的SH4 cpu包make的版本是3.82。 如果我想升级到“make”4.0,它需要构建“guile”。 当我建立“诡计”时。它表明

$ cd guile-2.0.11
$ ./configure --prefix=/usr  --disable-static  --disable-error-on-warning  # OK
$ make
make: -n: Command not found
GNUmakefile:123: *** invalid syntax in conditional.  Stop.
GNUmakefile第123行是

123 ifneq ($(word 2, $(MAKECMDGOALS)), )
124 ifneq ($(filter $(ALL_RECURSIVE_TARGETS), $(MAKECMDGOALS)), )
125 .NOTPARALLEL:
126 endif
127 endif

我想知道我是否陷入了“蛋生自鸡,鸡生自蛋”的问题。

构建GNU Make 4.0不需要诡计。您可以不使用它来构建它,只需不使用guile将
-with-guile
传递到
configure
就可以了


如果您想使用Guile构建gnumake的一个版本,您可以尝试如上所述,首先不使用Guile构建gnumake。在构建Guile时使用该版本的make,然后使用新编译的Guile库重建GNU make。

注意,GNU make 4.1于2014-10-05发布,因此您可能应该升级到该版本。查看reaLease注释-它们可能指出构建问题是新版本的原因之一。我正在尝试这样做<代码>--没有诡计。并构建make 4.1。并得到
Makefile:1280:**missing
endif'。停下来`