You might want to look at the tracemonkey port at http://github.com/smparkes/johnson
or via the smparkes.johnson gem on gemcutter. It uses autoconf which
might do better on Solaris than the old, fixed makefiles that come
with spidermonkey.
Not sure what to do if it doesn't work (trying to keep with the config
files from mozilla) but maybe we'll be lucky and it doesn't require
any changes ... Then we'd only have to figure out (at the proper time)
how to make tracemonkey the default on Solaris and not try to build
spidermonkey.
> It uses autoconf
Meant to add you can build just the tracemonkey support with "rake
compile:tracemonkey" but only from the build tree; won't help with a
gem install.