Looks like Node.js is being aliased as SpiderMonkey. That won't work. I suggest installing V8 from source. I'll update the ClojureScript Github wiki with instructions for testing latest JavaScriptCore and SpiderMonkey.
David On Monday, July 30, 2012, Timothy Baldridge wrote: > I'm trying to run the tests for ClojureScirpt under Ubuntu 12.04. I > installed libmozjs, set the spidermonkey_home variable then ran script/test > and got this: > > > tim@tim-desktop:~/clojurescript$ script/test > V8_HOME not set, skipping V8 tests > Testing with SpiderMonkey > Error: unrecognized flag -m > Try --help for options > > node.js:201 > throw e; // process.nextTick error, or 'error' event on first tick > ^ > ReferenceError: print is not defined > at Object.<anonymous> > (/home/tim/clojurescript/out/core-advanced-test.js:349:506) > at Module._compile (module.js:441:26) > at Object..js (module.js:459:10) > at Module.load (module.js:348:32) > at Function._load (module.js:308:12) > at Array.0 (module.js:479:10) > at EventEmitter._tickCallback (node.js:192:41) > JSC_HOME not set, skipping JavaScriptCore tests > Tested with $[ran+1] out of 3 possible js targets > tim@tim-desktop:~/clojurescript$ cat script/test > > > What's the best way to run tests under Ubuntu? > > Thanks, > > Timothy > > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to > clojure@googlegroups.com<javascript:_e({}, 'cvml', > 'clojure@googlegroups.com');> > Note that posts from new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > clojure+unsubscr...@googlegroups.com <javascript:_e({}, 'cvml', > 'clojure%2bunsubscr...@googlegroups.com');> > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en