LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (http://www.linuxquestions.org/questions/fedora-35/)
-   -   Thunderbird update (http://www.linuxquestions.org/questions/fedora-35/thunderbird-update-438918/)

netjack 04-26-2006 04:14 AM

Thunderbird update
 
Hi,

I am using FC4 and searched for this topic here and on Google.com/linux, but obviously didn't find a solution.

I'd like to update my Thunderbird mail client. I am currently using version 1.0.7. -1.1 fc4 after having done yum update thunderbird.

Newest stable is 1.5.0.2 (http://www.mozilla.com/thunderbird/) which I would like to use. I just downloaded the tar, unpacked it into the /usr/lib/thunderbird-1.5.0.2 and thought with one of the exectuable files in this dir would do - well they didn't.

yum update thunderbird won't return any further updates.

Any hint?

Lenard 04-26-2006 06:48 AM

Build your own...........

You need the source as download from Mozilla and the spec file found here;

http://www.fedoranews.org/tchung/thunderbird/1.5/

Name : thunderbird
Version : 1.5.0.2
Release : 1%{?dist}

Use the locate command to find your local copy for the two additional files needed and copy them to your /usr/src/redhat/SOURCES location;

locate thunderbird.desktop
locate thunderbird.png

$ pwd
/usr/src/redhat/SOURCES

-rw-rw-r-- 1 root root 10212996 Apr 19 16:58 thunderbird-1.5.0.2.tar.gz
-rw-r--r-- 1 root root 216 Apr 19 17:04 thunderbird.desktop
-rw-r--r-- 1 root root 21835 Apr 19 17:05 thunderbird.png

Some minor editing of the spec file in your /use/src/redhat/SOURCES folder is all that is needed;

Name : thunderbird
Version : 1.5.0.2
Release : 1%{?dist}

Once everything is done and you are now ready to build it, from the /usr/src/redhat/SPECS location do;

rpmbuild -bb thunderbird.spec


The same hold true for firefox(slightly easier);

The spec file and related files can be found here;

http://www.fedoranews.org/tchung/firefox/1.5.0.1/

They go in the /usr/src/redhat/SOURCES location;

$ pwd
/usr/src/redhat/SOURCES
$ ls -l
-rw-rw-r-- 1 root root 8453058 Apr 16 11:24 firefox-1.5.0.2.tar.gz
-rw-rw-r-- 1 root root 230 Apr 3 11:55 firefox.desktop
-rw-rw-r-- 1 root root 20158 Apr 3 11:56 firefox.png

A minor editing of the firefox.spec file located in /usr/src/redhat/SPECS;

Name : firefox
Version : 1.5.0.2
Release : 1%{?dist}

Then build; rpmbuild -bb firefox.spec

jkhg 04-27-2006 09:45 PM

You can use the version you downloaded, but you need to do a couple of things also:

1. You need to edit the script file '/usr/bin/thunderbird' and change the paths in it to point to your new thunderbird folder.

2. You need to edit the script file 'thunderbird' in your new thunderbird folder and change the paths in it also.

3. You need to install the lib 'compat-libstdc++-33-3.2.3-47.fc4.i386.rpm' if you don't have it installed already. It's available from one of the common repos (fedora-extras I think, but can't remember for sure).

4. Finally, it's a good idea to run your new version for the first time as root.

That's it.

I've been using the latest versions of Thunderbird and Firefox in FC4, and they work great.

netjack 04-28-2006 01:35 AM

Installing fresh thunderbird
 
Indeed I would like to use the .tar.gz file and avoid the rpm way.

I did extract the .tar.gz from mozilla into /usr/lib/thunderbird-1.5.0.2

After that, I update the thunderbird script located in /usr/bin for lines 13 and 14:

#MOZILLA_FIVE_HOME="$MOZ_LIB_DIR/thunderbird-1.0.7"
#MRE_HOME="$MOZ_LIB_DIR/thunderbird-1.0.7"
MOZILLA_FIVE_HOME="$MOZ_LIB_DIR/thunderbird-1.5.0.2"
MRE_HOME="$MOZ_LIB_DIR/thunderbird-1.5.0.2"


Then I open the thunderbird script located into /usr/lib/thunderbird-1.5.0.2. Here I change @ line 95:

#moz_libdir=/usr/local/lib/thunderbird-1.0.7
#MRE_HOME=/usr/local/lib/mre/mre-1.0.7
moz_libdir=/usr/lib/thunderbird-1.5.0.2
MRE_HOME=/usr/lib/mre/mre-1.5.0.2


libstdc++ is on my machine. However, when I call thunderbird from shell, nothing happens. Instead, switching into the /usr/lib/thunderbird-1.0.7 dir and calling thunderbird will launch the old mail client version...

o_O

jkhg 04-28-2006 06:15 PM

Quote:

libstdc++ is on my machine. However, when I call thunderbird from shell, nothing happens. Instead, switching into the /usr/lib/thunderbird-1.0.7 dir and calling thunderbird will launch the old mail client version...
Hmm... are you sure it's the correct libstdc++? What you describe is exactly what happened to me before I installed the correct lib.

Chetchez 05-10-2006 05:30 PM

Change your line:

MOZILLA_FIVE_HOME="$MOZ_LIB_DIR/thunderbird-1.5.0.2"
MRE_HOME="$MOZ_LIB_DIR/thunderbird-1.5.0.2"

To:

MOZILLA_FIVE_HOME=/usr/lib/thunderbird-1.5.0.2
MRE_HOME=/usr/lib/thunderbird-1.5.0.2

The problem is that you're calling $MOZ_LIB_DIR as the path which you set in the previous file to /usr/lib/thunderbird-1.5.0.2 and then tacking on an additional thunderbird-1.5.0.2 - Essentially looking for the path "/usr/lib/thunderbird-1.5.0.2/thunderbird-1.5.0.2" which doesn't exist. Just ="$MOZ_LIB_DIR" should work as well but I've not tested it.


All times are GMT -5. The time now is 07:51 AM.