吾在申威机器上试着编译cups,结果报错:
checking build system type... ./config.guess: unable to guess system typeThis script, last modified -11-29, has failed to recognizethe operating system you are using. It is advised that youdownload the most up to date version of the config scripts fromhttp://git./gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEADandhttp://git./gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEADIf the version you run (./config.guess) is already up to date, pleasesend the following data and any information you think might bepertinent to <config-patches@> in order to provide the neededinformation to handle your system.config.guess timestamp = -11-29uname -m = sw_64uname -r = 4.19.90-sunway-desktop-talasuname -s = Linuxuname -v = #11 SMP Fri Apr 17 15:04:05 CST /usr/bin/uname -p = unknownuname -X= nfo= /bin/universe= /usr/bin/arch -k = /bin/arch = sw_64/usr/bin/oslevel = /usr/convex/getsysinfo = UNAME_MACHINE = sw_64UNAME_RELEASE = 4.19.90-sunway-desktop-talasUNAME_SYSTEM = LinuxUNAME_VERSION = #11 SMP Fri Apr 17 15:04:05 CST configure: error: cannot guess build type; you must specify oneMakefile:11: Makedefs: 没有那个文件或目录make: *** 没有规则可制作目标“Makedefs”。 停止。
人们不禁要问,这究竟是。。。还是。。。行了行了,还是问怎么办吧。正好申威人员指点,替换两个文件即可。吾试之,果然编译通过。
MISC_DIR=/usr/share/misccp ${MISC_DIR}/config.guess .cp ${MISC_DIR}/config.sub .