Hey, I've been trying to compile cryptsetup for a few hours now. I want to compile it myself because I don't trust the one in the repository. I figured out most of the errors, but now I have one I just can't solve.
Here's the error and the last few lines:
Code:
root@ingsoc:/usr/local/src/cryptsetup-1.0.7# ./configure --enable-libdevmapper
...
checking for libgcrypt-config... /usr/local/bin/libgcrypt-config
checking for LIBGCRYPT - version >= 1.1.42... yes (1.4.4)
checking whether to build libgcrypt module... yes
checking for sepol_bool_set in -lsepol... no
checking for is_selinux_enabled in -lselinux... no
checking for library containing pthread_mutex_lock... -lpthread
checking for dm_task_set_name in -ldevmapper... no
checking libdevmapper.h usability... no
checking libdevmapper.h presence... no
checking for libdevmapper.h... no
checking whether to build libdevmapper module... no
configure: error: Unable to build libdevmapper plugin, see messages above
root@ingsoc:/usr/local/src/cryptsetup-1.0.7#
For anyone else trying to compile cryptsetup you need the following packages:
e2fsprogs -- (libs) after make install do make install-libs
popt
libgcrypt
libgpg-error
gettext
Can anyone help me?