【问题标题】:How to build make 4.0 from make 3.82?如何从 make 3.82 构建 make 4.0?
【发布时间】:2014-12-03 23:27:27
【问题描述】:

我正在尝试升级我的 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.1 于 2014-10-05 发布,因此您可能应该升级到该版本。查看实际使用说明——它们可能表明构建问题是新版本的原因之一。

标签: makefile guile


【解决方案1】:

您不需要 Guile 来构建 GNU Make 4.0。你可以不用它来构建它,只是不要将-with-guile 传递给configure,你应该没问题。

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

【讨论】:

  • 我正在尝试这样做。 --without-guile。并构建 make 4.1。并得到Makefile:1280: *** missing endif'。停止。`
猜你喜欢
  • 1970-01-01
  • 2016-01-15
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2015-09-06
  • 2019-03-08
  • 1970-01-01
相关资源
最近更新 更多