DRBD 8.4.x on OpenSuSE


On OpenSUSE i can`t build DRBD 8.4.x from the source as described in the DRBD User’s Guide. I got some errors and missing man-pages.

I have had success with this approach:

download the sources

cd /usr/src/
git clone git://git.drbd.org/drbd-8.4.git
cd drbd-8.4
git checkout drbd-8.4.3

To create the configure script, autoconf is not enough.

autoconf
autoheader

Thereafter, the kernel source tree can be adjusted normal

cd /usr/src/linux
make mrproper
zcat /proc/config.gz > .config
make cloneconfig
cp /boot/config-`uname -r` .config

and the DRBD build tree prepared and installed

./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc --with-km
make

The man pages are not created because

make doc

is missing.

The rest is running again as normal:

make install
cd drbd
make clean all

Reboot

Leave a comment

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