编译ldmtool

想在linux环境上挂载windows的动态磁盘.启动容器运行centos7, 编译ldmtool.

下载版本

https://github.com/mdbooth/libldm/archive/refs/tags/libldm-0.2.5.zip

编译步骤

sh autogen.sh
make
make install

需要安装的库

yum install make

#autogen.sh: line 26: gtkdocize: command not found
yum install gtk-doc
#autogen.sh: line 29: autoreconf: command not found
yum install autoconf

#autoreconf: failed to run aclocal: No such file or directory
yum install automake

#autoreconf: failed to run libtoolize: No such file or directory
yum install libtool

#configure: error: readline library is missing
yum install readline-devel

#No package 'gobject-2.0' found
yum install glib2-devel

#No package 'json-glib-1.0' found
yum install json-glib-devel

#No package 'zlib' found
yum install zlib-devel

#No package 'uuid' found
yum install libuuid-devel

#No package 'devmapper' found
yum install device-mapper-libs  device-mapper-devel

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.