实践编译truecrypt7.1a源码

truecrypt最新版本7.1a的源代码下载地址在:http://www.truecrypt.org/downloads2 选择基于linux的。

实践环境:Win7操作系统+vmware7.0+ubuntu10.10开发版配置

 

根据truecrypt的说明,准备以下环境:

- GNU Make

- GNU C++ Compiler 4.0 or compatible

- NASM assembler 2.08 or compatible (x86/x64 architecture only)

- pkg-config

- wxWidgets 2.8 shared library and header files installed or

wxWidgets 2.8 library source code (available at http://www.wxwidgets.org)

- FUSE library and header files (available at http://fuse.sourceforge.net

and http://code.google.com/p/macfuse)

- RSA Security Inc. PKCS #11 Cryptographic Token Interface (Cryptoki) 2.20

header files (available at ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20)

located in a standard include path or in a directory defined by the

environment variable 'PKCS11_INC'.

注:

l nasm可以通过sudo apt-get install nasm下载安装。

l wxWidgets2.8可以通过sudo apt-get install libwxbase2.8-dev和sudo apt-get install libwxgtk2.8-dev下载安装。

l FUSEsudo apt-get install libfuse-dev

l PKCS下载地址:ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/,在编译truecrypt的时候,需要pkcs11.h、pkcs11t.h、pkcs11f.h三个头文件,可以把他们复制到/usr/include目录下面。

 

转到truecrypt-7.1a-source源码目录,执行make命令。

基本按上面的走,不会出问题,make之后,在Main目录中就有truecrypt可执行文件。整个过程注意不要去从源码编译相关依赖项,比如wxWidgets,FUSE等,可能会遇到很多问题,用apt-get就是了,源码级的没有必要。

转载于:https://www.cnblogs.com/guocai/archive/2012/03/13/2394388.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值