OpenSolaris : Mozilla Firefox や SeaMonkey をビルドする
$ pfexec pkg install SUNWhea SUNWsvn SUNWmercurial SUNWsfwhea SUNWxwinc SUNWxorg-headers SUNWgm4 SUNWgnome-common-devel SUNWcvs SUNWgmake sunstudio開発環境の java-dev, ss-dev, ruby-dev, amp-dev などをインストールしてあるのであれば追加で必要なのは SUNWsfwhea, SUNWxwinc, SUNWxorg-headers, SUNWgnome-common-devel です。
ソース:
ちょうど 1.1.4 が出たばかりなのでそれを使います。
ビルドオプションを設定して configure を走らせます。Sun Studio Express を使うので次のように $CC と $CXX を設定します。
環境設定:
export CC=/opt/SunStudioExpress/bin/cc export CXX=/opt/SunStudioExpress/bin/CC export LDFLAGS="-L/usr/sfw/lib -R/usr/sfw/lib".mozconfig:
Firefox をビルドする場合には suite を browser にします。
ac_add_options --enable-application=suite ac_add_options --disable-optimize ac_add_options --disable-debug ac_add_options --enable-default-toolkit=gtk2 ac_add_options --enable-xft ac_add_options --disable-freetype2 ac_add_options --disable-svg ac_add_options --disable-canvas ac_add_options --disable-auto-deps ac_add_options --disable-testsこれで configure して gmake を走らせればビルドできます。




Nice job! Another option to build SeaMonkey is to use CBE (http://opensolaris.org/os/project/jds/contributing/building/) and spec file from SFE (https://pkgbuild.svn.sourceforge.net/svnroot/pkgbuild/spec-files-extra/trunk/SFEseamonkey.spec). And you can get the Solaris package format too.
Posted by alfred on December 19, 2008 at 11:25 PM JST #
Posted by blogring.org on December 21, 2008 at 04:22 AM JST #
Thanks Alfred for comment and useful information! I'd like to try.
Posted by Masaki Katakai on December 22, 2008 at 10:13 PM JST #