在龙芯mips64el平台编译bmon

bmon 是一个 实时命令行流量监控软件,但作者在github并没有提供mips64el的版本。下面记录一下编译过程。可以在这里下载bmon.v4.0.linux-mips64el.tar.gz

bmon

环境

OperationSystem  CentOSLinux
Architecture     mips64el
CPU(s)           8
Modelname        Loongson-3AR4(Loongson-3B4000)
KernelVersion    4.19.90-1.nk7_5.18.mips64el
MemoryTotal      63.0928G

编译过程

# clone代码
git clone https://github.com/tgraf/bmon.git
cd bmon

# 安装依赖
yum install automake autoconf ncurses-devel libconfuse-devel libconfuse libnl3-devel

# 生成 configure文件
./autogen.sh

# 编译
./configure --build=mips64el
make
make install
bmon

官方提供的编译文档已经够详细的,在./configure这一步遇到报错configure: error: cannot guess build type; you must specify one ,加上--build=mips64el参数即可。

posted @ 2020-08-06 19:20  hiyang  阅读(1462)  评论(0编辑  收藏  举报