configure: error: cannot guess build type; you must specify one解决方案

// 安装离线包expat_2.0.1.orig.tar.gz时,./configure出现"configure: error: cannot guess build type; you must specify one"错误
// 解决方法,增加--host --build参数:aarch64-linux/arm-linux/linux
$ tar -zxvf expat_2.0.1.orig.tar.gz
$ cd expat-2.0.1
$ ./configure --host arc_linux --build arc_linux
$ make
$ make install && echo "say ok"
//安装成功。
Logo

为开发者提供学习成长、分享交流、生态实践、资源工具等服务,帮助开发者快速成长。

更多推荐