Page 1 of 1

problem building on CentOS 6

Posted: 2013/05/06 23:27:52
by Scholtes
I have been able to install a working Linux console version of Truecrypt 7.1 on CentOS 6.3. I would like to build same from source.
I wanted to use CodeLite for my IDE, so I built wxWidgets 2.9.4 in /usr/src/wxWidgets (Codelite doesn't build with wxWidgets 2.8.12).
I downloaded the Truecrypt 7.1a Linux source.

After doing the following:
# su
$ cd /usr/src
$ mkdir pkcs11
$ cd pkcs11
$ wget ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/*.h
$ export PKCS11_INC=/usr/local/src/truecrypt/pkcs/
$ cd ~/Documents/unz/Truecrypt-7.1a-source
$ make NOGUI=1 WX_ROOT=/usr/src/wxWidgets wxbuild
$ make NOGUI=1 WXSTATIC=1

...I get some basic C++ compile errors:
Compiling CommandLineInterface.cpp
CommandLineInterface.cpp: In constructor ‘TrueCrypt::CommandLineInterface::CommandLineInterface(wxCmdLineParser&, TrueCrypt::UserInterfaceType::Enum)’:
CommandLineInterface.cpp:383: error: call of overloaded ‘FilesystemPath(wxString&)’ is ambiguous
/home/mike/Documents/unz/truecrypt-7.1a-source/Platform/FilesystemPath.h:38: note: candidates are: TrueCrypt::FilesystemPath::FilesystemPath(const wchar_t*)
/home/mike/Documents/unz/truecrypt-7.1a-source/Platform/FilesystemPath.h:36: note: TrueCrypt::FilesystemPath::FilesystemPath(const char*)
CommandLineInterface.cpp:474: error: call of overloaded ‘FilesystemPath(wxString)’ is ambiguous
...

I saw in the forum some guy got the same error in 2008 building on a non-supported dist. I really need to get this building.
All advice welcome.

problem building on CentOS 6

Posted: 2013/05/07 03:56:35
by CrayXMP
[quote]I really need to get this building.[/quote]
Maybe you should try this package first: [url=http://rpmfusion.org/Package/realcrypt]realcrypt[/url] on RPM Fusion ?
Except for the name, this is Truecrypt :
[quote]It does not differ from truecrypt in any other respect; in particular, no code relating to actual encryption or decryption is modified.[/quote]