YDL 6.1 setting up TrueCrypt

YDL running on the Sony Playstation 3

Moderator: billb

YDL 6.1 setting up TrueCrypt

Postby sc0pe » 21 Feb 2009, 10:28

Hi Guys,

i have a problem to set up truecrypt on ydl.
i've already rebuild the kernel with fuse support, so that i can
mount my 1TB ntfs hdd. (works)

has anyone a clue, which truecrypt version would fit for ydl?

hope you can help me.

greetz
sc0pe
ydl newbie
ydl newbie
 
Posts: 3
Joined: 21 Feb 2009, 10:23

Re: YDL 6.1 setting up TrueCrypt

Postby ppietro » 21 Feb 2009, 11:01

sc0pe wrote:has anyone a clue, which truecrypt version would fit for ydl?


Not exactly - but if they suggest one for Red Hat Enterprise Linux (RHEL) /CentOS 5.2, that would be the one to try.

Cheers,
Paul
User avatar
ppietro
Site Admin
Site Admin
 
Posts: 4569
Joined: 13 Sep 2007, 22:18

Re: YDL 6.1 setting up TrueCrypt

Postby sc0pe » 21 Feb 2009, 12:11

Hi,

they suggest the following packages:
Select a Linux distribution and hardware platform
OpenSuSE - x86 .rpm
OpenSuSE - x64 (64-bit) .rpm
Ubuntu - x86 .deb
Ubuntu - x64 (64-bit) .deb

I have tried opensuse x64.rpm but i get the following:

Code: Select all
Fehler: Fehlgeschlagende Abhängigkeiten:
        libfuse2 wird benötigt von truecrypt-6.1a-0.x86_64
        xorg-x11-libSM wird benötigt von truecrypt-6.1a-0.x86_64
        libatk-1.0.so.0()(64bit) wird benötigt von truecrypt-6.1a-0.x86_64
        libc.so.6(GLIBC_2.2.5)(64bit) wird benötigt von truecrypt-6.1a-0.x86_64
        libdl.so.2(GLIBC_2.2.5)(64bit) wird benötigt von truecrypt-6.1a-0.x86_64
        libfuse.so.2()(64bit) wird benötigt von truecrypt-6.1a-0.x86_64
        libfuse.so.2(FUSE_2.2)(64bit) wird benötigt von truecrypt-6.1a-0.x86_64
        libfuse.so.2(FUSE_2.6)(64bit) wird benötigt von truecrypt-6.1a-0.x86_64
        libgdk_pixbuf-2.0.so.0()(64bit) wird benötigt von truecrypt-6.1a-0.x86_64
        libgdk-x11-2.0.so.0()(64bit) wird benötigt von truecrypt-6.1a-0.x86_64
        libglib-2.0.so.0()(64bit) wird benötigt von truecrypt-6.1a-0.x86_64
        libgmodule-2.0.so.0()(64bit) wird benötigt von truecrypt-6.1a-0.x86_64
        libgobject-2.0.so.0()(64bit) wird benötigt von truecrypt-6.1a-0.x86_64
        libgthread-2.0.so.0()(64bit) wird benötigt von truecrypt-6.1a-0.x86_64
        libgtk-x11-2.0.so.0()(64bit) wird benötigt von truecrypt-6.1a-0.x86_64
        libm.so.6(GLIBC_2.2.5)(64bit) wird benötigt von truecrypt-6.1a-0.x86_64
        libpango-1.0.so.0()(64bit) wird benötigt von truecrypt-6.1a-0.x86_64
        libpthread.so.0(GLIBC_2.2.5)(64bit) wird benötigt von truecrypt-6.1a-0.x86_64
        libstdc++.so.6(GLIBCXX_3.4.9)(64bit) wird benötigt von truecrypt-6.1a-0.x86_64


I have tried opensuse x86.rpm but i get the following:

Code: Select all
Fehler: Fehlgeschlagende Abhängigkeiten:
        libfuse2 wird benötigt von truecrypt-6.1a-0.i586
        xorg-x11-libSM wird benötigt von truecrypt-6.1a-0.i586
        libstdc++.so.6(GLIBCXX_3.4.9) wird benötigt von truecrypt-6.1a-0.i586
Error: TrueCrypt installation failed


i have also one file called:
truecrypt-6.1-1.fc9.x86_64.rpm

