Ken Mays wrote:
> Will there be a Firefox 3.0.1 tarball release for Solaris 8/9?
>   
Hi Ken,

Haven't got the time to put my hand on this yet. In case someone in the 
community is interested, following are what I did to build Firefox 3.0 
on Solaris 10:

1. Install Sun Studio 12 which I'm using.
% cc -V
cc: Sun C 5.9 SunOS_i386 Patch 124868-04 2008/03/11

But SS12 requires Solaris 10 or higher. Please go with SS11 and patch it 
to avoid a compiler bug: 
https://bugzilla.mozilla.org/show_bug.cgi?id=434340#c10.

2. Install CBE: 
http://opensolaris.org/os/project/jds/contributing/building/. Make some 
changes to /opt/jdsbld/bin/env.sh by applying the patch attached: 
env.sh.diff.

3. Replace the commands that don't work on Solaris 10.
% cd /opt/jdsbld/bin
% mv make make.bak
% ln -s /usr/sfw/bin/gmake make
% mv ls ls.bak
% ln -s /usr/bin/ls ls

4. Checkout the JDS spec source code for branch gnome-2-20:
svn co 
svn+ssh://anon at svn.opensolaris.org/svn/jds/spec-files/branches/gnome-2-20

5. Unpack the tar ball attached(firefox-solaris-10-spec.tar.bz2) to the 
spec file directory
% cd gnome-2-20
% gtar jxvf firefox-solaris-10-spec.tar.bz2

6. Unpack the patch tar ball 
attached(firefox-3.0-solaris-10-patches.tar.bz2) to the patches directory
% cd gnome-2-20/patches
% gtar jxvf firefox-3.0-solaris-10-patches.tar.bz2

7. Build glib/atk/cairo/pango/gtk2/dbus/dbus-glib/firefox by the command 
below:
% . /opt/jdsbld/bin/env.sh
% pkgtool --download build-only -v solaris10/SFW{name1}.spec
% pkgadd -d . {package_name1}
% pkgadd -d . {package_name1}-devel
% pkgtool --download build-only -v solaris10/SFW{name2}.spec
% pkgadd -d . {package_name2}
% pkgadd -d . {package_name2}-devel
......

Basically those are the steps I did to build Firefox 3.0 in Solaris 10. 
Not sure whether it's applicable for Solaris 8. It's not fully automatic 
yet. By following this, all the packages should be ready and be 
installed to /opt/sfw directory, including the development packages.

Cheers,
-Alfred

Reply via email to