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

目录
相关文章
|
9月前
|
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
101 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
99 0
config.guess: unable to guess system type、config.sub: missing argument
config.guess: unable to guess system type、config.sub: missing argument
345 0
|
1月前
|
Java 数据库连接 开发工具
web后端-SpringCloud-Config分布配置
web后端-SpringCloud-Config分布配置
|
2月前
|
API
在vite.config.js 配置代理
在vite.config.js 配置代理
64 2
|
4月前
|
API
vite.config.js 的一些常用配置
vite.config.js 的一些常用配置
105 1
|
3天前
|
JavaScript
vue.config.ts配置环境变量
vue.config.ts配置环境变量
10 0
|
29天前
|
移动开发 监控 小程序
mPaaS常见问题之uniapp ios端云打包的配置config文件如何解决
mPaaS(移动平台即服务,Mobile Platform as a Service)是阿里巴巴集团提供的一套移动开发解决方案,它包含了一系列移动开发、测试、监控和运营的工具和服务。以下是mPaaS常见问题的汇总,旨在帮助开发者和企业用户解决在使用mPaaS产品过程中遇到的各种挑战
22 0
|
1月前
|
消息中间件 SpringCloudAlibaba Java
【Springcloud Alibaba微服务分布式架构 | Spring Cloud】之学习笔记(八)Config服务配置+bus消息总线+stream消息驱动+Sleuth链路追踪
【Springcloud Alibaba微服务分布式架构 | Spring Cloud】之学习笔记(八)Config服务配置+bus消息总线+stream消息驱动+Sleuth链路追踪
778 0
|
1月前
|
开发工具 git 微服务
【二十三】搭建SpringCloud项目六(Config)配置中心动态刷新
【二十三】搭建SpringCloud项目六(Config)配置中心动态刷新
19 0

热门文章

最新文章