building gfs2 utils

tested on Slackware Linux current (Aug 2020)

requirements

    slackpkg install libtool

gfs2-utils

#git clone https://pagure.io/gfs2-utils.git
#cd gfs2-utils/

grab latest release

ver=3.5.1
wget https://pagure.io/gfs2-utils/archive/$ver/gfs2-utils-$ver.tar.gz
tar xzf gfs2-utils-$ver.tar.gz
cd gfs2-utils-$ver/
./autogen.sh
./configure --sysconfdir=/etc --localstatedir=/var --disable-nls
make > ../gfs2-utils.log && echo BUILT
make install > ../gfs2-utils.install.log && echo DEPLOYED
cd ../

dlm

there’s an sbo package for that, but if you really want to, here’s my draft

#git clone https://pagure.io/dlm.git
#cd dlm/

grab latest release

ver=4.3.0
wget https://pagure.io/dlm/archive/dlm-$ver/dlm-dlm-$ver.tar.gz
tar xzf dlm-dlm-$ver.tar.gz
cd dlm-dlm-$ver/
vi dlm_controld/Makefile

comment this out (don’t just switch USE_SD_NOTIFY to no, that will prevent udev to work properly afterwards)

#ifeq ($(USE_SD_NOTIFY),yes)
#       BIN_CFLAGS += $(shell $(PKG_CONFIG) --cflags libsystemd) \
#                     -DUSE_SD_NOTIFY
#       BIN_LDFLAGS += $(shell $(PKG_CONFIG) --libs libsystemd)
#endif

and proceed

make clean
make > ../dlm.log && echo BUILT
make install
cd ../

HOME | GUIDES | LECTURES | LAB | SMTP HEALTH | HTML5 | CONTACT
Copyright © 2024 Pierre-Philipp Braun