Code: Select all
[root@playme Desktop]# rpm -i truecrypt-6.1-1.fc9.x86_64.rpm
Fehler: Fehlgeschlagende Abhängigkeiten:
        libc.so.6(GLIBC_2.2.5)(64bit) wird benötigt von truecrypt-6.1-1.fc9.x86                           _64
        libdl.so.2(GLIBC_2.2.5)(64bit) wird benötigt von truecrypt-6.1-1.fc9.x8                           6_64
        libfuse.so.2()(64bit) wird benötigt von truecrypt-6.1-1.fc9.x86_64
        libfuse.so.2(FUSE_2.2)(64bit) wird benötigt von truecrypt-6.1-1.fc9.x86                           _64
        libfuse.so.2(FUSE_2.6)(64bit) wird benötigt von truecrypt-6.1-1.fc9.x86                           _64
        libpthread.so.0(GLIBC_2.2.5)(64bit) wird benötigt von truecrypt-6.1-1.f                           c9.x86_64
        libstdc++.so.6(GLIBCXX_3.4.9)(64bit) wird benötigt von truecrypt-6.1-1.                           fc9.x86_64
        libwx_baseu-2.8.so.0()(64bit) wird benötigt von truecrypt-6.1-1.fc9.x86                           _64
        libwx_baseu-2.8.so.0(WXU_2.8)(64bit) wird benötigt von truecrypt-6.1-1.                           fc9.x86_64
        libwx_gtk2u_adv-2.8.so.0()(64bit) wird benötigt von truecrypt-6.1-1.fc9                           .x86_64
        libwx_gtk2u_adv-2.8.so.0(WXU_2.8)(64bit) wird benötigt von truecrypt-6.                           1-1.fc9.x86_64
        libwx_gtk2u_core-2.8.so.0()(64bit) wird benötigt von truecrypt-6.1-1.fc                           9.x86_64
        libwx_gtk2u_core-2.8.so.0(WXU_2.8)(64bit) wird benötigt von truecrypt-6                           .1-1.fc9.x86_64
        wxGTK >= 2.8.0 wird benötigt von truecrypt-6.1-1.fc9.x86_64


i thought it may help to use the source files and compile them, but 6.1 source cannot be compiled
on a 64 ppc.

getting the following:
Code: Select all
[root@playme truecrypt-6.1a-source]# make
Compiling Buffer.cpp
In file included from StringConverter.h:12,
                 from SerializerFactory.h:14,
                 from Serializable.h:16,
                 from Exception.h:14,
                 from Buffer.cpp:10:
/usr/include/stdlib.h: In function »long int strtol(const char*, char**, int)«:
/usr/include/stdlib.h:336: Fehler: »__strtol_internal« wurde in diesem Gültigkeitsbereich nicht definiert
/usr/include/stdlib.h: In function »long unsigned int strtoul(const char*, char**, int)«:
/usr/include/stdlib.h:342: Fehler: »__strtoul_internal« wurde in diesem Gültigkeitsbereich nicht definiert
make[1]: *** [Buffer.o] Fehler 1
make: *** [all] Fehler 2


so i've googles and came to conclusion, thats an 64bit problem. so there's a truecrypt 5.0 source and a patch
for x64, but still waiting for response...

any1 any clue? :)

greetz
sc0pe
ydl newbie
ydl newbie
 
Posts: 3
Joined: 21 Feb 2009, 10:23

Re: YDL 6.1 setting up TrueCrypt

Postby ppietro » 21 Feb 2009, 12:29

sc0pe wrote:Hi,

they suggest the following packages:
Select a Linux distribution and hardware platform
OpenSuSE - x86 .rpm
OpenSuSE - x64 (64-bit) .rpm
Ubuntu - x86 .deb
Ubuntu - x64 (64-bit) .deb


None of those will work at all. PowerPC processors can't execute x86 or x64 code.

i thought it may help to use the source files and compile them, but 6.1 source cannot be compiled
on a 64 ppc.

getting the following:
Code: Select all
[root@playme truecrypt-6.1a-source]# make
Compiling Buffer.cpp
In file included from StringConverter.h:12,
                 from SerializerFactory.h:14,
                 from Serializable.h:16,
                 from Exception.h:14,
                 from Buffer.cpp:10:
