2006/5/2Firefox1.5.0.3がリリースされた。
Windows版や
Linux版を早く使いたい方は、こちらが早い。
(※www.mozilla-japan.orgの
リンクページの更新はちょっと遅い)
・FTPサイト
そして、
Solaris版が5/8にリリースされた。
では、1.5.0.3のインストール方法を掲載する。
Firefox1.5.0.3を適当な場所にダウンロードする。
ここでは、/var/tmpにダウンロードしたとする。
既に、以前のバージョンのものをインストールしてある場合は一旦、pkgrmコマンドで削除する。
# pkgrm MOZfirefox
# bzip2 -dc firefox-1.5.0.3.en-US.solaris2.10-i386-pkg.tar.bz2 | tar xvf -
# pkgadd -d . MOZfirefox
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/
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