我正在尝试在 Windows 10 64 位上安装 Haskell 包。我为 x64 架构安装了 cygwin。后来我automake-1.15
使用 cygwin 的安装文件进行安装。我下载了最新的config.guess
文件config.sub
并将它们放在automake-1.15
目录中。但是,我仍然无法成功配置 Haskell 包。
Configuring plugins-1.5.5.0...
configure: WARNING: unrecognized options: --with-compiler, --with-gcc
checking build system type... ./config.guess: unable to guess system type
This script, last modified 2002-07-23, has failed to recognize
the operating system you are using. It is advised that you
download the most up to date version of the config scripts from
ftp://ftp.gnu.org/pub/gnu/config/
If the version you run (./config.guess) is already up to date, please
send the following data and any information you think might be
pertinent to <[email protected]> in order to provide the needed
information to handle your system.
config.guess timestamp = 2002-07-23
在替换config.guess
和config.sub
文件之前,的时间戳config.guess
大约在 2014 年,但配置消息也显示2002-07-23
。我遗漏了什么?
答案1
安装 Automake 和 Autoconf(最好是所有版本),并重新安装 automake-1.15 以防万一。
在运行configure
run之前autoreconf -ifv
,这将在你的源代码树上安装最新的 config.guess