本文介绍了如何解决配置猜测构建类型失败?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我配置(在cygwin环境下)时,发生错误,消息如下:
When I configure (under cygwin environment), an error occurred, Message are following:
$ ./configure ................. checking build system type... /bin/sh: ./config.guess: No such file or directory configure: error: cannot guess build type; you must specify one
如何解决?
感谢!!
How to resolve it?Thanks!!
推荐答案
搜索 / usr / share / automake *猜猜
检查最新版本的automake
check the latest version of automake
$ which automake $ automake --version
找到相应的automake文件夹 /usr/share/automake.1.11.1/config.guess
find the appropriate automake folder in /usr/share/automake.1.11.1/config.guess
替换 config 。 /usr/share/automake.1.11.1/config.guess
replace config.guess from your build tree with /usr/share/automake.1.11.1/config.guess
( config.sub 通常需要同样的。)
这篇关于如何解决配置猜测构建类型失败?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!