How to compile TrueCrypt on Slitaz Linux
So you want a reliable file server for your network.
You want it to be immune from viruses.
You want to be able to save files to a public share from any windows, linux, or mac machine.
You want to be able to scan the linux share with a linux antivirus such as fprot.
You want to be able to encrypt the linux share, in case you stick customer data on it, and someone breaks into your shop over night and steals it.
As you all know I've mentioned that slitaz is a very fast o/s. It has email, web, printing, and other applications and it all runs from 32 meg of ram. It is small and lightning fast.
Truecrypt let's you encrypt a windows or linux machine with any of: aes, blowfish, cast5, serpent, triple DES, twofish, Aes-twofish, awes-twofish-serpent, serpent-aes, serpent-twofish-aes, and twofish-serpent.
So this is really secure stuff, as far as encryption goes.
B/c truecrypt is NOT a click/install package for slitaz, you must use a bit of magic, to get it all installed. Here is how I did it.
use the taz package manager to get these click-install packages:
pkg-config (may already be installed)
dm-setup (this one is in the cooking packages).[/SIZE]
**** once you download dm-setup you can go gunzip it, detar it, and install it
**** you can also do that with the package manager if your inclined.
open a vcon window and elevate user status to root using su & your pw.
then type these commands:
**** this command sticks all the rsa header encryption files in /usr/local/src/pkcs11
**** take the wxWidgets-2.8.9.tar.gz and unzip it then untar it.
[SIZE="4"]gunzip -d wxWidgets-2.8.9.tar.gz[/SIZE]
**** now to untar it
[SIZE="4"]tar -x wxWidgets-2.8.9.tar[/SIZE]
**** now download the true crypt source code from truecrypt.com
**** do not get the ready made package for suse or redhat
**** certainly do not get the windows or mac package.
**** make sure you get the source code of truecrypt itself.
[SIZE="4"]gunzip -d truecrypt-6.3a-source.tar.gz
tar -x truecrypt-6.3a-source.tar[/SIZE]
**** configure gui interface classes for linux programs.
**** when that is finished go into truecrypt source code directory below
**** now that you downloaded, unzipped, and untar'd truecrypt to it's own dir
**** you can start linking everything together.
[SIZE="4"]make WXSTATIC=1 WX_ROOT=/usr/local/src/wxWidgets-2.8.9 wxbuild (1 warning)[/SIZE]
**** let's copy the RSA data security header files into our source code dir.
[SIZE="4"]cp /usr/local/src/PKCS11/* /usr/local/src/truecrypt-6.3a-source
cp -p ./Main/truecrypt /usr/local/bin[/SIZE]
**** then just type ./truecrypt and it looks just identical to the same truecrypt
**** you use in windows, same features and everything.
Last edited by PcTek9; 01-10-2010 at 10:03 PM.