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!!
search for /usr/share/automake*/config.guess
check the latest version of automake
$ which automake $ automake --version
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
.)
This was solved for me by specifying the --build=
parameter during the ./configure
step.
For arm64
./configure --build=aarch64-unknown-linux-gnu
For x86
./configure --build=x86_64-unknown-linux-gnu
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With