The first thing you need to do is to get all needed dependencies. Thereby you have to compile one dependency yourself. We start with this dependency.
How to compile wxWidgets
First download the source code: http://www.wxwidgets.org/downloads/#latest_stable I used wxAll 2.8.11. Unpack it, go into the directory and execute these commands.
sudo apt-get install libgtk2.0-dev
./configure
make
How to setup PKCS11
Truecrypt needs three header files (pkcs11.h, pkcs11f.h, pkcs11t.h) which you can download from this location: ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v211/
Put them into a directory and then set the PKCS11_INC variable.
export PKCS11_INC=/home/pi/pkcs11
How to compile Truecrypt
First download the source code: http://www.truecrypt.org/downloads2 I used 7.1a. Unpack it, go into the unpacked directory and execute these commands.
sudo apt-get install libfuse-dev nasm libwxgtk2.8-dev
make WX_ROOT=/home/pi/wxWidgets/ wxbuild
make WXSTATIC=1
There will be this warning
configure: WARNING: libSM not found; disabling session management detectionsadly I couldn't figure out how to fix it. But Truecrypt will work anyway.
If you get this error message
In file included from Keyfile.cpp:10:0:then the PKCS11_INC variable isn't set correctly or you forgot to put the header files in the directory.
.../SecurityToken.h:43:21: fatal error: pkcs11.h: No such file or directory
Now you can use Truecrypt. The executable file will be created in Main/truecrypt. To mount a truecrypt volume just use
./truecrypt /path/to/truecrypt-volume /path/to/mount-pointor you can just execute ./truecrypt and use the graphical surface.
make after compiling wxWidgets gives:
AntwortenLöschenibpng12 -fvisibility=hidden -fvisibility-inlines-hidden ./src/common/event.cpp
g++: internal compiler error: Segmentation fault (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See for instructions.
make: *** [coredll_event.o] Error 4
Sorry, I can't help you with this problem - I never had this error. I can just offer you the truecrypt binary: http://reinhard-seiler.blogspot.co.at/2012/07/truecrypt-armhf-executable-for.html
Löschen