Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6BD53743A for ; Mon, 24 Oct 2011 15:00:43 +0000 (UTC) Received: (qmail 17194 invoked by uid 500); 24 Oct 2011 15:00:41 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 17154 invoked by uid 500); 24 Oct 2011 15:00:41 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 17146 invoked by uid 99); 24 Oct 2011 15:00:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Oct 2011 15:00:41 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of adam.kocoloski@gmail.com designates 209.85.161.180 as permitted sender) Received: from [209.85.161.180] (HELO mail-gx0-f180.google.com) (209.85.161.180) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Oct 2011 15:00:34 +0000 Received: by ggnv2 with SMTP id v2so8685738ggn.11 for ; Mon, 24 Oct 2011 08:00:13 -0700 (PDT) Received: by 10.150.140.16 with SMTP id n16mr21205504ybd.76.1319468413699; Mon, 24 Oct 2011 08:00:13 -0700 (PDT) Received: from [192.168.0.164] (c-24-60-185-198.hsd1.ma.comcast.net. [24.60.185.198]) by mx.google.com with ESMTPS id x3sm60901705anl.6.2011.10.24.08.00.11 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 24 Oct 2011 08:00:11 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1084) Subject: Re: undefined reference to JS_SealObject From: Adam Kocoloski In-Reply-To: <4EA57C59.6020707@gmail.com> Date: Mon, 24 Oct 2011 11:00:09 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: References: <4EA57854.8080805@gmail.com> <1B88D95B-94A9-469F-8B32-6A958C39E315@apache.org> <4EA57C59.6020707@gmail.com> To: user@couchdb.apache.org X-Mailer: Apple Mail (2.1084) X-Virus-Checked: Checked by ClamAV on apache.org Ok then -- 1.1.0 does not support JS 1.8.5 (the 1.1.1 candidate we're = voting on now does). Jim, I should have asked in the beginning, but did you try to build = BigCouch from the master branch or from a tag? Adam On Oct 24, 2011, at 10:55 AM, CGS wrote: > CouchDB version 1.1.0. >=20 > On 10/24/2011 04:47 PM, Adam Kocoloski wrote: >> Ugh, that's really not good. What version of CouchDB were you using? >>=20 >> Adam >>=20 >> On Oct 24, 2011, at 10:38 AM, CGS wrote: >>=20 >>> I remember I installed CouchDB using Spidermonkey from 'git clone = git://github.com/membase/spidermonkey.git' and it worked. I used that = because the official version 1.8.5 raised similar error in CouchDB = compilation. Maybe it will help you as well. >>>=20 >>> Cheers, >>> CGS >>>=20 >>>=20 >>>=20 >>>=20 >>> On 10/24/2011 04:00 PM, Adam Kocoloski wrote: >>>> Hi Jim, thanks for the reminder to update the instructions, 1.8.5 = is definitely preferred now. >>>>=20 >>>> Paul wrote most of the current logic to compile couchjs against = various versions of Spidermonkey in both CouchDB and BigCouch. I don't = know if he tried the Ubuntu 11.10 package specifically. I suspect when = he's up later today he'll have some insight on the matter. Regards, >>>>=20 >>>> Adam >>>>=20 >>>> On Oct 24, 2011, at 9:51 AM, Jim R. Wilson wrote: >>>>=20 >>>>> My apologies if this is the wrong list for this kind of question. = I >>>>> couldn't find a BigCouch specific mailing list. >>>>>=20 >>>>> 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. >>>>>=20 >>>>> When I try to make, the build fails and I get this (followed by a = bunch of >>>>> similar errors): >>>>>=20 >>>>> 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' >>>>>=20 >>>>> I found an email chain[2] suggesting that the problem is that this = version >>>>> of spidermonkey is too new for couchdb. >>>>>=20 >>>>> 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: >>>>>=20 >>>>>=20 >>>>> = /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' >>>>>=20 >>>>> Any help is appreciated, thanks in advance. >>>>>=20 >>>>> [1] https://github.com/cloudant/bigcouch >>>>> [2] http://permalink.gmane.org/gmane.comp.db.couchdb.user/15583 >>>>>=20 >>>>> -- Jim R. Wilson (jimbojw) >=20