PDA

View Full Version : Still having trouble building TrueCrypt


dhjdhjdhj
23rd September 2009, 01:44 PM
I thought I'd try again under Fedora 11 to build TrueCrypt (I've never successfully gotten this built) and am still running into issues.

I'm getting the following errors in the middle of the build:

1) Warning: No config found to match: /usr/local/bin/wx-config --unicode --cxxflags
in /usr/local/lib/wx/config
If you require this configuration, please install the desired
library build. If this is part of an automated configuration
test and no other errors occur, you may safely ignore it.
You may use wx-config --list to see all configs available in
the default prefix.


Then a little later,
Precompiling SystemPrecompiled.h
SystemPrecompiled.h:9:19: warning: wx/wx.h: No such file or directory
SystemPrecompiled.h:10:25: warning: wx/filename.h: No such file or directory
SystemPrecompiled.h:11:24: warning: wx/mstream.h: No such file or directory
SystemPrecompiled.h:12:25: warning: wx/snglinst.h: No such file or directory
SystemPrecompiled.h:13:24: warning: wx/txtstrm.h: No such file or directory
.... etc, etc,


I tried removing the --unicode argument in the Makefile but then I just got a bunch of compilation errors where an operator= member function couldn't be found.


Suggestions would be gratefully appreciated.

David

leigh123linux
23rd September 2009, 01:52 PM
Why are you trying to build it ? , I have packaged Truecrypt for rpmfusion.


http://rpmfusion.org/Package/realcrypt

dhjdhjdhj
23rd September 2009, 02:01 PM
Well, three reasons:

1) I couldn't find a prebuilt package (I had tried yum install truecrypt )
2) I figured that given this is a security tool, I was safer getting it directly from the source
3) I thought I might learn something (other than how to be frustrated) by trying to build it myself

Not sure how I was supposed to discover 'realcrypt' (though I certainly appreciate your having made such a thing)

leigh123linux
23rd September 2009, 02:16 PM
Well, three reasons:

1) I couldn't find a prebuilt package (I had tried yum install truecrypt )
2) I figured that given this is a security tool, I was safer getting it directly from the source
3) I thought I might learn something (other than how to be frustrated) by trying to build it myself

Not sure how I was supposed to discover 'realcrypt' (though I certainly appreciate your having made such a thing)


Not sure how I was supposed to discover 'realcrypt' (though I certainly appreciate your having made such a thing

yum search truecrypt
and the results would have given

============================== Matched: truecrypt ==============================
pam_mount.i586 : A PAM module that can mount volumes for a user session
pam_mount.x86_64 : A PAM module that can mount volumes for a user session
realcrypt.x86_64 : Cross platform disk encryption software
2) I figured that given this is a security tool, I was safer getting it directly from the sourceIf you feel safer :cool: ( the srpm and spec file are here for inspection )

http://leigh123linux.fedorapeople.org/pub/review/realcrypt/6/


3) I thought I might learn something (other than how to be frustrated) by trying to build it myselfTry

yum install fuse-devel, wxGTK-develThen copy these files to the Truecrypt source directory

ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/pkcs11.h
ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/pkcs11f.h
ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/pkcs11t.h

Then try again :)


.

leigh123linux
23rd September 2009, 02:19 PM
BTW. when I try to do
yum install realcrypt

I get the error that no package realcrypt is available.

No idea what repo I'm supposed to add (or how to add a repo) to make this work.


Try

http://rpmfusion.org/Configuration/

su
rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm

dhjdhjdhj
23rd September 2009, 02:22 PM
I did not know about the
yum search
option, thank you for that, no doubt it will be very useful in the future.

As for the
yum install fuse-devel, wxGTK-devel

I had done that. I was following the directions I found at http://penguinenclave.blogspot.com/2009/07/truecrypt-62-install-guide-for-fedora.html

dhjdhjdhj
23rd September 2009, 02:24 PM
Thanks --- I had found that info AFTER my original post and so deleted the post (grin)

Again, appreciate your response --- I'm going to give it a shot right now.

leigh123linux
23rd September 2009, 02:34 PM
You can skip these steps if you use the 3 PKCS11 headers files I linked.


You might also need the following packages if you haven't installed them already.
sudo yum install gnome-keyring-devel gcc-c++
4. Export the Cryptoki include folder
export PKCS11_INC=/usr/include/gp11

dhjdhjdhj
23rd September 2009, 05:04 PM
FYI -- tried the yum search option, didn't give me anything useful ---


gateway:/home/dhj # yum search truecrypt
Loaded plugins: allowdowngrade, dellsysidplugin2, priorities, refresh-packagekit
================================================== Matched: truecrypt ==================================================
pam_mount.i586 : A PAM module that can mount volumes for a user session
pam_mount.x86_64 : A PAM module that can mount volumes for a user session
gateway:/home/dhj #

dhjdhjdhj
23rd September 2009, 05:07 PM
So after I added rpmfusion, yum search did in fact give me the realcrypt option.

There's clearly a catch-22 situation here --- in order to get useful info, one already has to have other useful info.

dhjdhjdhj
23rd September 2009, 07:37 PM
Well, after installing the repositories, it looks like realcrypt got installed perfectly --- haven't experimented with it yet but looking forward to it.

Many thanks for the kickstart.

D

Kangayam - New City Photos - Pelabuhanratu Instagram Photos