The every day things from Thalamus' life.

Thalamus' Blog

16 November, 2007

Firefox and JRE 1.6 problems on Fedora 8

Filed under: ComputerStuff_en — Thalamus @ 15:46

I had some problems getting firefox to work with sun java runtime. After some googleing I found this solution.

1) Open a terminal window
2) Paste this “sed -i ‘s/XINERAMA/FAKEEXTN/g’ /path/to/lib/i386/xawt/libmawt.so”
3) Restart firefox.

• • •
 

2 November, 2007

truecrypt, fc7 and kernel 2.6.23

Filed under: ComputerStuff_en — Thalamus @ 13:45

Hi !

Today I descided to upgrade my work-laptop with all the latest stuff. I normally compile some of the stuff needed manually instead of using rpms. So, I started the normal upgrade of all the fc7 packages. Everything except truecrypt came up nice and tidy. Truecrypt however, I needed to tweak abit and this is what I did.

1) Downloaded the kernel source kernel-2.6.23.1-10.fc7.src.rpm from my nearest mirror wich obviously is in norway. ftp://ftp.uninett.no/pub/linux/Fedora/updates/7/SRPMS/

2) Installed the kernel-source itself … rpm -ivh kernel-2.6.23.1-10.fc7.src.rpm

3) Installed sparce … yum install sparce

4) Made the kernel source …. rpmbuild -bp –target=$(uname -m) /usr/src/redhat/SPECS/kernel-2.6.spec

5) edited Linux/Kernel/Dm-target.c in the truecrypt-source directory, line 659, where I took away the last “NULL” (found it by the truecrypt forum, thanks to tomhtomhorsley)

6) edited the default build.sh – where I changed the variable “KERNEL_SRC=/usr/src/redhat/BUILD/kernel-2.6.23/vanilla” (the path of the source mentioned above)

So, now … truecrypt v4.3a is working again 🙂

• • •