Hello, I'm trying to compile libblockdev-2.25 but it fails on dependency devmapper which isn't in requirements and I don't find it in book. The compilation ends: make[1]: Entering directory '/build/libblockdev-2.25/tools' gcc -DPACKAGE_NAME=\"libblockdev\" -DPACKAGE_TARNAME=\"libblockdev\" -DPACKAGE_VERSION=\"2.25\" -DPACKAGE_STRING=\"libblockdev\ 2.25\" -DPACKAGE_BUGREPORT=\"vpodz...@redhat.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libblockdev\" -DVERSION=\"2.25\" -DNDEBUG=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_DLFCN_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_LINUX_RANDOM_H=1 -DHAVE_GLOB_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_MATH_H=1 -DWITH_BD_BCACHE=/\*\*/ -DWITH_BD_ESCROW=/\*\*/ -DWITH_BD_BTRFS=/\*\*/ -DWITH_BD_LOOP=/\*\*/ -DWITH_BD_MDRAID=/\*\*/ -DWITH_BD_SWAP=/\*\*/ -DWITH_BD_KBD=/\*\*/ -DWITH_BD_PART=/\*\*/ -DWITH_BD_FS=/\*\*/ -DWITH_BD_VDO=/\*\*/ -DLIBMOUNT_NEW_ERR_API=1 -I. -I./../include/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/bytesize -Wall -Wextra -Werror -std=gnu99 -MT lvm_cache_stats-lvm-cache-stats.o -MD -MP -MF .deps/lvm_cache_stats-lvm-cache-stats.Tpo -c -o lvm_cache_stats-lvm-cache-stats.o `test -f 'lvm-cache-stats.c' || echo './'`lvm-cache-stats.c In file included from lvm-cache-stats.c:7: ./../include/blockdev/lvm.h:3:10: fatal error: libdevmapper.h: No such file or directory 3 | #include <libdevmapper.h> | ^~~~~~~~~~~~~~~~ compilation terminated. make[1]: *** [Makefile:509: lvm_cache_stats-lvm-cache-stats.o] Error 1 make[1]: Leaving directory '/build/libblockdev-2.25/tools' make: *** [Makefile:508: all-recursive] Error 1 I try to disable features which can trigger devmapper by this configure: ./configure --prefix=/usr --sysconfdir=/etc --with-python3 --without-gtk-doc --without-nvdimm --without-dm --without-crypto --without-dmraid --without-lvm --without-mpath --without-lvm_dbus but without sucess. Thanks, Filip Bartmann -- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
[blfs-support] Can't compile libblockdev-2.25 without devmapper
Filip Bartmann via blfs-support Mon, 08 Feb 2021 02:51:57 -0800
- [blfs-support] Can't compile libblockdev-... Filip Bartmann via blfs-support
- Re: [blfs-support] Can't compile lib... Pierre Labastie via blfs-support
- Re: [blfs-support] Can't compile... Filip Bartmann via blfs-support
- Re: [blfs-support] Can't com... Pierre Labastie via blfs-support