fdisk工具源码编译生成
git clone https://github.com/util-linux/util-linux.git
ERROR: You must have autopoint installed to generate the util-linux build system.The autopoint command is part of the GNU gettext package.
解决:
sudo apt-get update
sudo apt-get install gettext autopoint
checking for sqlite3... no
configure: error: liblastlog2 selected, but required sqlite3 library not available
sudo apt install pkg-config
sudo apt-get install libsqlite3-dev
./autogen.sh
./configure
make fdisk # 单独编译 fdisk 工具
./fdisk -l