[SOLVED] Installing ZuluCrypt

Started by frapelli, 2012/07/17, 20:58:09

Previous topic - Next topic

frapelli

I'd like to install Zulucrypt, "a front end to cryptsetup. It makes it easy to use cryptsetup to manage encrypted volumes by providing a Qt based GUI and a simpler to use cli front end to cryptsetup".

Needed:

1. libmount-devel
2. libblkid-devel
3. Qt-devel
4. gcc
5. gcc-c++
6. cryptsetup-devel
7. cmake

In apt-get I do not find Qt-devel and gcc-c++.
Anybody can suggest which packages I should install to have those installed?

Anybody already succeded in installyn Zulucrypt in siduction?

Thanks.

gerd

apt-get install libqt4-dev g++

ralul

cryptsetup luksFormat <device>
e.g.:
cryptsetup luksFormat /dev/sdb2
or:
man cryptsetup

simpler than any frontend ...
experiencing siduction runs better than my gentoo makes me know I know nothing

devil

If you use rpm-based howtos, you gotta translate package names. -devel translates to -dev mostly in debian.

greetz
devil

frapelli

Thanks to all.

Seems all dependencies have been installed, when I type the first command listed by the instruction file for building Zulucrypt:

cmake -DCMAKE_INSTALL_PREFIX=/usr/ -DCMAKE_BUILD_TYPE=MINSIZEREL

I get:

Make Error at zuluCrypt-cli/CMakeLists.txt:16 (message):
 ERROR: could not find sys/mount.h header file


What is "mount.h header file", and how can I make it available?

Thanks

devil

I tried last night and got the same result. All packages that provide these header files are installed. I am clueless at the moment and have no time to look into it further.

greetz
devil

DeepDayze

Quote from: "devil"I tried last night and got the same result. All packages that provide these header files are installed. I am clueless at the moment and have no time to look into it further.

greetz
devil

Does debian have a different manner for searching headers than other distros?

hendrikL

did u clone the git -> https://code.google.com/p/zulucrypt/source/checkout ,
I guess yes.

cd to it.
mkdir build && cd build
ccmake ../ #(than press <c> to configure cmake, than <g> to generate)
cmake ../
make
su ...
make install


To uninstall it just type
make uninstall
as root in the build dirctory

thats works for me

edit, maybe you have to install cmake-curses-gui for ccmake

devil

No, we used a tarball.

greetz
devil

hendrikL

mh, well
if u create a build directory after u expand the tarball und try the same steps as i posted above, i think it is also working fine.
But why not clone the git?

devil

Because i wanted to try what the thread-starter did.

greetz
devil

towo

It needs a little change in the sources for successfull building:

--- zulucrypt-4.6.1.orig/zuluCrypt-cli/CMakeLists.txt
+++ zulucrypt-4.6.1/zuluCrypt-cli/CMakeLists.txt
@@ -10,7 +10,7 @@
       
 message( STATUS "Found mntent.h  : " ${mntent} )
 
- find_file ( mount_sys sys/mount.h )
+ find_file ( mount_sys ${LIB_SUFFIX}/sys/mount.h )
 
 if(NOT mount_sys)
        message (FATAL_ERROR "ERROR: could not find sys/mount.h header file")

Then you can do

mkdir build && cd build
cmake . -DCMAKE_INSTALL_PREFIX=/usr/ \
-DLIB_SUFFIX=/$(DEB_HOST_MULTIARCH) \
-DCMAKE_BUILD_TYPE=MINSIZEREL
make

Btw, i have uploaded zulucrypt to our experimental repo.
Ich gehe nicht zum Karneval, ich verleihe nur manchmal mein Gesicht.

devil

Quote
Btw, i have uploaded zulucrypt to our experimental repo.
If anyone tries this, give feedback please.
If it works reliably, we might keep it .

greetz
devil

frapelli

I installed it from repository.

It works if started as root. Started as normal user, it does not mount selected (encrypted) partition. I get messages like:

"Could not create mount point, invalid path or path already taken"

"Failed to open the volume, device may be already in use"

No matter in which folder I try to mount, included Home folder.

Partition mounted as root seem totally hidden when browsing as normal user.

Thanks

mhogomchungu

hallo everyone.
I am a developer of zuluCrypt.

I just googled "zuluCrypt" to see whats out there and this thread came up.

@towo
I use an rpm system and all header files are in "/usr/include".

Is it normal for this distro or debian distros to have header files in "lib/lib64" folders?

I will change the config files to reflect this if it is a standard location for header files.

Anything else particular in this distro i should tweak in my project?

@frapelli
Can you expand a little with your problem?

can you, for example, post the content of "zuluCrypt-test" command?

what version of zuluCrypt did you try?
you can know this by running "zuluCrypt-cli --version"

Thanks for trying zuluCrypt