My apologies if this is the wrong list for this kind of question. I
couldn't find a BigCouch specific mailing list.
I'm trying to build bigcouch for the first time (on Ubuntu 11.10 Oneiric).
The instructions[1] say to use spidermonkey 1.9.2 and include steps on how
to get this from ppa.
When I try to make, the build fails and I get this (followed by a bunch of
similar errors):
c++ -o build/couchjs -L/usr/lib/xulrunner-devel-2.0/lib
build/main.o build/http.o build/utf8.o build/util.o -lm -lpthread -lcurl
-lnspr4 -lmozjs
build/main.o: In function `seal':
/tmp/bigcouch/couchjs/build/sm180.c:229: undefined reference to
`JS_SealObject'
I found an email chain[2] suggesting that the problem is that this version
of spidermonkey is too new for couchdb.
However, when I back out spidermonkey 1.9.2 and use the 1.8.5 version
available through the normal apt channels, I get this:
/usr/lib/gcc/x86_64-linux-gnu/4.6.1/../../../../lib/libmozjs185-1.0.a
(RegexCompiler.o):
In function `JSC::Yarr::compileRegex(JSLinearString
const&, JSC::Yarr::RegexPattern&)': (.text+0x26ca): undefined
reference to `PR_AtomicDecrement'
Any help is appreciated, thanks in advance.
[1] https://github.com/cloudant/bigcouch
[2] http://permalink.gmane.org/gmane.comp.db.couchdb.user/15583
-- Jim R. Wilson (jimbojw)