How to compile Firefox on Solaris?
Akop Pogosian <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.unix |
|---|---|
| Organization | Another Netscape Collabra Server User |
| Message-ID | <[email protected]> |
I would like to compile Firefox 0.9.3 on Solaris 8/SPARC using Sun Forte 6 update 2 compiler suite with fairly recent patches. Is this configuration supported? If I compile Firefox on the same machine using gcc 3.4.1, it works fine. However, the Sun Forte build has some strange problems. When I run ./firefox, it just sits there and then exits a few seconds after with no errors printed. It also does something to my .mozilla and .firefox directories so that the working gcc firefox build does not work after that unless I remove those directories. Here is my .mozconfig file: ac_add_options --disable-tests ac_add_options --disable-debug ac_add_options --disable-freetype2 ac_add_options --without-system-nspr ac_add_options --without-system-zlib ac_add_options --without-system-jpeg ac_add_options --without-system-png ac_add_options --without-system-mng ac_add_options --enable-optimize="-xO2" ac_add_options --enable-official-branding ac_add_options --enable-xinerama mk_add_options CC=cc mk_add_options CXX=CC mk_add_options BUILD_OFFICIAL=1 mk_add_options MOZILLA_OFFICIAL=1 mk_add_options MOZ_OBJDIR=/tmp/firefox BUILD_OFFICIAL=1 MOZILLA_OFFICIAL=1 CC=cc CXX=CC # This file specifies the build flags for Firefox. You can use it by adding: # . $topsrcdir/browser/config/mozconfig # to the top of your mozconfig file. MOZ_PHOENIX=1 mk_add_options MOZ_PHOENIX=1 ac_add_options --disable-ldap ac_add_options --disable-mailnews ac_add_options --enable-extensions=cookie,xml-rpc,xmlextras,pref,transformiix,universalchardet,typeaheadfind,webservices,inspector,gnomevfs,negotiateauth ac_add_options --enable-crypto ac_add_options --disable-composer ac_add_options --enable-single-profile ac_add_options --disable-profilesharing