LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,657

Rep: Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970
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



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 / openSUSE 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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:25 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration