git clone https://github.com/lucasdemarchi/kmod.git cd kmod ./autogen.sh ./configure CFLAGS="-g -O2" --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib make && make install
安装 pkg-config:
1 2 3 4 5 6 7
wget https://pkgconfig.freedesktop.org/releases/pkg-config-0.29.2.tar.gz tar -zxvf pkg-config-0.29.2.tar.gz cd pkg-config-0.29.2 ./configure --with-internal-glib make make check make install
git clone https://github.com/pmem/ndctl.git cd ndctl ./autogen.sh ./configure CFLAGS='-g -O2' --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib64 make make install
编译安装 pmdk:
1 2 3 4
git clone https://github.com/pmem/pmdk.git cd pmdk make make install