0.6.1 build for Redhat 7.3 with 'idiots' (i.e. me) guide

Discussion about official Mozilla Firefox builds
Post Reply
User avatar
d60b9y
Posts: 6
Joined: July 30th, 2003, 7:54 am
Location: Durham, United Kingdom
Contact:

0.6.1 build for Redhat 7.3 with 'idiots' (i.e. me) guide

Post by d60b9y »

Long time lurker, first time poster.... :-)

I tried 0.6.1 this morning but I couldn't get any of the Java plugins (I tried many) to work on my Redhat 7.3 machine thanks to (I think) the different versions of gcc.
Happily, all seems to work perfectly when I compiled my own version from the source. If anybody else has been having trouble having 0.6.1 to work under Redhat 7.3, feel free to grab my version from:

<a href="http://compsoc.dur.ac.uk/~njdc/FIREBIRD/0.6.1/"target="_top">http://compsoc.dur.ac.uk/~njdc/FIREBIRD/0.6.1/</a>

This is the first time that I've tried to build a proper distribtion so appologies if I've got anything wrong, but it all appears to work for me. As I've said, it was build under Redhat 7.3 using gcc 2.96 with the associated system libraries.

I've seen on this forum that many people have asked for detailed build instructions so here's how the tedious details of how I built this version.

1) Grab the source tarball from

<a href="http://ftp.mozilla.org/pub/firebird/releases/0.6.1/">http://ftp.mozilla.org/pub/firebird/releases/0.6.1/</a>

2) gunzip and untar the source code

3) cd mozilla

4) create ./.mozconfig containing the following:

MOZ_PHOENIX=1
export MOZ_PHOENIX
mk_add_options MOZ_PHOENIX=1
ac_add_options --enable-crypto
ac_add_options --disable-tests
ac_add_options --disable-debug
ac_add_options --disable-mailnews
ac_add_options --disable-composer
ac_add_options --enable-optimize=-O2
ac_add_options --disable-ldap
ac_add_options --disable-mailnews
ac_add_options --enable-extensions=default,-inspector,-irc,-venkman,-content-packs,-help
ac_add_options --enable-plaintext-editor-only
ac_add_options --without-system-nspr
ac_add_options --without-system-zlib
ac_add_options --without-system-jpeg
ac_add_options --without-system-png
ac_add_options --without-system-mng

5) Set the two environment variables:

setenv MOZILLA_OFFICIAL 1
setenv BUILD_OFFICIAL 1

6) ./configure

7) gmake (Go for coffee....)

That builds it for you. If you want to package it up:

8) cd xpinstall/packager

9) gmake MOZ_PKG_APPNAME=MozillaFirebird MOZILLA_BIN="${WHEREYOUSTARTED}/mozilla/dist/bin/MozillaFirebird-bin"

The package appears in ${WHEREYOUSTARTED}/dist

Like I said, this is the first package that I've tried to make public, so I'm expecting hundreds of comments telling me where I've gone wrong... ;-)

Enjoy,
Nathan
pr0c
Posts: 58
Joined: March 14th, 2003, 10:18 am

Post by pr0c »

just a curiousity question really... why do you use such an old version of redhat?
User avatar
d60b9y
Posts: 6
Joined: July 30th, 2003, 7:54 am
Location: Durham, United Kingdom
Contact:

Post by d60b9y »

[quote="pr0c"]just a curiousity question really... why do you use such an old version of redhat?[/quote]

I'm doing a Ph.D. at the University of Durham and this is my work machine and so my upgrades are at the mercy of the massively overworked sysadmin.

Secondly, I quite like my mp3 collection and I'm too lazy to upgrade the OS to then have to patch a load of audio-players, not to mention not wanting to have to go through all of my data-reduction scripts to check that they're still working properly when I've only got a couple of months of funding left.

Nathan.
Old Persist
Posts: 0
Joined: December 31st, 1969, 5:00 pm

Post by Old Persist »

This is genius man. Do you do an idiots guide to Thunderbird?
User avatar
Radiowriter
Posts: 3146
Joined: November 4th, 2002, 7:44 pm
Location: Minneapolis, MN

Post by Radiowriter »

The forum's most prolific poster (daihard) also uses RedHat 7.3 and produces his own builds. You may want to direct your questions to him. Try a PM. :)
Sarcasm - Another service I offer.
Firefox 3.0 :: XP
Post Reply