Hi Ian, If you just need langpacks, go to http://releases.mozilla.org/pub/mozilla.org/firefox/releases/4.0.1/linux-i686/xpi/
Download the langpack, e.g. zh-CN.xpi, rename it as langpack-zh...@firefox.mozilla.org.xpi . Copy it to <firefox directory>/extensions/. In Firefox about:config, turn on intl.locale.matchOS. Restart Firefox. It will pick the langpack to match your OS locale. If you want to build Firefox 4.0.1 by yourself, you have to use Solaris Studio 12.2. Go to http://src.opensolaris.org/source/xref/jds/spec-files/trunk Grab the spec-file and all the patches you will need. Thanks, Ginn On Jun 21, 2011, at 7:09 AM, Ian Johnson wrote: > I am trying to build Firefox 4.0.1 to include more localizations than > the contrib builds offer, but the same error appears appears > consistently in both Solaris 11 Express and OpenIndiana 151: > > "/home/ianj/mozilla/mozilla-2.0/js/src/jsclone.cpp", line 90: Error: > StructuredDataType is not within the range of a long or unsigned long. > > I have only found two or three other mentions of this error around the > web, all of which went unanswered. What I have been able to find about > the compiler error specifically suggests that the code is trying to use > 64-bit longs in 32-bit mode, but I wasn't able to determine how to fix > the problem. I followed the Solaris build instructions from Mozilla's > website exactly. Is anyone experienced with compiling Firefox familiar > with this error? I am using Sun Studio 12.1. > > Thanks, > > Ian Johnson > > _______________________________________________ > desktop-discuss mailing list > desktop-discuss@opensolaris.org _______________________________________________ desktop-discuss mailing list desktop-discuss@opensolaris.org