一個簡單的錯誤:
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 [email protected] 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