Sunday, November 8, 2009

Thunderbird build finally works !!!! :D:D

FINALLYYYYYYYYYYYYYYY!!!!!
well,for those who have been following me on mt blog,they know how much i suffered during my various trials to build the thunderbird mail client on my machine.
GOOD NEWS people...i finally managed to build it :D :D. Before stating how it was built,i would like to mention my mistake,so that it could be beneficial for anyone.
My main and major mistake,that i was kind of mix and matching online tutorials on how to build it,i didn't stick to one tutorial,and thus the procedures were contradicting ( the main problem that faced me was that the TB build was bothered by a previous TB build,and i couldn't clean the folder properly)
well,the building process goes as follows:

1. Get build prerequisites:
sudo apt-get build-dep thunderbird
sudo apt-get install mercurial libasound2-dev libcurl4-openssl-dev libnotify-dev
2.Get the source :
hg clone http://hg.mozilla.org/comm-central/
cd comm-central
python client.py checkout
3.Configuration: Create your own .mozconfig (simply create a new empty file and type the following in it) file in the comm-central directory,where u specify your build options as follows:
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/objdir-tb-debug
ac_add_options --enable-application=mail
ac_add_options --enable-debug
ac_add_options --disable-optimize
4.Build:
make -f client.mk

5.RUN:
The thunderbird executable can be found in objdir-tb-release/mozilla/dist/bin/
on linux u open the terminal and start typing:

cd ~/comm-central/objdir-tb-debug/mozilla/dist/bin$
./thunderbird


ANd you got it :D:D !!!

Screen shot: Thunderbird build complete
Screen shot: Thunderbird running =)

2 comments:

  1. Congratulationsss!! am really happy =)

    ReplyDelete
  2. Congrats Mina,
    I am happy as well :)
    Feels good doesn't it ;)

    ReplyDelete