config.guess: unable to guess system type、config.sub: missing argument

简介: config.guess: unable to guess system type、config.sub: missing argument

一个简单的错误:

onfigure: error: cannot guess build type; you must specify one

一个复杂的错误:

./configure
./config.guess: unable to guess system type
This script (version 2018-02-24), has failed to recognize the
operating system you are using. If your script is old, overwrite *all*
copies of config.guess and config.sub with the latest versions from:
  https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess
and
  https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub
If ./config.guess has already been updated, send the following data and any
information you think might be pertinent to config-patches@gnu.org to
provide the necessary information to handle your system.
config.guess timestamp = 2018-02-24
uname -m = loongarch64
uname -r = 4.19.0-loongson-3-desktop
uname -s = Linux
uname -v = #3200 SMP Thu May 13 10:17:27 CST 2021
/usr/bin/uname -p = unknown
/bin/uname -X     = 
hostinfo               = 
/bin/universe          = 
/usr/bin/arch -k       = 
/bin/arch              = loongarch64
/usr/bin/oslevel       = 
/usr/convex/getsysinfo = 
UNAME_MACHINE = "loongarch64"
UNAME_RELEASE = "4.19.0-loongson-3-desktop"
UNAME_SYSTEM  = "Linux"
UNAME_VERSION = "#3200 SMP Thu May 13 10:17:27 CST 2021"
config.sub: missing argument
Try `config.sub --help' for more information.
Unknown system , edit the configure
Makefile:3: config.mak: 没有那个文件或目录
make: *** [Makefile:340:config.mak] 错误 1

解决办法,下载这两个文件,替换目录中的同名文件:


 https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess

 https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub


目录
相关文章
|
Java 数据库连接 mybatis
Consider defining a bean of type ‘com.example.democrud.democurd.usermapper.DaoMapper‘ in your config
Consider defining a bean of type ‘com.example.democrud.democurd.usermapper.DaoMapper‘ in your config
214 0
|
PyTorch 算法框架/工具
Bert模型之unable to parse config.json as a URL or as a local path错误解决方案
Bert模型之unable to parse config.json as a URL or as a local path错误解决方案
1069 0
Bert模型之unable to parse config.json as a URL or as a local path错误解决方案
config.guess: unable to guess system type、config.sub: missing argument
config.guess: unable to guess system type、config.sub: missing argument
143 0
checking build system type... ./config.guess: unable to guess system type/you must specify one
checking build system type... ./config.guess: unable to guess system type/you must specify one
170 0
|
3月前
|
算法 安全 Java
微服务(四)-config配置中心的配置加解密
微服务(四)-config配置中心的配置加解密
|
2月前
|
JavaScript 前端开发 应用服务中间件
vue前端开发中,通过vue.config.js配置和nginx配置,实现多个入口文件的实现方法
vue前端开发中,通过vue.config.js配置和nginx配置,实现多个入口文件的实现方法
209 0
|
4月前
|
移动开发 JavaScript 前端开发
UniApp H5 跨域代理配置并使用(配置manifest.json、vue.config.js)
这篇文章介绍了在UniApp H5项目中处理跨域问题的两种方法:通过修改manifest.json文件配置h5设置,或在项目根目录创建vue.config.js文件进行代理配置,并提供了具体的配置代码示例。
UniApp H5 跨域代理配置并使用(配置manifest.json、vue.config.js)
|
3月前
|
JavaScript
Vue3基础(19)___vite.config.js中配置路径别名
本文介绍了如何在Vue 3的Vite配置文件`vite.config.js`中设置路径别名,以及如何在页面中使用这些别名导入模块。
150 0
Vue3基础(19)___vite.config.js中配置路径别名
|
2月前
|
前端开发 JavaScript
vite vue3 config配置
【10月更文挑战第5天】
107 0
|
4月前
|
JSON 前端开发 JavaScript
vue.config.js配置详解
【8月更文挑战第16天】vue.config.js配置详解
173 1
vue.config.js配置详解

热门文章

最新文章