/usr/include/stdlib.h: In function »long int strtol(const char*, char**, int)«:
/usr/include/stdlib.h:336: Fehler: »__strtol_internal« wurde in diesem Gültigkeitsbereich nicht definiert
/usr/include/stdlib.h: In function »long unsigned int strtoul(const char*, char**, int)«:
/usr/include/stdlib.h:342: Fehler: »__strtoul_internal« wurde in diesem Gültigkeitsbereich nicht definiert
make[1]: *** [Buffer.o] Fehler 1
make: *** [all] Fehler 2


so i've googles and came to conclusion, thats an 64bit problem. so there's a truecrypt 5.0 source and a patch
for x64, but still waiting for response...

any1 any clue? :)

greetz


If there's any x86 or x64 specific code - none of that will work. YDL is PowerPC only.

You can try forcing the build to be 32 bit using the setarch command.

So - you'd probably build it with:
setarch ppc32 ./configure
setarch ppc32 make


Cheers,
Paul
User avatar
ppietro
Site Admin
Site Admin
 
Posts: 4569
Joined: 13 Sep 2007, 22:18

Re: YDL 6.1 setting up TrueCrypt

Postby sc0pe » 21 Feb 2009, 12:40

Code: Select all
[root@playme truecrypt-6.1a-source]# setarch ppc32 make
Compiling Buffer.cpp
In file included from StringConverter.h:12,
                 from SerializerFactory.h:14,
                 from Serializable.h:16,
                 from Exception.h:14,
                 from Buffer.cpp:10:
/usr/include/stdlib.h: In function »long int strtol(const char*, char**, int)«:
/usr/include/stdlib.h:336: Fehler: »__strtol_internal« wurde in diesem Gültigkeitsbereich nicht definiert
/usr/include/stdlib.h: In function »long unsigned int strtoul(const char*, char**, int)«:
/usr/include/stdlib.h:342: Fehler: »__strtoul_internal« wurde in diesem Gültigkeitsbereich nicht definiert
make[1]: *** [Buffer.o] Fehler 1
make: *** [all] Fehler 2


so same error here. there's no possible solution for this? damn. :cry: :shock: :?

changeing to another distro doesn't help too?
sc0pe
ydl newbie
ydl newbie
 
Posts: 3
Joined: 21 Feb 2009, 10:23

Re: YDL 6.1 setting up TrueCrypt

Postby ppietro » 21 Feb 2009, 17:49

sc0pe wrote:changeing to another distro doesn't help too?


No - but that's not the error. It's not a 64/32 bit thing.

I downloaded the source and gave it a try. It almost built completely, and I think I found your error.

If you look at the "readme.txt" file, they mention something about an wxWidgets library. If you don't have a wxWidgets library - which Linux doesn't - you need to build it with an extra argument. Try building it with:
make WXSTATIC=1

It more or less built, but on my system it was missing pkcs11.h, which might be part of nss-devel. So - I'd add nss-devel via Add/Remove software, then give it a try.

Cheers,
Paul
User avatar
ppietro
Site Admin
Site Admin
 
Posts: 4569
Joined: 13 Sep 2007, 22:18

Re: YDL 6.1 setting up TrueCrypt

Postby billb » 21 Feb 2009, 18:06

Not sure if this will help at all, but:

https://www.antagonism.org/privacy/true ... dora.shtml
PS3 60GB [CECHA01], FW 3.15, YDL 6.2, Samsung T260HD @ 1920x1200
User avatar
billb
Site Admin
Site Admin
 
Posts: 5222
Joined: 24 May 2007, 20:30
Location: Eastern NC, USA

Re: YDL 6.1 setting up TrueCrypt

Postby CronoCloud » 29 Mar 2009, 13:31

ppietro wrote:
If you look at the "readme.txt" file, they mention something about an wxWidgets library. If you don't have a wxWidgets library - which Linux doesn't


Linux does have wxWidgets, but it's known on Linux as wxGTK (and wxX11) which are included in the overall wxWidgets package but they're also available separately.. TrueCrypt wants wxGTK version 2.8 and we've only got 2.6 in the repos, that means a compile of wxGTK 2.8.10 is necessary, if you want the TrueCrypt GUI

download wxGTK 2.8.10
untar and enter in the source directory
mkdir buildgtk
cd buildgtk
../configure --with-sdl --enable-unicode
make
make install
ldconfig

If you only need command line TrueCrypt, you can ignore the above and run the TrueCrypt make command as:

make NOGUI=1 WXSTATIC=1

I just built Truecrypt 6.1a :-)

truecrypt_cronocloud.png
screenshot of main truecrypt window on my PS3, mideel
(56 KiB) Downloaded 9 times


Hope this helps

