You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by Apache Wiki <wi...@apache.org> on 2010/02/27 01:44:04 UTC
[Couchdb Wiki] Update of "Installing_SpiderMonkey" by JeromeVuarand
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.
The "Installing_SpiderMonkey" page has been changed by JeromeVuarand.
http://wiki.apache.org/couchdb/Installing_SpiderMonkey?action=diff&rev1=6&rev2=7
--------------------------------------------------
## page was renamed from InstallingSpiderMonkeyFromSource
+
+ == Installing from sources ==
+
+ 1. Get one of the source tarballs from http://ftp.mozilla.org/pub/mozilla.org/js/ (1.7.0 or 1.8.0-rc1 will do).
+ 1. Unpack the tarball. Note that once extracted the source are in the directory "js", without the expected version suffix.
+ 1. Go to the js/src directory.
- {{{
+ {{{
+ cd js/src
+ }}}
+ 1. Build SpiderMonkey. There is no default Makefile, use Makefile.ref. The default build is debug, BUILD_OPT=1 for an optimized build.
+ {{{
- make -f Makefile.ref
+ make BUILD_OPT=1 -f Makefile.ref
- JS_DIST=/usr/local/spidermonkey make -f Makefile.ref export
+ }}}
+ 1. Install SpiderMonkey. Instead of "install" the target to use is "export". Instead of PREFIX the target directory is specified with JS_DIST.
+ {{{
+ make BUILD_OPT=1 JS_DIST=/usr/local -f Makefile.ref export
}}}
== Notes when installing on OS X ==