问题
UNAME_MACHINE = aarch64
UNAME_RELEASE = 4.19.36-vhulk1905.1.0.h276.eulerosv2r8.aarch64
UNAME_SYSTEM = Linux
UNAME_VERSION = #1 SMP Mon Apr 1 00:00:00 UTC 2019
configure: error: cannot guess build type; you must specify one
解决
--build=arm-linux
获取最新的config.guess文件,然后猜测build
$ wget -O /tmp/config.sub "git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD"
$ wget -O /tmp/config.guess "git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD"
也有人说可以这样的,从autotools-dev中获取
You can also grab config.sub and config.guess from
the Ubuntu autotools-dev package:
sudo apt-get install autotools-devcp /usr/share/misc/config.{sub,guess} .