Ron Rogers Jr. (CronoCloud)
CECHE01 PS3 (MGS4 80GB Bundle) without OtherOS
Running Fedora 13 on a Compaq Presario CQ5320F
Element 1920B 19" 1080i/720p TV with HDMI, using 1440x900 VGA
PSN ID: CronoCloudAuron
User avatar
CronoCloud
Moderator
Moderator
 
Posts: 517
Joined: 21 Oct 2006, 05:48
Location: Central Illinois, USA

Re: YDL 6.1 setting up TrueCrypt

Postby cell » 29 Jul 2009, 10:40

hey.
sorry for digging up the old thread, but is there anyone who can share the compiled version? i'm certainly new to linux and making files doesn't go so smooth for me (tons of error msgs, when trying to follow the steps).
any help's appreciated :)

thanks
a
cell
ydl newbie
ydl newbie
 
Posts: 1
Joined: 29 Jul 2009, 10:37

Re: YDL 6.1 setting up TrueCrypt

Postby aguilarojo » 30 Jul 2009, 15:24

cell wrote:hey.
sorry for digging up the old thread, but is there anyone who can share the compiled version? i'm certainly new to linux and making files doesn't go so smooth for me (tons of error msgs, when trying to follow the steps).
any help's appreciated :)

thanks
a


Hi Adam, Paul, and Ron (as well as anyone else following this thread):

Here is my variation of implementing what Ron suggested:

Code: Select all

