The builds under this direct is firefox builds for solaris.
If you encounter any problem with the builds, please send
email to mozorg-builds@sun.com
Notice:
-------
The code we used for Solaris build is slight different from
the official source code tarball of 1.5.0.3 release. We
applyed the patch of a critical crash bug(see below) in this
build.
Additional bug fix in this build,
https://bugzilla.mozilla.org/show_bug.cgi?id=334464
Installation:
-------------
Goto the directory where you want to install this build.
Make sure there is no firefox directory there.
Just recover the old firefox directory is not suggested.
Unpack the package.
$ bzip2 -dc [package name].tar.bz2 | tar xvf -
Then go to the install directory and run ./firefox.
If you want to just type "firefox" to start the release,
you can add it to PATH of setup a symbol link to /usr/bin.
$export PATH=<install directory>:$PATH
- or -
#ln -s <install directory>/firefox /usr/bin/firefox
To Enable Java:
---------------
cd <firefox directory>/plugins
ln -s /usr/java/jre/plugin/i386/ns7/libjavaplugin_oji.so .
To Enable Flash/Shockwave:
--------------------------
Download the Flash/Shockwave plugin from:
http://www.macromedia.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash&P2_Platform=Intel&P3_Browser_Version=Netscape4&P5_Language=English
Uncompress and untar it and place the files into the
<firefox directory>/plugins directory.
Troubleshooting:
----------------
* For solaris 8 builds, you need to install GTK 1.2 library.
The GTK 1.2 libraries can be got from sun.com or sunfreeware.com
* Also for solaris 8 builds, you may need to install the patches required.
If you can not start up firefox with the following error
ld.so.1: ./firefox-bin: fatal: relocation error: file ./firefox-bin: symbol fmod: referenced symbol not found.
You may need to add Math Library (libm) patch.
Solaris 5.8 sparc: 111721
Solaris 5.9 sparc: 111722
Solaris 5.8 i386: 112757
Solaris 5.9 i386: 111728
You may have more than one libm library in your system.
Please make sure that you are using the one in /usr/lib.
Compiler may also have one libm library, please do not use that one.
* If you just can not start up or encount some unexpect crash, try to do this.
Back up your "$HOME/.mozilla/firefox"
Remove this directory.
Start up the application without import anything.
Build instruction:
------------------
You can get the instruction here.
http://developer.mozilla.org/en/docs/Build_Documentation
I just list some special thing for solaris builds here.
The following is just an example. If you want to know how
exactly the builds are built, please type about:buildconfig
in url base and see the details.
* Set the build environment
export CC="<c Compiler>"
export CXX="<c++ compiler>"
export PERL="<perl>"
export PERL5="<perl>"
export CFLAGS="-xlibmil"
export CXXFLAGS="-xlibmil -xlibmopt -features=tmplife -norunpath"
export LDFLAGS="-R'\$\$ORIGIN:\$\$ORIGIN/..' -R/usr/sfw/lib -R/opt/sfw/lib -R/usr/local/lib"
* The following tools/libraries were used for compilation:
cc: Sun C 5.8 2005/10/13
CC: Sun C++ 5.8 2005/10/13
GNU Make 3.80
perl-5.8.4
* Set .mozconfig file
. $topsrcdir/browser/config/mozconfig
ac_add_options --enable-optimize="-xO3"
ac_add_options --disable-tests
ac_add_options --disable-debug
ac_add_options --enable-xft
ac_add_options --enable-svg
ac_add_options --disable-freetype2
ac_add_options --disable-auto-deps
ac_add_options --disable-tests
ac_add_options --enable-static
ac_add_options --enable-official-branding
ac_add_options --enable-default-toolkit=gtk2
mk_add_options BUILD_OFFICIAL=1
mk_add_options MOZILLA_OFFICIAL=1
dm-download02.mozilla.org in the Pacific Time Zone (PST/PDT)