全网首发:configure: error: cannot guess build type; you must specify one

简介: 全网首发:configure: error: cannot guess build type; you must specify one

详细错误:

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"
configure: error: cannot guess build type; you must specify one
make: *** [builds/unix/detect.mk:91:setup] 错误 1

  原因就是config.guess/config.sub不对。解决办法:

https://quantum6.blog.csdn.net/article/details/117668896

  有人发现复制之后还是不对。为什么呢?

  • 调用了autogen.sh。

autogen.sh会自动产生新的。不调用即可。


  • 已经有个链接。

把相应的链接从当前目录删除。


  • 使用的是其他目录的

通过find -name config.guess,会看到在其他目录下有相应的文件,如:build-scripts、builds/unix、build-aux。替换这些目录的两个文件即可。

目录
相关文章
在某龙芯平台上编译FFMPEG报错:ERROR: xxx not found using pkg-config
在某龙芯平台上编译FFMPEG报错:ERROR: xxx not found using pkg-config
365 0
|
3月前
解决Vscode使用LeetCode报错Failed to test the solution. Please open the output channel for details.
本文提供了解决在VScode中使用LeetCode插件时遇到“Failed to test the solution. Please open the output channel for details.”错误的方法,主要是通过修改setting.json文件中的输出文件夹配置来解决。
273 1
微信分享报错 wxlog:Error:fail to load Keychain status:-25300 解决办法
微信分享报错 wxlog:Error:fail to load Keychain status:-25300 解决办法
2381 0
|
3月前
|
IDE Go 开发工具
Go Error module declares its path as but was required as解决方案
文章提供了一个解决方案,用于处理在Go工程中将依赖的仓库从A更换为B(即使它们完全相同)时遇到的路径声明错误,建议通过发布新版本来解决此问题。
81 0
|
Linux
configure: error: cannot guess build type; you must specify one
configure: error: cannot guess build type; you must specify one
419 0
|
开发工具 git
【经验分享】【Github】Error: Action failed with “The process ‘/usr/bin/git‘ failed with exit code 128“
【经验分享】【Github】Error: Action failed with “The process ‘/usr/bin/git‘ failed with exit code 128“
352 0
|
C++ Windows
全网首发:编译ffmpeg: error: ‘VFW_E_NOT_FOUND‘ undeclared ; did you mean ‘NTE_NOT_FOUND‘?
全网首发:编译ffmpeg: error: ‘VFW_E_NOT_FOUND‘ undeclared ; did you mean ‘NTE_NOT_FOUND‘?
148 0
|
开发工具 git
编译pluma:configure.ac:229: error: required file ‘pluma/mate-submodules/Makefile.in‘ not found
编译pluma:configure.ac:229: error: required file ‘pluma/mate-submodules/Makefile.in‘ not found
124 0
|
Java
全网首发:跟踪分析This parser does not support specification “null“ version “null“
全网首发:跟踪分析This parser does not support specification “null“ version “null“
154 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
162 0