$su -
# make && make install
# ldconfig
# cd /.../truecrypt*
[root@arakus truecrypt-6.2a-source]# ls
Boot    Core    Format        Main      Platform    Resources
Build   Crypto  License.html  Makefile  Readme.txt  Volume
Common  Driver  License.txt   Mount     Release
[root@arakus truecrypt-6.2a-source]# make WXSTATIC=1
Compiling Keyfile.cpp
In file included from Keyfile.cpp:10:
/home/aguila/Utilitiesbuiltfromsource/truecrypt-6.2a-source/Common/SecurityToken.h:43:21: warning: pkcs11.h: No such file or directory
/home/aguila/Utilitiesbuiltfromsource/truecrypt-6.2a-source/Common/SecurityToken.h:56: error: ‘CK_SLOT_ID’ does not name a type
/home/aguila/Utilitiesbuiltfromsource/truecrypt-6.2a-source/Common/SecurityToken.h:57: error: ‘CK_FLAGS’ does not name a type
/home/aguila/Utilitiesbuiltfromsource/truecrypt-6.2a-source/Common/SecurityToken.h:77: error: ‘CK_OBJECT_HANDLE’ does not name a type
/home/aguila/Utilitiesbuiltfromsource/truecrypt-6.2a-source/Common/SecurityToken.h:80: error: ‘CK_SLOT_ID’ does not name a type
/home/aguila/Utilitiesbuiltfromsource/truecrypt-6.2a-source/Common/SecurityToken.h:86: error: expected `)' before ‘errorCode’
/home/aguila/Utilitiesbuiltfromsource/truecrypt-6.2a-source/Common/SecurityToken.h:92: error: expected `)' before ‘errorCode’
/home/aguila/Utilitiesbuiltfromsource/truecrypt-6.2a-source/Common/SecurityToken.h:106: error: ‘CK_RV’ does not name a type
/home/aguila/Utilitiesbuiltfromsource/truecrypt-6.2a-source/Common/SecurityToken.h:109: error: ‘CK_RV’ does not name a type
/home/aguila/Utilitiesbuiltfromsource/truecrypt-6.2a-source/Common/SecurityToken.h:160: error: ‘CK_SESSION_HANDLE’ does not name a type
/home/aguila/Utilitiesbuiltfromsource/truecrypt-6.2a-source/Common/SecurityToken.h:181: error: ‘CK_SLOT_ID’ has not been declared
/home/aguila/Utilitiesbuiltfromsource/truecrypt-6.2a-source/Common/SecurityToken.h:183: error: ‘CK_SLOT_ID’ has not been declared
/home/aguila/Utilitiesbuiltfromsource/truecrypt-6.2a-source/Common/SecurityToken.h:186: error: ‘CK_SLOT_ID’ has not been declared
/home/aguila/Utilitiesbuiltfromsource/truecrypt-6.2a-source/Common/SecurityToken.h:194: error: ‘CK_SLOT_ID’ has not been declared
/home/aguila/Utilitiesbuiltfromsource/truecrypt-6.2a-source/Common/SecurityToken.h:195: error: ‘CK_OBJECT_HANDLE’ was not declared in this scope
/home/aguila/Utilitiesbuiltfromsource/truecrypt-6.2a-source/Common/SecurityToken.h:195: error: template argument 1 is invalid
/home/aguila/Utilitiesbuiltfromsource/truecrypt-6.2a-source/Common/SecurityToken.h:195: error: template argument 2 is invalid
/home/aguila/Utilitiesbuiltfromsource/truecrypt-6.2a-source/Common/SecurityToken.h:195: error: ‘CK_SLOT_ID’ has not been declared
/home/aguila/Utilitiesbuiltfromsource/truecrypt-6.2a-source/Common/SecurityToken.h:195: error: ‘CK_ATTRIBUTE_TYPE’ has not been declared
/home/aguila/Utilitiesbuiltfromsource/truecrypt-6.2a-source/Common/SecurityToken.h:196: error: ‘CK_SLOT_ID’ has not been declared
/home/aguila/Utilitiesbuiltfromsource/truecrypt-6.2a-source/Common/SecurityToken.h:196: error: ‘CK_OBJECT_HANDLE’ has not been declared
/home/aguila/Utilitiesbuiltfromsource/truecrypt-6.2a-source/Common/SecurityToken.h:196: error: ‘CK_ATTRIBUTE_TYPE’ has not been declared
/home/aguila/Utilitiesbuiltfromsource/truecrypt-6.2a-source/Common/SecurityToken.h:197: error: ‘CK_SLOT_ID’ was not declared in this scope
/home/aguila/Utilitiesbuiltfromsource/truecrypt-6.2a-source/Common/SecurityToken.h:197: error: template argument 1 is invalid
/home/aguila/Utilitiesbuiltfromsource/truecrypt-6.2a-source/Common/SecurityToken.h:197: error: template argument 2 is invalid
/home/aguila/Utilitiesbuiltfromsource/truecrypt-6.2a-source/Common/SecurityToken.h:198: error: ‘CK_SLOT_ID’ has not been declared
/home/aguila/Utilitiesbuiltfromsource/truecrypt-6.2a-source/Common/SecurityToken.h:199: error: ‘CK_SLOT_ID’ has not been declared
/home/aguila/Utilitiesbuiltfromsource/truecrypt-6.2a-source/Common/SecurityToken.h:200: error: ‘CK_SLOT_ID’ has not been declared
/home/aguila/Utilitiesbuiltfromsource/truecrypt-6.2a-source/Common/SecurityToken.h:205: error: ‘CK_FUNCTION_LIST_PTR’ does not name a type
/home/aguila/Utilitiesbuiltfromsource/truecrypt-6.2a-source/Common/SecurityToken.h:211: error: ‘CK_SLOT_ID’ was not declared in this scope
/home/aguila/Utilitiesbuiltfromsource/truecrypt-6.2a-source/Common/SecurityToken.h:211: error: template argument 1 is invalid
/home/aguila/Utilitiesbuiltfromsource/truecrypt-6.2a-source/Common/SecurityToken.h:211: error: template argument 3 is invalid
/home/aguila/Utilitiesbuiltfromsource/truecrypt-6.2a-source/Common/SecurityToken.h:211: error: template argument 4 is invalid
make[1]: *** [Keyfile.o] Error 1
make: *** [all] Error 2
[root@arakus truecrypt-6.2a-source]#


As a shortcut I installed the pkcs11 library which was available via yum for YDL 6.2.:

Code: Select all
[root@arakus truecrypt-6.2a-source]# whereis pkcs11
pkcs11: /usr/lib/pkcs11


I think that I'm missing something extremely simple so a clue to complete this truecrypt compilation would be useful to me as well. I also copied the pkcs11.h code and placed it into where the library is located. See here:

Code: Select all
[root@arakus pkcs11]# ls
libcoolkeypk11.so  pkcs11.h
[root@arakus pkcs11]#


Ideas?

Everything on the Earth has a purpose.
Every disease an herb to cure it.
And every person has a mission.
This is the Indian Theory of Existence.
-- Morning Dove, Salish (1888-1936)
User avatar
aguilarojo
ydl addict
ydl addict
 
Posts: 125
Joined: 06 May 2009, 14:50
Location: New York City


Return to Playstation 3

Who is online

Users browsing this forum: MSN [Bot] and 10 guests