this night after a lot of retries I finally upgraded my Ubuntu box to Hardy Heron
As you know everytime you do an upgrade there are always some problems with software. So this morning when I woke up, I tried to mount my truecrypt volume as usually with forcefield, but I get an unknown error message from the gui. So I tryed to manually mount my volume from the command line, and I get this error message:
After some googling, I found a guide which helps me to compile and install TrueCrypt 5.1a on my new Hardy Heron so I decided to write this howto.
FATAL: Module truecrypt not found.
Failed to load TrueCrypt kernel module
It's quite simple and it should not take a lot of time.
So now open a terminal and start follow this guide.
First of all install some packages with apt:
Note: If you will notice that are needed other packages please inform me.
sudo apt-get install build-essential linux-headers-`uname -r` linux-source-2.6.24 libfuse-dev libgtk2.0-dev
Then create a tmp directory in your home directory:
Now download TrueCrypt source from the official website:
Go to the path where you saved TrueCrypt source and untar the file in your ~/tmp directory
Now you should download wxAll source code. You can pick it from here:
tar -zvxf TrueCrypt\ 5.1a\ Source.tar.gz -C ~/tmp
Go to the path where you saved wxAll source and untar the file in your ~/tmp directory
Now go to your ~/tmp/truecrypt-5.1a-source directory:
tar -zvxf wxWidgets-2.8.7.tar.gz -C ~/tmp
and launch this command line:
This will build the ./wxrelease subdirectory in the truecrypt source path. You'll probably will have some warnings from the compiler, but you can safely ignore.
WX_ROOT=~/tmp/wxWidgets-2.8.7 make wxbuild
Once you have your shell back, launch this command line to compile truecrypt:
Probably you will get a lots of warnings from the compiler, but you can ignore it. They are just warnings.
Now go Main directory in TrueCrypt source:
and start truecrypt gui:
If everything is ok, you should have now the truecrypt gui running.
Now close you application from the Gnome notification area and copy your just compiled truecrypt binary in you /usr/local/bin directory:
Now you have truecrypt binary in your path so you can run it simply with:
sudo cp ~/tmp/truecrypt-5.1a-source/Main/truecrypt /usr/local/bin/
Now you can safely remove your working directories:
I hope that this guide could help someone. If you notice somenthing wrong or if this guide doesn't work for you please let me know.
rm -rf ~/tmp/truecrypt-5.1a-source ~/tmp/wxWidgets-2.8.7