Generating Linux/Unix builds of Thunderbird
-
- Posts: 2516
- Joined: April 2nd, 2003, 4:10 pm
- Location: Thunderbird Research Center, CA
- Contact:
Generating Linux/Unix builds of Thunderbird
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.
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!
-
- Posts: 999
- Joined: November 4th, 2002, 5:47 pm
- Location: UK
- Contact:
984
debug building is not recommended (at least by me)
add
add
Code: Select all
ac_add_options --disable-debug to .mozconfig
-
- Posts: 290
- Joined: November 5th, 2002, 2:08 am
- Location: Brussels, Belgium
- Contact:
-
- Posts: 999
- Joined: November 4th, 2002, 5:47 pm
- Location: UK
- Contact:
986
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 :
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
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
-
- Posts: 42
- Joined: January 23rd, 2003, 2:58 am
- Location: Sweden
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
-
- Posts: 2516
- Joined: April 2nd, 2003, 4:10 pm
- Location: Thunderbird Research Center, CA
- Contact:
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.
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!
-
- Posts: 8
- Joined: April 23rd, 2003, 2:21 pm
- Location: The Darkest Star
- Contact:
-
- Posts: 23
- Joined: December 24th, 2002, 10:31 am
-
- Posts: 3
- Joined: April 26th, 2003, 6:07 am
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:
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.
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.
- dseven
- Posts: 68
- Joined: January 3rd, 2003, 4:35 pm
- Location: Bay Area, CA
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.
-
- Posts: 2516
- Joined: April 2nd, 2003, 4:10 pm
- Location: Thunderbird Research Center, CA
- Contact:
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!
-
- Posts: 3
- Joined: April 26th, 2003, 6:07 am
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...
EDIT: scratch all that, something was checked in last night or this morning that fixed my issues. Starts up just fine now...