bmon 是一個 實時命令行流量監控軟件,但作者在github並沒有提供mips64el的版本。下面記錄一下編譯過程。可以在這里下載bmon.v4.0.linux-mips64el.tar.gz。
環境
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
參數即可。