Linux ubuntu 4.15.0-29-generic #31~16.04.1-Ubuntu SMP Wed Jul 18 08:54:04 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
sudo apt-get install xorriso
[ error ]
configure: error: Required tool not found: GNU awk
make/crosstool-ng.make:84: recipe for target '/home/zhangpeng/work/mtk-switch/onie/build/crosstool-ng/stamp/crosstool-ng-configure' failed
make: *** [/home/zhangpeng/work/mtk-switch/onie/build/crosstool-ng/stamp/crosstool-ng-configure] Error 1
[ solution ]
sudo apt-get install gawk
=====================================================================================
[ error ]
configure: error: missing required tool: help2man
make/crosstool-ng.make:84: recipe for target '/home/zhangpeng/onie/build/crosstool-ng/stamp/crosstool-ng-configure' failed
make: *** [/home/zhangpeng/onie/build/crosstool-ng/stamp/crosstool-ng-configure] Error 1
[ solution ]
sudo apt-get install texinfo
=====================================================================================
[ error ]
configure: error: missing required tool: makeinfo
make/crosstool-ng.make:84: recipe for target '/home/zhangpeng/onie/build/crosstool-ng/stamp/crosstool-ng-configure' failed
make: *** [/home/zhangpeng/onie/build/crosstool-ng/stamp/crosstool-ng-configure] Error 1
[ solution ]
sudo apt-get install texinfo
=====================================================================================
[ error ]
==== Configuring crosstool-NG ====
Running autoconf...
./bootstrap: 5: ./bootstrap: autoconf: not found
make/crosstool-ng.make:84: recipe for target '/home/zhangpeng/onie/build/crosstool-ng/stamp/crosstool-ng-configure' failed
make: *** [/home/zhangpeng/onie/build/crosstool-ng/stamp/crosstool-ng-configure] Error 127
[ solution ]
sudo apt-get install autoconf automake libtool
=====================================================================================
[ error ]
checking for gperf... no
configure: error: missing required tool: gperf
make/crosstool-ng.make:84: recipe for target '/home/zhangpeng/onie/build/crosstool-ng/stamp/crosstool-ng-configure' failed
make: *** [/home/zhangpeng/onie/build/crosstool-ng/stamp/crosstool-ng-configure] Error 1
[ solution ]
sudo apt-get install gperf
=====================================================================================
[ error ]
/home/zhangpeng/work/mtk-switch/onie/build-config/scripts/apply-patch-series: line 23: stg: command not found
make: *** [/home/zhangpeng/work/mtk-switch/onie/build/kvm_x86_64-r0/stamp/kernel-patch] Error 127
[ solution ]
sudo apt-get install stgit
=====================================================================================
[ error ]
cp-machine-patches: line 35: realpath: command not found
[ solution ]
sudo apt-get install realpath
=====================================================================================
[ error ]
configure: error: missing required tool: gperf
make: *** [/home/zhangpeng/work/mtk-switch/onie/build/crosstool-ng/stamp/crosstool-ng-configure] Error 1
[ solution ]
sudo apt-get install gperf
=====================================================================================
[ error ]
configure: error: missing required tool: help2man
make: *** [/home/zhangpeng/work/mtk-switch/onie/build/crosstool-ng/stamp/crosstool-ng-configure] Error 1
[ solution ]
sudo apt-get install help2man
=====================================================================================
[ error ]
scripts/sign-file.c:25:30: fatal error: openssl/opensslv.h: No such file or directory
#include <openssl/opensslv.h>
[ solution ]
sudo apt-get install libssl-dev
=====================================================================================
[ error ]
bash: sbsign: command not found
make: *** [/home/zhangpeng/work/mtk-switch/onie/build/kvm_x86_64-r0/stamp/kernel-vmlinuz-install] Error 127
[ solution ]
sudo apt-get install sbsigntool