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!!
The error message may also include instructions on how to deal with this. In my case I saw
In a browser I was able to access those files, save them to to my system, and then overwrite the respective ./config/config.guess and ./config/config.sub files in the package being built.
Thanks I got it working.
config.guess
andconfig.sub
routines are updated and kept ongithub
; You'll get the web pointers when you run the script,In my
Mingw
system,config.sub
or.guess
were not in theshare/../automake-1.11/
tree, I needed to download the updated scripts which worked (when they replaced the old ones).search for
/usr/share/automake*/config.guess
check the latest version of automake
find the appropriate automake folder in
/usr/share/automake.1.11.1/config.guess
replace
config.guess
from your build tree with/usr/share/automake.1.11.1/config.guess
(The same may/is usually needed for
config.sub
.)