Kriton donated a solaris build for mozilla 0.9 and had
this feedback on the psm build process. forwarding to
the appropriate places.
I suppose one reason he had trouble might be that
the distribution page links to directions for building
psm 1. Would someone please check in psm2 directions?
http://mozilla.org/build/distribution.html
Kriton Kyrimis wrote:
<snip>
>
> The program seems to run under x86 Solaris 2.7, as well.
>
> Building PSM was a bit of a pain, as I had to do a few things by hand
> to make it compile:
> * Set the NS_USE_GCC and NO_MDUPDATE environment variables by hand. The
> first one was required to convince the makefiles to use gcc instead
> of cc. The second was required because even with NS_USE_GCC, the
> makefiles would still use some cc-specific options.
> * Add an "ARCHFLAG=" line in security/coreconf/SunOS5.mk, immediately
> after the code that assigns a value to this variable, as SunOS5.mk
> will assign a SPARC-specific value to this variable!
> * Remove GNU ld from the path, as the makefiles use some Sun ld-specific
> options, which GNU ld does not understand. (Namely the -M option.)
> Editing the Makefiles to use the equivalent GNU ld option, may be an
> alternative, but I have not tried it.
> * Issue a "ln -s SunOS5.8_i86pc_OPT.OBJ SunOS5.8_i86pc_x86_OPT.OBJ"
> command in the dist directory, as the Makefiles install the
> generated libraries in SunOS5.8_i86pc_x86_OPT.OBJ instead of
> SunOS5.8_i86pc_OPT.OBJ.
>
> I hope you find this build useful.
>