guardianproject / LUKS

no longer maintained, check the forks for maintained versions
GNU General Public License v3.0
91 stars 38 forks source link

Issues while compiling cryptsetup #9

Open guzhal opened 9 years ago

guzhal commented 9 years ago

Hi, I just tried to cross compile the LUKS, few issues occur as mentioned below

  1. The url to which LVM is pointing is not available, need to change to a mirror site for downloading that specific version of LVM. Then while configuring, warning is thrown specifying that "unrecognized option --with-dmdir". Somehow I added patch to include --with-dmdir and later it got compiled.
  2. The second error was while configuring util-linux, it was throwing "unrecognized option --enable-pkgconfig", not sure how to include the support for including enable-pkgconfig. Ignored the warning while configuring then it compiled.
  3. Finally while configuring cryptsetup, it throws "unrecognized options --enable-libgcrypt, --enable-libdevmapper" but still the executable is getting generated. When copied and tried executing the generated executable on my device, it throws "segmentation fault". Probably I cannot skip or ignore the "unrecognized options --enable-libgcrypt, --enable-libdevmapper" error, as this is a key part.

Can you please help me out on how can I go ahead on this.