Re: How to compile Firefox on Solaris?
Greg Earle <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.unix |
|---|---|
| Organization | Another Netscape Collabra Server User |
| Message-ID | <210920041613480119%[email protected]> |
In article <[email protected]>, Akop Pogosian <[email protected]> wrote: > 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. I built 0.9.3 using Forte 6 Update 2, so I know it can be done - and it works. I built it on both Solaris 7 and Solaris 9. > Here is my .mozconfig file: Is that your .mozconfig for Firefox, or for Mozilla??? > 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 Here's mine: . ${topsrcdir}/browser/config/mozconfig ac_add_options --disable-debug ac_add_options --enable-optimize=-xO3 ac_add_options --disable-jsd Here's my ${topsrcdir}/browser/config/mozconfig: # 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 ; export MOZ_PHOENIX 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,universal chardet,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 Looks to me like you replicated your $topsrcdir/browser/config/mozconfig file inside your top-level .mozconfig file ... not sure why.