TrueCrypt 使えるようにする

会社の xp でなかなか良いかんじなので、自宅の LFS でも使えるようにする。当然ソースからビルドと思ったら FUSE
http://fuse.sourceforge.net/
てのが必要だそうだ。これは普通に ./configure && make && make install で行ける。

あと pkcs ヘッダを取ってこないといけないみたい。下記参照。元は http://forums.debian.net/viewtopic.php?f=6&t=29233

CK_TRUE is defined in pkcs11t.h. If you download the PKCS headers from the link referenced in the howtoforge article, you'll be getting an older version. Be sure to get the files pkcs11.h, pkcs11t.h, and pkcs11f.h from the RSA link given in TrueCrypt's Readme.txt. (For TrueCrypt 6.3a, this is ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20, but double-check as this could change in newer versions of TrueCrypt.)

これらを /usr/local/include/pkcs11 に置いて、

PKCS11_INC=/usr/local/include/pkcs11  make
install Main/truecrypt /usr/local/bin

configure 書いてほしいなあ。

でまだ使えてない。CONFIG_FUSE_FS あたりのカーネルを有効にしないといけないみたい。もう少しだ。きっと。