[blfs-support] Cryptsetup

Richard Melville richard.melville69 at googlemail.com
Thu Nov 28 03:58:20 PST 2013


Em 27-11-2013 19:27, Fernando de Oliveira escreveu:
> > Em 27-11-2013 18:59, Richard Melville escreveu:
> >> I realise that cryptsetup is not in the BLFS book but I wondered if
> >> anybody knows whether libdevmapper (crypsetup configure fails
> >> complaining about its absence) can be installed on its own or if I'm
> >> going to have to install the complete LVM package.  I'm not planning to
> >> use LVM as it seems redundant since the emergence of Btrfs, but  I need
> >> cryptsetup, and thus libdevmapper, for encryption.
> >>
> >> Richard
> >>
> >>
> >
> >
> > We used to have just device-mapper:
>
>
> I have just tested:
>
> ./configure --prefix=/usr      \
>             --enable-dmeventd  \
>             --enable-cmdlib    \
>             --enable-pkgconfig &&
> make device-mapper
> make DESTDIR=/tmp/DEST-LVM2.2.02.104 install_device-mapper
>
> Gives:
>
> $ ls */*
> usr/include:
> libdevmapper-event.h  libdevmapper.h
>
> usr/lib:
> libdevmapper-event.so       libdevmapper.so       pkgconfig
> libdevmapper-event.so.1.02  libdevmapper.so.1.02
>
> usr/sbin:
> dmeventd  dmsetup
>
> usr/share:
> man
>
> --enable-pkgconfig to have /usr/lib/pkgconfig or it will not appear
>
> --enable-dmeventd --enable-cmdlib to have dmeventd,
> libdevmapper-event.so and libdevmapper-event.h
>
>
Thanks for the heads-up William, and thanks Fernando for the detailed
instructions and testing.  It worked a treat and Cryptsetup built and
installed perfectly.

Richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfromscratch.org/pipermail/blfs-support/attachments/20131128/19408688/attachment.html>


More information about the blfs-support mailing list