1. 程式人生 > 其它 >ubuntu出現configure: error: GNU awk is required for lib/memtype.h made by memtypes.awk.

ubuntu出現configure: error: GNU awk is required for lib/memtype.h made by memtypes.awk.

技術標籤:ubuntu

問題log

/bin/sh: 3: autoreconf: not found
checking build system type... i686-pc-linux-uclibc
checking host system type... mips-ori-linux-gnu
checking target system type... mips-ori-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes

checking for mips-ori-linux-strip... /projects/hnd/tools/rtl/msdk-4.4.7-mips-EL-3.10-u0.9.33-m32t-140827/bin/mips-linux-strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for perl... /usr/bin/perl
checking for gawk... not-in-PATH
configure: error: GNU awk is required for lib/memtype.h made by memtypes.awk.
BSD awk complains: awk: gensub doesn't support backreferences (subst "\1")

make[3]: *** [configure] 錯誤 1

解決方案

安裝如下軟體包,指令如下

apt-get install gawk