Generating Linux/Unix builds of Thunderbird

Discussion about official Mozilla Thunderbird builds
Post Reply
mscott
Posts: 2516
Joined: April 2nd, 2003, 4:10 pm
Location: Thunderbird Research Center, CA
Contact:

Generating Linux/Unix builds of Thunderbird

Post by mscott »

In theory, you should now be able to generate a linux version of Thunderbird on the trunk. cdn sent me some patches which I just checked into the tree which should make this possible.

For starters, use the .mozconfig I have on:
http://www.mozilla.org/projects/thunderbird/build.html

I believe there are some unix specific config options that can be added here to (just like a regular mozilla build).

Many thanks to cdn for sending me the patches to get it building on Linux.

Let me know if you run into any problems building. We'll try to get an 'official' linux build up on the ftp site soon as well.
Thunderbirds are Go!
cdn
Posts: 999
Joined: November 4th, 2002, 5:47 pm
Location: UK
Contact:

984

Post by cdn »

debug building is not recommended (at least by me)

add

Code: Select all

ac_add_options --disable-debug to .mozconfig
Gilles
Posts: 290
Joined: November 5th, 2002, 2:08 am
Location: Brussels, Belgium
Contact:

Post by Gilles »

I just finished a build but it doesn't launch.
A profile is created but Thunderbird exits immediately after lauch.
cdn
Posts: 999
Joined: November 4th, 2002, 5:47 pm
Location: UK
Contact:

986

Post by cdn »

I've built it several days running now

I recommend disabling debug, since I had it falling over repeatedly when I didn't explicitly disable it

.mozconfig :

Code: Select all

# sh
# Build configuration script
#
# See http://www.mozilla.org/build/unix.html for build instructions.
#

# Options for 'configure' (same as command-line options).

ac_add_options --enable-crypto
ac_add_options --disable-mathml
ac_add_options --disable-installer
ac_add_options --disable-activex
ac_add_options --disable-tests
ac_add_options --enable-extensions=default,inspector,wallet
ac_add_options --disable-dtd-debug
ac_add_options --disable-debug
ac_add_options --disable-disk-cache
ac_add_options --enable-necko-protocols=http,file,jar,viewsource,res

# Note: icon is only required for windows and os2
ac_add_options --enable-image-decoders=png,gif,jpeg

export MOZ_THUNDERBIRD=1

mk_add_options MOZ_THUNDERBIRD=1



I've also tweaked DOM Inspector so it shows, hence the difference in the extensions line

it still can't retain a theme for toffee : ) and the icons are windows .ico in chrome/icons/default
satan
Posts: 42
Joined: January 23rd, 2003, 2:58 am
Location: Sweden

Post by satan »

Gilles wrote:I just finished a build but it doesn't launch.
A profile is created but Thunderbird exits immediately after lauch.

Exactly the same happens for me with my build..

My .mozconfig:

Code: Select all

# sh
# Build configuration script
#
# See http://www.mozilla.org/build/unix.html for build instructions.
#

# Options for 'configure' (same as command-line options).

ac_add_options --enable-crypto
ac_add_options --disable-mathml
ac_add_options --disable-installer
ac_add_options --disable-activex
ac_add_options --disable-tests
ac_add_options --enable-extensions=wallet
ac_add_options --disable-dtd-debug
ac_add_options --disable-disk-cache
ac_add_options --enable-necko-protocols=http,file,jar,viewsource,res
ac_add_options --enable-xterm-updates
ac_add_options --disable-debug

# Note: icon is only required for windows and os2
# ac_add_options --enable-image-decoders=icon,png,gif,jpeg

export MOZ_THUNDERBIRD=1

mk_add_options MOZ_THUNDERBIRD=1
mscott
Posts: 2516
Joined: April 2nd, 2003, 4:10 pm
Location: Thunderbird Research Center, CA
Contact:

Post by mscott »

My bad, you also need the patch in:
http://bugzilla.mozilla.org/show_bug.cgi?id=201891

otherwise if you don't have a thunderbird profile already, your build will go in an infinite loop, failing to load any chrome.

