300字范文,内容丰富有趣,生活中的好帮手!
300字范文 > ARM平台编译dante出现【configure: error: cannot guess build type; you must specify one】解决方法

ARM平台编译dante出现【configure: error: cannot guess build type; you must specify one】解决方法

时间:2019-09-07 06:46:01

相关推荐

ARM平台编译dante出现【configure: error: cannot guess build type; you must specify one】解决方法

编译dante的时候出现:

root@ak:~/dante-1.4.2# ./configure --prefix=/usr/local/dante --sysconfdir=/etc --disable-clientConfiguring Dante 1.4.2:checking for a BSD-compatible install... /usr/bin/install -cchecking whether build environment is sane... yeschecking for a thread-safe mkdir -p... /bin/mkdir -pchecking for gawk... gawkchecking whether make sets $(MAKE)... yeschecking whether make supports nested variables... yeschecking build system type... ./config.guess: unable to guess system typeThis script, last modified -10-01, 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 = -10-01uname -m = aarch64uname -r = 4.4.172-*uname -s = Linuxuname -v = #1 SMP PREEMPT Tue Jan 14 13:21:03 CST /usr/bin/uname -p = /bin/uname -X= hostinfo= /bin/universe= /usr/bin/arch -k = /bin/arch = /usr/bin/oslevel = /usr/convex/getsysinfo = UNAME_MACHINE = aarch64UNAME_RELEASE = 4.4.172-*UNAME_SYSTEM = LinuxUNAME_VERSION = #1 SMP PREEMPT Tue Jan 14 13:21:03 CST configure: error: cannot guess build type; you must specify one

意思是无法检测到编译的平台,需要我们手动指定一个。

由于我使用的arm平台,因此加个参数--build=arm-linux搞定。

代码如下:

./configure --prefix=/usr/local/dante \--sysconfdir=/etc --disable-client --build=arm-linux

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。