windows - Windows 上的 Emacs:如何设置 Autoconf / GNU 构建系统
问题描述
我希望为我的所有开发项目使用 Autoconf / GNU 构建系统。
我在 Windows 上使用 emacs,我想保持在“窗口”模式。
我无法让 emacs 找到 autoconf。更具体地说,我想从 EDE/CEDET 做到这一点:
-*- mode: compilation; default-directory: "~/workspace/probaEDEgeneric/" -*-
Compilation started at Mon Oct 21 12:22:10
autoreconf -f -i;./configure;
'autoreconf' is not recognized as an internal or external command,
operable program or batch file.
Compilation exited abnormally with code 1 at Mon Oct 21 12:22:10
如果我这样做M-x compile
,bash autoreconf -f -i;./configure;
我得到
-*- mode: compilation; default-directory: "~/workspace/probaEDEgeneric/" -*-
Compilation started at Mon Oct 21 11:52:22
bash autoreconf -f -i;./configure;
ac-wrapper: Unable to locate any usuable version of autoconf.
I tried these versions: 2.99:2.5 2.98:2.5 2.97:2.5 2.96:2.5 2.95:2.5 2.94:2.5 2.93:2.5 2.92:2.5 2.91:2.5 2.90:2.5 2.89:2.5 2.88:2.5 2.87:2.5 2.86:2.5 2.85:2.5 2.84:2.5 2.83:2.5 2.82:2.5 2.81:2.5 2.80:2.5 2.79:2.5 2.78:2.5 2.77:2.5 2.76:2.5 2.75:2.5 2.74:2.5 2.73:2.5 2.72:2.5 2.71:2.5 2.70:2.5 2.69:2.5 2.68:2.5 2.67:2.5 2.66:2.5 2.65:2.5 2.64:2.5 2.63:2.5 2.62:2.5 2.61:2.5 2.60:2.5 2.59:2.5 2.5x:2.5 2.13:2.1
With a base name of 'autoreconf'.
Compilation exited abnormally with code 1 at Mon Oct 21 11:52:23
我安装了 MinGW 并在路径上
C:\Users\dkr85djo>bash
bash-3.1$ autconf --version
bash: autconf: command not found
bash-3.1$ autoconf --version
autoconf (GNU Autoconf) 2.68
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+/Autoconf: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>, <http://gnu.org/licenses/exceptions.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by David J. MacKenzie and Akim Demaille.
bash-3.1$ autoreconf --version
autoreconf (GNU Autoconf) 2.68
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+/Autoconf: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>, <http://gnu.org/licenses/exceptions.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by David J. MacKenzie and Akim Demaille.
bash-3.1$ exit
解决方案
推荐阅读
- javascript - 事件 { "isTrusted": false } 使用 Expo 和 XMLHttpRequest
- deployment - 在暂存(完整)沙箱中测试发布工件
- php - 在本地 Mac OS 上使用 Supervisord 运行的 Laravel 应用程序的 Guzzle HTTP / Curl 错误 7
- powershell - 为什么管道不适用于转换后的 json 对象?
- sql - TDE - 删除列名中的架构名称和视图名称
- jupyter-notebook - 如何在数据框中添加预测值?
- math - 各种标准如何影响结果?
- python - 六个bind设置好了,bazel build protobuf_python no such package '@six//
- flutter - 如何在具有默认安全区域的 iphone 中居中对齐底部导航栏项目?
- css - scss 中的 calc 函数是返回正确的宽度