building gfs2

tested on Slackware Linux current (Aug 2020)

requirements

    slackpkg install libtool

gfs2-utils

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

wget https://pagure.io/gfs2-utils/archive/3.3.0/gfs2-utils-3.3.0.tar.gz
cd gfs2-utils-3.3.0/

./autogen.sh
./configure --disable-nls
make > ../make.gfs2-utils.log && echo BUILT
make install
cd ../

dlm

#git clone https://pagure.io/dlm.git
#cd dlm/
wget https://pagure.io/dlm/archive/dlm-4.0.9/dlm-dlm-4.0.9.tar.gz
cd dlm-dlm-4.0.9/
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