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

吾在申威机器上试着编译cups,结果报错:


checking build system type... ./config.guess: unable to guess system type
This script, last modified 2013-11-29, has failed to recognize
the operating system you are using. It is advised that you
download the most up to date version of the config scripts from
 http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
and
 http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
If the version you run (./config.guess) is already up to date, please
send the following data and any information you think might be
pertinent to <config-patches@gnu.org> in order to provide the needed
information to handle your system.
config.guess timestamp = 2013-11-29
uname -m = sw_64
uname -r = 4.19.90-sunway-desktop-talas
uname -s = Linux
uname -v = #11 SMP Fri Apr 17 15:04:05 CST 2020
/usr/bin/uname -p = unknown
uname -X     = 
nfo               = 
/bin/universe          = 
/usr/bin/arch -k       = 
/bin/arch              = sw_64
/usr/bin/oslevel       = 
/usr/convex/getsysinfo = 
UNAME_MACHINE = sw_64
UNAME_RELEASE = 4.19.90-sunway-desktop-talas
UNAME_SYSTEM  = Linux
UNAME_VERSION = #11 SMP Fri Apr 17 15:04:05 CST 2020
configure: error: cannot guess build type; you must specify one
Makefile:11: Makedefs: 没有那个文件或目录
make: *** 没有规则可制作目标“Makedefs”。 停止。

人们不禁要问,这究竟是。。。还是。。。行了行了,还是问怎么办吧。正好申威人员指点,替换两个文件即可。吾试之,果然编译通过。


MISC_DIR=/usr/share/misc
cp ${MISC_DIR}/config.guess .
cp ${MISC_DIR}/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
206 0
|
3月前
|
JavaScript API
Vue3 运行可以,build 打包发布报错,app.config.globalProperties 用法坑
Vue3 运行可以,build 打包发布报错,app.config.globalProperties 用法坑
85 2
|
3月前
|
Ubuntu Python
ubuntu build install python3.12 and config pip
该脚本用于在 Ubuntu 上编译安装 Python 3.12,并配置 pip 使用国内镜像源。主要步骤包括安装依赖、下载并解压 Python 源码、编译安装、创建符号链接、配置 pip 源,以及验证安装和更新 pip。通过运行此脚本,可以快速完成 Python 3.12 的安装和配置。
78 0
|
6月前
|
机器学习/深度学习 Java Android开发
记录一个Flutter运行的异常FAILURE: Build failed with an exception. What went wrong: A problem occurred config
记录一个Flutter运行的异常FAILURE: Build failed with an exception. What went wrong: A problem occurred config
226 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错误解决方案
1043 0
Bert模型之unable to parse config.json as a URL or as a local path错误解决方案
|
Java iOS开发
Mac编译OpenJDK8:configure: error: Xcode 4 is required to build JDK 8, the version found was 10.1config
Mac编译OpenJDK8:configure: error: Xcode 4 is required to build JDK 8, the version found was 10.1config
134 0
config.guess: unable to guess system type、config.sub: missing argument
config.guess: unable to guess system type、config.sub: missing argument
136 0
config.guess: unable to guess system type、config.sub: missing argument
config.guess: unable to guess system type、config.sub: missing argument
426 0
|
关系型数据库 MySQL PHP
configure: error: GD build test failed. Please check the config.log
<p><br></p> <p></p> <p><br></p> <div class="wgt-ask accuse-response line mod-shadow" id="wgt-ask" style="padding:20px 60px 18px; position:relative; z-index:1; line-height:20px; margin-bottom:4p
6080 0
|
2月前
|
算法 安全 Java
微服务(四)-config配置中心的配置加解密
微服务(四)-config配置中心的配置加解密