1、git地址
https://gitee.com/mirrors/util-linux/
2、进入源码目录,执行./autogen.sh
此时报错如下:
root@hg-pc:/home/hg/Desktop/util-linux-master# ./autogen.sh
ERROR: You must have autopoint installed to generate the util-linux build system.
The autopoint command is part of the GNU gettext package.
ERROR: You must have bison installed to build the util-linux.
ERROR: You must have libtool-2 installed to generate the util-linux build system.
解决
1、 apt install autopoint
2、apt install bison
然后继续即可。。
文章讲述了在尝试使用`./autogen.sh`编译util-linux时遇到的错误,提示需要autopoint、bison和libtool-2。给出了通过apt安装这些依赖的解决步骤。
869

被折叠的 条评论
为什么被折叠?



