當我配置(cygwin環境下),發生了錯誤,消息被如下:如何解決配置猜測構建類型失敗?
$ ./configure
.................
checking build system type... /bin/sh: ./config.guess: No such file or directory
configure: error: cannot guess build type; you must specify one
如何解決呢? 謝謝!
當我配置(cygwin環境下),發生了錯誤,消息被如下:如何解決配置猜測構建類型失敗?
$ ./configure
.................
checking build system type... /bin/sh: ./config.guess: No such file or directory
configure: error: cannot guess build type; you must specify one
如何解決呢? 謝謝!
搜索/usr/share/automake*/config.guess
檢查的automake
$ which automake
$ automake --version
的最新版本找到/usr/share/automake.1.11.1/config.guess
相應的automake文件夾從您的構建樹/usr/share/automake.1.11.1/config.guess
更換config.guess
(同可能/通常需要)
config.guess
和config.sub
例程被更新並保留在github
; 當你運行該腳本你會得到網頁的指針,
./config.guess
在我Mingw
系統,config.sub
或.guess
都不在share/../automake-1.11/
樹,我需要下載更新的腳本,這些腳本的工作(當他們更換了舊的)。
該錯誤消息還可能包含有關如何處理此問題的說明。以我爲例,我看到
This script, last modified 2008-01-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
http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
and
http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
在瀏覽器中我能夠訪問這些文件,並將它們保存到我的系統,然後覆蓋各./config/config.guess和./config/config.sub正在構建的包中的文件。
謝謝我得到它的工作。
文件包開發人員的錯誤。 – 2015-05-06 13:11:52