问题描述
我试图遵循此指南: https://github .com/opencomputeproject/onie/blob/master/machine/kvm_x86_64/INSTALL ,但是卡住了.
I was trying to follow this guide: https://github.com/opencomputeproject/onie/blob/master/machine/kvm_x86_64/INSTALL but have gotten stuck.
在这行上:make MACHINE=kvm_x86_64 all
,当我尝试应用补丁时会得到stg: command not found
.我在make命令上收到错误127.这是输出:
On this line: make MACHINE=kvm_x86_64 all
, I get stg: command not found
when it is trying to apply a patch. I get Error 127 on a make command. Here's the output:
我安装了g ++和git.我在做什么错了?
I have g++ and git installed. What am I doing wrong?
推荐答案
我是在Ubuntu Desktop 15.04上构建的.对于尝试构建ONIE虚拟机的其他任何人,请先安装以下软件包:
I built this on Ubuntu Desktop 15.04. For anyone else trying to build ONIE virtual machine, install these packages first:
包装
- qemu-kvm
- git
- stg
- gperf
- 野牛
- flex
- autoconf
- texinfo
- gawk
- libtool
- libtool-bin
- libncurses5-dev
- libexpat1
- libexpat1-dev
- python2.7-dev
- python3.4-dev
- xorriso
- qemu-kvm
- git
- stg
- gperf
- bison
- flex
- autoconf
- texinfo
- gawk
- libtool
- libtool-bin
- libncurses5-dev
- libexpat1
- libexpat1-dev
- python2.7-dev
- python3.4-dev
- xorriso
您可以使用sudo apt-get install <package>
安装其中的大多数.您现在应该可以按照 ONIE指南进行设置.向上.感谢EtanReisner的所有帮助!
You can install most of these with sudo apt-get install <package>
. You should be able to follow the ONIE guide now and set it up. Thanks to EtanReisner for all the help!
这篇关于(ONIE)stg:在Ubuntu终端中找不到命令和错误127的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!