Couldn't build on clean Ubuntu 11.10 #88

cdwiegand opened this Issue Dec 13, 2011 · 1 comment


None yet

1 participant


Couldn't build with a clean install of Ubuntu 11.10, with following added packages to the base: python erlang gcc make libmozjs185-dev libcurl3 libicu44 libicu-dev libcurl4-openssl-dev g++ libnspr4-0d

Had to patch the SConscript file to include a couple more dependencies in the right order. Wanted to send this up in case this was useful for anyone else.

diff --git a/couchjs/c_src/SConscript b/couchjs/c_src/SConscript
index 451c03d..e310807 100644
--- a/couchjs/c_src/SConscript
+++ b/couchjs/c_src/SConscript
@@ -53,7 +53,6 @@ if not env.GetOption('clean'):

  • require_lib('nspr4')

check for SpiderMonkey development header

if conf.CheckHeader('mozjs/jsapi.h'):
@@ -75,6 +74,11 @@ if not env.GetOption('clean'):
'Is Mozilla SpiderMonkey installed?'

  • require_lib('pthread')
  • require_lib('plds4')
  • require_lib('plc4')
  • require_lib('nspr4')
  • Must be AFTER the SpiderMonkey library checks for me

Detect the version of SpiderMonkey we're using

jsheader = "#include <%s>" % jsapi
versions = [


Made a patch, submitting as a pull request instead, closing 'issue'.

@cdwiegand cdwiegand closed this Dec 27, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment