小编use*_*014的帖子

在配置中使用特定版本的程序

我想将 bison 安装到我没有 root 权限的机器上。当我尝试使用时configure,出现以下错误:

checking for GNU M4 that supports accurate traces... configure: error: no acceptable m4 could be found in $PATH.
GNU M4 1.4.6 or later is required; 1.4.16 or newer is recommended.
GNU M4 1.4.15 uses a buggy replacement strstr on some systems.
Glibc 2.9 - 2.12 and GNU M4 1.4.11 - 1.4.15 have another strstr bug.
Run Code Online (Sandbox Code Playgroud)

我发现我的M4版本是1.4.13。我在我的主文件夹中安装了一个较新的版本 (1.4.17) 并想configure使用这个本地版本,为此我在配置脚本中找到了这个:

M4          Location of GNU M4 1.4.6 or later. Defaults to the first program …
Run Code Online (Sandbox Code Playgroud)

software-installation configure

5
推荐指数
1
解决办法
6301
查看次数

标签 统计

configure ×1

software-installation ×1