Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to resolve configure guessing build type failure?

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!!

like image 701
sean Avatar asked Jan 26 '11 22:01

sean


2 Answers

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.)

like image 142
Manoj Avatar answered Sep 20 '22 09:09

Manoj


configure error: cannot guess build type you must specify one

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 
like image 36
Stephen Blum Avatar answered Sep 17 '22 09:09

Stephen Blum