configure: error: cannot guess build type; you mus
2019-11-25 16:45
6475 查看
问题
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} .
相关文章推荐
- configure: error: cannot guess build type; you must specify one解决方法
- checking build system type... configure: error: cannot guess build type; you must specify one
- configure: error: cannot guess build type; you must specify one解决办法
- configure:cannot guess build type; you must specify one
- configure:cannot guess build type; you must specify one
- checking host system type... configure: error: can not guess host type; you must specify one
- 使用npm run build 打包时报错: TypeError: Cannot read property 'compilation' of undefined
- Vue使用Typescript开发编译时提示“ERROR in ./src/main.ts Module build failed: TypeError: Cannot read property '
- 类似Build Error: #513: a value of type "int" cannot be assigned to an entity of type "char *"
- memcached编译安装报错 ,提示checking build system type... Invalid configuration `x86_64-unknown-linux-': machine `x86_64-unknown-linux' not recognized configure: error: /bin/sh ./config.sub x86_64-unknown-linu
- 类是ERROR: cannot launch node of type [gmapping/slam_gmapping]: gmapping错误
- Uncaught TypeError: Cannot set property 'onclick' of null
- 一劳永逸解决:TypeError: cannot use a string pattern on a bytes-like object
- TypeError: POST data should be bytes, an iterable of bytes, or a file object. It cannot be of type s
- 解决arraycollection赋值修改过程中,出现TypeError: Error #1009: Cannot access a property or method of a null obje
- Cannot run program "XXXXX/android-sdks/build-tools/aapt.exe": error=2, 没有那个文件或目录
- checking for SSL headers... configure: error: Cannot find ssl headers
- ERROR:Cannot launch node of type [tensorflow_mnist/ros_tebsorflow_mnist.py]
- Eclipse “cannot be resolved to a type” error
- Eclipse “cannot be resolved to a type” error