LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 08-13-2009, 11:26 PM   #1
Radikll
LQ Newbie
 
Registered: Apr 2009
Posts: 9

Rep: Reputation: 0
Question Compiling cryptsetup 1.0.7


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?
 
Old 08-14-2009, 10:26 PM   #2
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,823

Rep: Reputation: 2636Reputation: 2636Reputation: 2636Reputation: 2636Reputation: 2636Reputation: 2636Reputation: 2636Reputation: 2636Reputation: 2636Reputation: 2636Reputation: 2636
Quote:
Originally Posted by Radikll View Post
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?
You don't say what version/distro of Linux you're on, but you need to install the libdevmapper-devel libraries. The error tells you which file you're missing, and if you go to http://rpm.pbone.net, and search for that file name, it'll return the package name.

From there, you can either download/install manually, or do it through online repos.
 
  


Reply

Tags
cryptsetup


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how use cryptsetup and losetup azza Programming 2 07-05-2009 01:42 AM
cryptsetup-lux yeehi Suse/Novell 2 12-06-2007 09:21 AM
cryptsetup-luks question nomb Linux - Software 4 06-14-2007 10:22 AM
probs with cryptsetup ankscorek Linux - Security 5 02-15-2006 04:13 AM
Cryptsetup : Arrrrg ! kemkem42 Linux - Software 0 09-28-2005 04:10 AM


All times are GMT -5. The time now is 02:23 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration