Monday, September 13, 2010

Lab 1

Last friday was an encouraging class session. Chris Tyler played a couple of FSOSS videos that featured the people behind the fedora community. Watching the video stirred me to think of ways of how to contribute more to the Open Source community. Well, this blog is one of it...

As for the first lab, I installed Truecrypt on my Fedora 13 system. It wasn't a smooth install for I have to resolve some dependencies needed for the code compilation.

Here's how I installed it:

1. I downloaded the source code package: (Linux .tar.gz)
    http://www.truecrypt.org/downloads2


2.  Untar, move to the extracted directory and start compiling.
     tar xvf truecrypt-7.0a-source/
     cd truecrypt-7.0a-source/
     make

3.   The first batch of errors filled my screen that says:
      /home/user/Downloads/truecrypt-7.0a-source/Common/SecurityToken.h:211:error: template argument 4 is invalid

     I took notice of the word "SecurityToken.." googling lead me to RSAlabs.The set of files are part of an API called Cryptoki

     Here are the commands needed to install it:
    
     wget ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/pkcs11.h
     wget ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/pkcs11f.h
     wget ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/pkcs11t.h



4. I stumbled on my 2nd error when I tried to compile again; this time the error reads:

     Assembling Aes_x64.asm
     make[1]: nasm: Command not found
     make[1]: *** [../Crypto/Aes_x64.o] Error 127
     make: *** [all] Error 2

    Before I stumble into more errors, I decided to google and find known  dependencies for Truecrypt.

     yum install nss-pkcs11-devel fuse-devel wxGTK wxGTK-devel

    Then I installed nasm assembler

5.  I recompiled and successfully installed Truecrypt to my system.







Helpful Links:

http://penguinenclave.blogspot.com/2009/07/truecrypt-62-install-guide-for-fedora.html

http://linuxsysadminblog.com/2009/07/install-truecrypt-on-fedora-10/





     


      

0 comments:

Post a Comment