The builds under this direct is firefox builds for solaris.
If you encounter any problem with the packages, please send
email to mozorg-builds@sun.com
Installation:
-------------
* First extract the tar ball
$ bzip2 -dc [package name].tar.bz2 | tar xvf -
You will get a directory MOZfirefox
* As root install the package
# pkgadd -d . MOZfirefox
The firefox will be installed in /opt directory.
To Enable Java:
---------------
cd /opt/sfw/lib/firefox/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
/opt/sfw/lib/firefox/plugins directory.
To Start Firefox:
-----------------
$ /opt/sfw/bin/firefox
- OR -
Add /opt/sfw/bin to your PATH and execute "firefox"
- OR -
You can add a desktop file into system.
cat >firefox.desktop << EOF
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Type=Application
Exec=/opt/sfw/bin/firefox
TryExec=
Icon=/opt/sfw/lib/firefox/icons/mozicon50.xpm
X-GNOME-DocPath=
Terminal=false
Name=Mozilla Firefox
GenericName=Firefox
Comment=Firefox
Categories=Application;Network;
EOF
And copy firefox.desktop to /usr/share/applications 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)