Use that patch and your linux builds should be good to go.
Thunderbirds are Go!
cdn
Posts: 999
Joined: November 4th, 2002, 5:47 pm
Location: UK
Contact:

988

Post by cdn »

I should have mentioned the patch(es)

one thing I did notice : the 'leave on server' checkbox got unchecked, and not by me
augustwest
Posts: 8
Joined: April 23rd, 2003, 2:21 pm
Location: The Darkest Star
Contact:

Post by augustwest »

does anyone know when the nightly builds are supposed to start becoming available?
T_Moz
Posts: 23
Joined: December 24th, 2002, 10:31 am

Post by T_Moz »

augustwest wrote:does anyone know when the nightly builds are supposed to start becoming available?

If it is needed, I can provide redhat 8 binaries
<a href="http://www.mozilla.org/products/firefox/" title="Get Firefox - Web Browsing Redefined">
Get firefox</a>
dmhaas
Posts: 3
Joined: April 26th, 2003, 6:07 am

Post by dmhaas »

I've tried to build thunderbird from cvs a couple of times over the last couple of days on Gentoo 1.4 rc4. I'm using Gcc 3.2.2 and glibc 2.3.2. Every time it's actually built it hasn't started. I can get into the profile manager and profile wizard if i start it with -ProfileManager and -ProfileWizard. I can create new profiles and it sees them but once I tell it to start I get dumped back to the command line. Here's my .mozconfig:

Code: Select all

# sh
# Build configuration script
#
# See http://www.mozilla.org/build/unix.html for build instructions.
#

# Options for 'configure' (same as command-line options).

ac_add_options --enable-crypto
ac_add_options --disable-mathml
ac_add_options --disable-installer
ac_add_options --disable-activex
ac_add_options --disable-tests
ac_add_options --enable-extensions=wallet
ac_add_options --disable-debug
ac_add_options --disable-dtd-debug
ac_add_options --disable-disk-cache
ac_add_options --enable-necko-protocols=http,file,jar,viewsource,res
ac_add_options --enable-image-decoders=png,gif,jpeg

export MOZ_THUNDERBIRD=1

mk_add_options MOZ_THUNDERBIRD=1


Anybody else have this problem? If not, does anyone know what I'm doing wrong. I don't have an old thunderbird profile, but I tried copying an old minotaur profile and editing it, an old mozilla profile and editing it, everything I could think of, but no dice. Thanks for any help.
User avatar
dseven
Posts: 68
Joined: January 3rd, 2003, 4:35 pm
Location: Bay Area, CA

Post by dseven »

dmhaas wrote:I've tried to build thunderbird from cvs a couple of times over the last couple of days on Gentoo 1.4 rc4. I'm using Gcc 3.2.2 and glibc 2.3.2. Every time it's actually built it hasn't started. I can get into the profile manager and profile wizard if i start it with -ProfileManager and -ProfileWizard. I can create new profiles and it sees them but once I tell it to start I get dumped back to the command line.


I was seeing exactly this for the last couple of days with my nightly trunk builds, but last night's build (Solaris/Forte) from the trunk (unpatched) is starting up fine.
mscott
Posts: 2516
Joined: April 2nd, 2003, 4:10 pm
Location: Thunderbird Research Center, CA
Contact:

Post by mscott »

dmhaas wrote:
Anybody else have this problem? If not, does anyone know what I'm doing wrong. I don't have an old thunderbird profile, but I tried copying an old minotaur profile and editing it, an old mozilla profile and editing it, everything I could think of, but no dice. Thanks for any help.


That's because you didn't read the information on the thunderbird project page:
http://www.mozilla.org/projects/thunderbird/

Look under the announcements I put up there for building a trunk build on your own. You need the patch in:
http://bugzilla.mozilla.org/show_bug.cgi?id=201891
Thunderbirds are Go!
dmhaas
Posts: 3
Joined: April 26th, 2003, 6:07 am

Post by dmhaas »

Sorry, forgot to mention it above, but I DID use the patch linked above and I've read the build info on the project page. Everything done as directed. I've built it with the patch and without and get the same behavior both ways.

EDIT: scratch all that, something was checked in last night or this morning that fixed my issues. Starts up just fine now...
Post Reply