Sarah Nagaty's Blog

Step-By-Step Procedures for Building Thunderbird

Posted on: November 16, 2009

After my recovery from my colon problems, I resumed working on thunderbird building on ubuntu. I just realized that this might be the cause of my nervous colon!!! Anyways, I started the building process once again. Here are the building steps:

1. Installing cvs:

sudo apt-get install cvs

-Here I had an error that said: E: couldn’t find package cvs

so some additional commands had to be added in order to define cvs which are:

a. cat /etc/apt/sources.list

and the output was as follows:

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to

# newer versions of the distribution.

deb cdrom:[Ubuntu 7.04 _Feisty Fawn_ – Release amd64 (20070415)]/ feisty main restricted

deb http://us.archive.ubuntu.com/ubuntu/ feisty main restricted multiverse

deb-src http://us.archive.ubuntu.com/ubuntu/ feisty main restricted

## Major bug fix updates produced after the final release of the

## distribution.

deb http://us.archive.ubuntu.com/ubuntu/ feisty-updates main restricted multiverse

deb-src http://us.archive.ubuntu.com/ubuntu/ feisty-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu

## team, and may not be under a free licence. Please satisfy yourself as to

## your rights to use the software. Also, please note that software in

## universe WILL NOT receive any review or updates from the Ubuntu security

## team.

deb http://us.archive.ubuntu.com/ubuntu/ feisty universe

deb-src http://us.archive.ubuntu.com/ubuntu/ feisty universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu

## team, and may not be under a free licence. Please satisfy yourself as to

## your rights to use the software. Also, please note that software in

## multiverse WILL NOT receive any review or updates from the Ubuntu

## security team.

## Uncomment the following two lines to add software from the ‘backports’

## repository.

## N.B. software from this repository may not have been tested as

## extensively as that contained in the main release, although it includes

## newer versions of some applications which may provide useful features.

## Also, please note that software in backports WILL NOT receive any review

## or updates from the Ubuntu security team.

# deb http://us.archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse

# deb-src http://us.archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu feisty-security main restricted multiverse

deb-src http://security.ubuntu.com/ubuntu feisty-security main restricted

deb http://security.ubuntu.com/ubuntu feisty-security universe

deb-src http://security.ubuntu.com/ubuntu feisty-security universe

b. sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup

c. sudo gedit /etc/apt/sources.list

d. Delete the shown # and the space after it in the bold lines.

Save and then add:

e. sudo apt-get update

2. Installing build tools:

sudo apt-get build-dep thunderbird

sudo apt-get install mercurial libasound2-dev libcurl4-openssl-dev libnotify-dev

3. To get autoconf version 2.13:

wget http://ftp.gnu.org/gnu/autoconf/autoconf-2.13.tar.gz

tar -xvzf autoconf-2.13.tar.gz

cd autoconf-2.13/

./configure –program-suffix=2.13

make

sudo make install

4. Get the source:

hg clone http://hg.mozilla.org/comm-central/

cd comm-central

python client.py checkout

5. To get missing packages such as mesa or header files such as iwlib.h:

sudo apt-get install mesa-common-dev libiw-dev

6. Create an empty file in comm-central directory and rename it to “.mozconfig”

7. Add the following lines in the “.mozconfig” file:

mk_add_options MOZ_PBJDIR=@TOPSRCDIR@/objdir-tb-debug

ac_add_options –enable-application=mail

ac_add_options –enable-debug

ac_add_options –disable-optimize

8. Start the build:

make -f client.mk

Thanks to Eng. Mostafa ElKhouly who helped me through his useful blog.  Wohooooooooooooooo :))) finally, thunderbird is  built successfully =). I really hope that this blog is useful to others.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


  • None
  • ramsey nagaty: Hi Best of luck with your studies
  • snagaty: Anytime! uw :)
  • Auto Insurance Guy: Ah!!! at last I found what I was looking for. Somtimes it takes so much effort to find even tiny useful piece of information. Nice post. Thanks

Categories

%d bloggers like this: