LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
LinkBack Search this Thread
Old 04-26-2006, 04:14 AM   #1
netjack
Member
 
Registered: Sep 2003
Location: Italy
Distribution: ubuntu 12.04 64 bit
Posts: 89

Rep: Reputation: 15
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?
 
Old 04-26-2006, 06:48 AM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
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

Last edited by Lenard; 04-26-2006 at 07:10 AM.
 
Old 04-27-2006, 09:45 PM   #3
jkhg
LQ Newbie
 
Registered: Jan 2006
Distribution: Fedora Core 4, Slackware 12
Posts: 18

Rep: Reputation: 0
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.
 
Old 04-28-2006, 01:35 AM   #4
netjack
Member
 
Registered: Sep 2003
Location: Italy
Distribution: ubuntu 12.04 64 bit
Posts: 89

Original Poster
Rep: Reputation: 15
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

Last edited by netjack; 04-28-2006 at 02:37 AM.
 
Old 04-28-2006, 06:15 PM   #5
jkhg
LQ Newbie
 
Registered: Jan 2006
Distribution: Fedora Core 4, Slackware 12
Posts: 18

Rep: Reputation: 0
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.
 
Old 05-10-2006, 05:30 PM   #6
Chetchez
LQ Newbie
 
Registered: May 2006
Posts: 1

Rep: Reputation: 0
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.
 
  


Reply

Tags
thunderbird, update, yum


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Moving from Thunderbird in Windows to Thunderbird in Linux pnh73 Linux - Software 14 11-05-2011 09:24 AM
How to export/import Thunderbird mail to another computer with Thunderbird mail clau_bolson Linux - Software 1 04-06-2006 01:43 PM
New Guy - How to Update Thunderbird?? dads454 Linux - Software 8 11-28-2005 03:39 PM
Thunderbird and Firefox, Thunderbird doesnt launch firefox? sovietpower Slackware 1 11-01-2004 12:51 PM
Can't Update Thunderbird? phlyersphan Linux - Software 3 10-03-2004 12:21 PM


All times are GMT -5. The time now is 10:31 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration