You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by "Jim R. Wilson" <wi...@gmail.com> on 2011/10/24 15:51:20 UTC
undefined reference to JS_SealObject
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)
Re: undefined reference to JS_SealObject
Posted by Adam Kocoloski <ko...@apache.org>.
If you have a way to get the official SM 1.8.5 build I'd use that. Spidermonkey builds newer than 1.8.5 definitely will not work without some major changes to the way CouchDB works. Note that "1.9.2" is an xulrunner version which corresponds to something like ~1.8.0. It's not actually newer than 1.8.5.
For BigCouch I'd recommend building from the bigcouch-0.4.0pre2 tag. Regards,
Adam
On Oct 25, 2011, at 2:40 PM, Jim R. Wilson wrote:
> So, back to Oneiric + BigCouch. Should I use spidermonkey 1.9.2 or 185?
> Should I build from source or install from a repo? Thanks in advance,
>
> -- Jim
>
> On Tue, Oct 25, 2011 at 8:59 AM, Jim R. Wilson <wi...@gmail.com>wrote:
>
>> Hi Jason,
>>
>> Thanks for all your work on build-couchdb. I had about given up on
>> building couch when I found it, and it made my life significantly simpler.
>>
>> -- Jim
>>
>>
>> On Tue, Oct 25, 2011 at 4:29 AM, Jason Smith <jh...@iriscouch.com> wrote:
>>
>>> On Tue, Oct 25, 2011 at 6:54 AM, CGS <cg...@gmail.com> wrote:
>>>> Hi Jason,
>>>>
>>>> First of all, good job that you thought to share from your experience
>>> and
>>>> put everything into a package.
>>>>
>>>> Just out of curiosity, I would like to ask you few questions if I may.
>>>>
>>>> 1. I noticed you put all the dependencies in your project (or at least
>>> most
>>>> of them). Why didn't you use wget (or git or whatever) instead to bring
>>> them
>>>> locally from the projects web pages?
>>>
>>> CouchDB could run anywhere. We should be able to burn a checkout onto
>>> a CD-ROM and install offline.
>>>
>>>> 2. I also noticed you used log files for some processes while for others
>>>> there are no such file (e.g., for icu you used config.log, but you
>>> didn't
>>>> add also the the compilation and installation to that log). Is there a
>>>> reason or just the time didn't allow you to add logs for that? I am
>>> sorry if
>>>> this question is not correct, I see that scripting language for the
>>> first
>>>> time (I use BASH/AWK/SED and maybe few more for scripting).
>>>
>>> Build CouchDB was debugged into existence. Every feature was made to
>>> solve some purpose at some time. I have not (intentionally) made
>>> anything consistent. I have not worried about architecture or best
>>> practices. Instead, I focus on continuous testing and confirming that
>>> it works on every operating system. Once CouchDB is built, you never
>>> run build-couchdb ever again.
>>>
>>>> 3. And one last thing related to the choice of scripting language. Is
>>> there
>>>> a reason you chose rake or it is just because you feel yourself "at
>>> home"
>>>> with it?
>>>
>>> Rake is an excellent domain-specific language for accomplishing stuff.
>>> It is nice for building software because you can mix file tasks (like
>>> Make) and also abstract tasks (like Ant). Rake is based on Ruby which
>>> is widely-available, probably second-best language (after Perl): it is
>>> bundled in the operating system by every Linux distribution and OS X;
>>> and it is very convenient to install on Solaris.
>>>
>>>> Don't get me wrong, my intention was never to criticize your work. I
>>> think
>>>> you did great especially that you shared it with all of us. I am just
>>> curios
>>>> because I've seen different ways to do the same job and I am trying to
>>> learn
>>>> which one is the most suitable for such a job (maybe I will follow it as
>>>> well because I am doing also some sys admin work).
>>>
>>> Totally. Sometimes I joke that build-couchdb is the worst thing I've
>>> ever made; however, to a large extent, it is necessarily complex and
>>> unaesthetic because the job it must perform is complex and
>>> unaesthetic.
>>>
>>> --
>>> Iris Couch
>>>
>>
>>
Re: undefined reference to JS_SealObject
Posted by Paul Davis <pa...@gmail.com>.
Jim,
You should be able to build BigCouch master with the tarball at [1].
You should be able to just ignore the steps in the BigCouch README
about SpiderMonkey and just replace them with a standard "./configure
&& make && make install" pattern for the tarball (though I haven't yet
tested this on CentOS).
Alternatively, I've been hacking on the deb packages at [2] if you
have an Ubuntu/Debian machine somewhere. I've only tested these
packages on Ubuntu 10.04 and Debian 5.0 which we use internally for
hosting. We plan on making rpm's at some point, but I don't have an
ETA for them yet.
Let me know if you have any issues.
[1] http://ftp.mozilla.org/pub/mozilla.org/js/js185-1.0.0.tar.gz
[2] http://builds.cloudant.com/libmozjs185-1.0.0/Ubuntu/10.04/amd64/
On Tue, Oct 25, 2011 at 1:40 PM, Jim R. Wilson <wi...@gmail.com> wrote:
> So, back to Oneiric + BigCouch. Should I use spidermonkey 1.9.2 or 185?
> Should I build from source or install from a repo? Thanks in advance,
>
> -- Jim
>
> On Tue, Oct 25, 2011 at 8:59 AM, Jim R. Wilson <wi...@gmail.com>wrote:
>
>> Hi Jason,
>>
>> Thanks for all your work on build-couchdb. I had about given up on
>> building couch when I found it, and it made my life significantly simpler.
>>
>> -- Jim
>>
>>
>> On Tue, Oct 25, 2011 at 4:29 AM, Jason Smith <jh...@iriscouch.com> wrote:
>>
>>> On Tue, Oct 25, 2011 at 6:54 AM, CGS <cg...@gmail.com> wrote:
>>> > Hi Jason,
>>> >
>>> > First of all, good job that you thought to share from your experience
>>> and
>>> > put everything into a package.
>>> >
>>> > Just out of curiosity, I would like to ask you few questions if I may.
>>> >
>>> > 1. I noticed you put all the dependencies in your project (or at least
>>> most
>>> > of them). Why didn't you use wget (or git or whatever) instead to bring
>>> them
>>> > locally from the projects web pages?
>>>
>>> CouchDB could run anywhere. We should be able to burn a checkout onto
>>> a CD-ROM and install offline.
>>>
>>> > 2. I also noticed you used log files for some processes while for others
>>> > there are no such file (e.g., for icu you used config.log, but you
>>> didn't
>>> > add also the the compilation and installation to that log). Is there a
>>> > reason or just the time didn't allow you to add logs for that? I am
>>> sorry if
>>> > this question is not correct, I see that scripting language for the
>>> first
>>> > time (I use BASH/AWK/SED and maybe few more for scripting).
>>>
>>> Build CouchDB was debugged into existence. Every feature was made to
>>> solve some purpose at some time. I have not (intentionally) made
>>> anything consistent. I have not worried about architecture or best
>>> practices. Instead, I focus on continuous testing and confirming that
>>> it works on every operating system. Once CouchDB is built, you never
>>> run build-couchdb ever again.
>>>
>>> > 3. And one last thing related to the choice of scripting language. Is
>>> there
>>> > a reason you chose rake or it is just because you feel yourself "at
>>> home"
>>> > with it?
>>>
>>> Rake is an excellent domain-specific language for accomplishing stuff.
>>> It is nice for building software because you can mix file tasks (like
>>> Make) and also abstract tasks (like Ant). Rake is based on Ruby which
>>> is widely-available, probably second-best language (after Perl): it is
>>> bundled in the operating system by every Linux distribution and OS X;
>>> and it is very convenient to install on Solaris.
>>>
>>> > Don't get me wrong, my intention was never to criticize your work. I
>>> think
>>> > you did great especially that you shared it with all of us. I am just
>>> curios
>>> > because I've seen different ways to do the same job and I am trying to
>>> learn
>>> > which one is the most suitable for such a job (maybe I will follow it as
>>> > well because I am doing also some sys admin work).
>>>
>>> Totally. Sometimes I joke that build-couchdb is the worst thing I've
>>> ever made; however, to a large extent, it is necessarily complex and
>>> unaesthetic because the job it must perform is complex and
>>> unaesthetic.
>>>
>>> --
>>> Iris Couch
>>>
>>
>>
>
Re: undefined reference to JS_SealObject
Posted by "Jim R. Wilson" <wi...@gmail.com>.
So, back to Oneiric + BigCouch. Should I use spidermonkey 1.9.2 or 185?
Should I build from source or install from a repo? Thanks in advance,
-- Jim
On Tue, Oct 25, 2011 at 8:59 AM, Jim R. Wilson <wi...@gmail.com>wrote:
> Hi Jason,
>
> Thanks for all your work on build-couchdb. I had about given up on
> building couch when I found it, and it made my life significantly simpler.
>
> -- Jim
>
>
> On Tue, Oct 25, 2011 at 4:29 AM, Jason Smith <jh...@iriscouch.com> wrote:
>
>> On Tue, Oct 25, 2011 at 6:54 AM, CGS <cg...@gmail.com> wrote:
>> > Hi Jason,
>> >
>> > First of all, good job that you thought to share from your experience
>> and
>> > put everything into a package.
>> >
>> > Just out of curiosity, I would like to ask you few questions if I may.
>> >
>> > 1. I noticed you put all the dependencies in your project (or at least
>> most
>> > of them). Why didn't you use wget (or git or whatever) instead to bring
>> them
>> > locally from the projects web pages?
>>
>> CouchDB could run anywhere. We should be able to burn a checkout onto
>> a CD-ROM and install offline.
>>
>> > 2. I also noticed you used log files for some processes while for others
>> > there are no such file (e.g., for icu you used config.log, but you
>> didn't
>> > add also the the compilation and installation to that log). Is there a
>> > reason or just the time didn't allow you to add logs for that? I am
>> sorry if
>> > this question is not correct, I see that scripting language for the
>> first
>> > time (I use BASH/AWK/SED and maybe few more for scripting).
>>
>> Build CouchDB was debugged into existence. Every feature was made to
>> solve some purpose at some time. I have not (intentionally) made
>> anything consistent. I have not worried about architecture or best
>> practices. Instead, I focus on continuous testing and confirming that
>> it works on every operating system. Once CouchDB is built, you never
>> run build-couchdb ever again.
>>
>> > 3. And one last thing related to the choice of scripting language. Is
>> there
>> > a reason you chose rake or it is just because you feel yourself "at
>> home"
>> > with it?
>>
>> Rake is an excellent domain-specific language for accomplishing stuff.
>> It is nice for building software because you can mix file tasks (like
>> Make) and also abstract tasks (like Ant). Rake is based on Ruby which
>> is widely-available, probably second-best language (after Perl): it is
>> bundled in the operating system by every Linux distribution and OS X;
>> and it is very convenient to install on Solaris.
>>
>> > Don't get me wrong, my intention was never to criticize your work. I
>> think
>> > you did great especially that you shared it with all of us. I am just
>> curios
>> > because I've seen different ways to do the same job and I am trying to
>> learn
>> > which one is the most suitable for such a job (maybe I will follow it as
>> > well because I am doing also some sys admin work).
>>
>> Totally. Sometimes I joke that build-couchdb is the worst thing I've
>> ever made; however, to a large extent, it is necessarily complex and
>> unaesthetic because the job it must perform is complex and
>> unaesthetic.
>>
>> --
>> Iris Couch
>>
>
>
Re: undefined reference to JS_SealObject
Posted by "Jim R. Wilson" <wi...@gmail.com>.
Hi Jason,
Thanks for all your work on build-couchdb. I had about given up on building
couch when I found it, and it made my life significantly simpler.
-- Jim
On Tue, Oct 25, 2011 at 4:29 AM, Jason Smith <jh...@iriscouch.com> wrote:
> On Tue, Oct 25, 2011 at 6:54 AM, CGS <cg...@gmail.com> wrote:
> > Hi Jason,
> >
> > First of all, good job that you thought to share from your experience and
> > put everything into a package.
> >
> > Just out of curiosity, I would like to ask you few questions if I may.
> >
> > 1. I noticed you put all the dependencies in your project (or at least
> most
> > of them). Why didn't you use wget (or git or whatever) instead to bring
> them
> > locally from the projects web pages?
>
> CouchDB could run anywhere. We should be able to burn a checkout onto
> a CD-ROM and install offline.
>
> > 2. I also noticed you used log files for some processes while for others
> > there are no such file (e.g., for icu you used config.log, but you didn't
> > add also the the compilation and installation to that log). Is there a
> > reason or just the time didn't allow you to add logs for that? I am sorry
> if
> > this question is not correct, I see that scripting language for the first
> > time (I use BASH/AWK/SED and maybe few more for scripting).
>
> Build CouchDB was debugged into existence. Every feature was made to
> solve some purpose at some time. I have not (intentionally) made
> anything consistent. I have not worried about architecture or best
> practices. Instead, I focus on continuous testing and confirming that
> it works on every operating system. Once CouchDB is built, you never
> run build-couchdb ever again.
>
> > 3. And one last thing related to the choice of scripting language. Is
> there
> > a reason you chose rake or it is just because you feel yourself "at home"
> > with it?
>
> Rake is an excellent domain-specific language for accomplishing stuff.
> It is nice for building software because you can mix file tasks (like
> Make) and also abstract tasks (like Ant). Rake is based on Ruby which
> is widely-available, probably second-best language (after Perl): it is
> bundled in the operating system by every Linux distribution and OS X;
> and it is very convenient to install on Solaris.
>
> > Don't get me wrong, my intention was never to criticize your work. I
> think
> > you did great especially that you shared it with all of us. I am just
> curios
> > because I've seen different ways to do the same job and I am trying to
> learn
> > which one is the most suitable for such a job (maybe I will follow it as
> > well because I am doing also some sys admin work).
>
> Totally. Sometimes I joke that build-couchdb is the worst thing I've
> ever made; however, to a large extent, it is necessarily complex and
> unaesthetic because the job it must perform is complex and
> unaesthetic.
>
> --
> Iris Couch
>
Re: undefined reference to JS_SealObject
Posted by Jason Smith <jh...@iriscouch.com>.
On Tue, Oct 25, 2011 at 6:54 AM, CGS <cg...@gmail.com> wrote:
> Hi Jason,
>
> First of all, good job that you thought to share from your experience and
> put everything into a package.
>
> Just out of curiosity, I would like to ask you few questions if I may.
>
> 1. I noticed you put all the dependencies in your project (or at least most
> of them). Why didn't you use wget (or git or whatever) instead to bring them
> locally from the projects web pages?
CouchDB could run anywhere. We should be able to burn a checkout onto
a CD-ROM and install offline.
> 2. I also noticed you used log files for some processes while for others
> there are no such file (e.g., for icu you used config.log, but you didn't
> add also the the compilation and installation to that log). Is there a
> reason or just the time didn't allow you to add logs for that? I am sorry if
> this question is not correct, I see that scripting language for the first
> time (I use BASH/AWK/SED and maybe few more for scripting).
Build CouchDB was debugged into existence. Every feature was made to
solve some purpose at some time. I have not (intentionally) made
anything consistent. I have not worried about architecture or best
practices. Instead, I focus on continuous testing and confirming that
it works on every operating system. Once CouchDB is built, you never
run build-couchdb ever again.
> 3. And one last thing related to the choice of scripting language. Is there
> a reason you chose rake or it is just because you feel yourself "at home"
> with it?
Rake is an excellent domain-specific language for accomplishing stuff.
It is nice for building software because you can mix file tasks (like
Make) and also abstract tasks (like Ant). Rake is based on Ruby which
is widely-available, probably second-best language (after Perl): it is
bundled in the operating system by every Linux distribution and OS X;
and it is very convenient to install on Solaris.
> Don't get me wrong, my intention was never to criticize your work. I think
> you did great especially that you shared it with all of us. I am just curios
> because I've seen different ways to do the same job and I am trying to learn
> which one is the most suitable for such a job (maybe I will follow it as
> well because I am doing also some sys admin work).
Totally. Sometimes I joke that build-couchdb is the worst thing I've
ever made; however, to a large extent, it is necessarily complex and
unaesthetic because the job it must perform is complex and
unaesthetic.
--
Iris Couch
Re: undefined reference to JS_SealObject
Posted by CGS <cg...@gmail.com>.
Hi Jason,
First of all, good job that you thought to share from your experience
and put everything into a package.
Just out of curiosity, I would like to ask you few questions if I may.
1. I noticed you put all the dependencies in your project (or at least
most of them). Why didn't you use wget (or git or whatever) instead to
bring them locally from the projects web pages?
2. I also noticed you used log files for some processes while for others
there are no such file (e.g., for icu you used config.log, but you
didn't add also the the compilation and installation to that log). Is
there a reason or just the time didn't allow you to add logs for that? I
am sorry if this question is not correct, I see that scripting language
for the first time (I use BASH/AWK/SED and maybe few more for scripting).
3. And one last thing related to the choice of scripting language. Is
there a reason you chose rake or it is just because you feel yourself
"at home" with it?
Don't get me wrong, my intention was never to criticize your work. I
think you did great especially that you shared it with all of us. I am
just curios because I've seen different ways to do the same job and I am
trying to learn which one is the most suitable for such a job (maybe I
will follow it as well because I am doing also some sys admin work).
Cheers,
CGS
On 10/25/2011 05:53 AM, Jason Smith wrote:
> Hi, Jim. I maintain build-couchdb. Thanks for your success story!
>
> I'm a sysadmin, unaccustomed to the nice rarefied atmosphere of
> programmers. Build CouchDB reflects that; it's one hack after another.
> Long story short, I'm not sure it would be welcome among those who
> know what quality is.
>
> On the other hand, build-couchdb could in principle make BigCouch.
> I've wanted to add BigCouch and Lounge support for a while. I will try
> to make a BigCouch build option (I think the dependencies are broadly
> similar); however only as time allows. I'll update the mailing list if
> I see progress.
>
>
> On Tue, Oct 25, 2011 at 9:06 AM, Jim R. Wilson<wi...@gmail.com> wrote:
>> Master - just hit up github and started following the readme. Was a bit
>> concerned that the spidermonkey ppa said "karmic" but shrugged it off and
>> pressed onwards.
>>
>> For the record, I have never been able to successfully build straight couch
>> either, EXCEPT using build-couchdb[1], which chainbuilds erlang, curl and
>> spidermonkey from their respective github projects. I was even able to do
>> this using vanilla Centos (of all things).
>>
>> So +1 for a build-bigcouch project if anyone is up for it. A cursory
>> googling didn't turn one up, but you know what they say about absence of
>> evidence[2]. :)
>>
>> Context: I'm co-authoring a book on databases, and I'd love to talk about
>> BigCouch in the CouchDB chapter, but I need to be able to run it.
>>
>> [1] https://github.com/iriscouch/build-couchdb
>> [2] https://plus.google.com/u/0/114924461829472558358/posts/fGcYwTuq6q5
>>
>> Thanks for your help,
>>
>> -- Jim
>>
>> On Mon, Oct 24, 2011 at 11:00 AM, Adam Kocoloski<ko...@apache.org>wrote:
>>
>>> 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.
>>>>
>>>> On 10/24/2011 04:47 PM, Adam Kocoloski wrote:
>>>>> Ugh, that's really not good. What version of CouchDB were you using?
>>>>>
>>>>> Adam
>>>>>
>>>>> On Oct 24, 2011, at 10:38 AM, CGS wrote:
>>>>>
>>>>>> 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.
>>>>>> Cheers,
>>>>>> CGS
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> 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.
>>>>>>> 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,
>>>>>>> Adam
>>>>>>>
>>>>>>> On Oct 24, 2011, at 9:51 AM, Jim R. Wilson wrote:
>>>>>>>
>>>>>>>> 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)
>>>
>
>
Re: undefined reference to JS_SealObject
Posted by Jason Smith <jh...@iriscouch.com>.
Hi, Jim. I maintain build-couchdb. Thanks for your success story!
I'm a sysadmin, unaccustomed to the nice rarefied atmosphere of
programmers. Build CouchDB reflects that; it's one hack after another.
Long story short, I'm not sure it would be welcome among those who
know what quality is.
On the other hand, build-couchdb could in principle make BigCouch.
I've wanted to add BigCouch and Lounge support for a while. I will try
to make a BigCouch build option (I think the dependencies are broadly
similar); however only as time allows. I'll update the mailing list if
I see progress.
On Tue, Oct 25, 2011 at 9:06 AM, Jim R. Wilson <wi...@gmail.com> wrote:
> Master - just hit up github and started following the readme. Was a bit
> concerned that the spidermonkey ppa said "karmic" but shrugged it off and
> pressed onwards.
>
> For the record, I have never been able to successfully build straight couch
> either, EXCEPT using build-couchdb[1], which chainbuilds erlang, curl and
> spidermonkey from their respective github projects. I was even able to do
> this using vanilla Centos (of all things).
>
> So +1 for a build-bigcouch project if anyone is up for it. A cursory
> googling didn't turn one up, but you know what they say about absence of
> evidence[2]. :)
>
> Context: I'm co-authoring a book on databases, and I'd love to talk about
> BigCouch in the CouchDB chapter, but I need to be able to run it.
>
> [1] https://github.com/iriscouch/build-couchdb
> [2] https://plus.google.com/u/0/114924461829472558358/posts/fGcYwTuq6q5
>
> Thanks for your help,
>
> -- Jim
>
> On Mon, Oct 24, 2011 at 11:00 AM, Adam Kocoloski <ko...@apache.org>wrote:
>
>> 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.
>> >
>> > On 10/24/2011 04:47 PM, Adam Kocoloski wrote:
>> >> Ugh, that's really not good. What version of CouchDB were you using?
>> >>
>> >> Adam
>> >>
>> >> On Oct 24, 2011, at 10:38 AM, CGS wrote:
>> >>
>> >>> 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.
>> >>>
>> >>> Cheers,
>> >>> CGS
>> >>>
>> >>>
>> >>>
>> >>>
>> >>> 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.
>> >>>>
>> >>>> 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,
>> >>>>
>> >>>> Adam
>> >>>>
>> >>>> On Oct 24, 2011, at 9:51 AM, Jim R. Wilson wrote:
>> >>>>
>> >>>>> 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)
>> >
>>
>>
>
--
Iris Couch
Re: undefined reference to JS_SealObject
Posted by "Jim R. Wilson" <wi...@gmail.com>.
Master - just hit up github and started following the readme. Was a bit
concerned that the spidermonkey ppa said "karmic" but shrugged it off and
pressed onwards.
For the record, I have never been able to successfully build straight couch
either, EXCEPT using build-couchdb[1], which chainbuilds erlang, curl and
spidermonkey from their respective github projects. I was even able to do
this using vanilla Centos (of all things).
So +1 for a build-bigcouch project if anyone is up for it. A cursory
googling didn't turn one up, but you know what they say about absence of
evidence[2]. :)
Context: I'm co-authoring a book on databases, and I'd love to talk about
BigCouch in the CouchDB chapter, but I need to be able to run it.
[1] https://github.com/iriscouch/build-couchdb
[2] https://plus.google.com/u/0/114924461829472558358/posts/fGcYwTuq6q5
Thanks for your help,
-- Jim
On Mon, Oct 24, 2011 at 11:00 AM, Adam Kocoloski <ko...@apache.org>wrote:
> 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.
> >
> > On 10/24/2011 04:47 PM, Adam Kocoloski wrote:
> >> Ugh, that's really not good. What version of CouchDB were you using?
> >>
> >> Adam
> >>
> >> On Oct 24, 2011, at 10:38 AM, CGS wrote:
> >>
> >>> 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.
> >>>
> >>> Cheers,
> >>> CGS
> >>>
> >>>
> >>>
> >>>
> >>> 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.
> >>>>
> >>>> 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,
> >>>>
> >>>> Adam
> >>>>
> >>>> On Oct 24, 2011, at 9:51 AM, Jim R. Wilson wrote:
> >>>>
> >>>>> 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)
> >
>
>
Re: undefined reference to JS_SealObject
Posted by Adam Kocoloski <ko...@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.
>
> On 10/24/2011 04:47 PM, Adam Kocoloski wrote:
>> Ugh, that's really not good. What version of CouchDB were you using?
>>
>> Adam
>>
>> On Oct 24, 2011, at 10:38 AM, CGS wrote:
>>
>>> 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.
>>>
>>> Cheers,
>>> CGS
>>>
>>>
>>>
>>>
>>> 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.
>>>>
>>>> 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,
>>>>
>>>> Adam
>>>>
>>>> On Oct 24, 2011, at 9:51 AM, Jim R. Wilson wrote:
>>>>
>>>>> 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)
>
Re: undefined reference to JS_SealObject
Posted by CGS <cg...@gmail.com>.
CouchDB version 1.1.0.
On 10/24/2011 04:47 PM, Adam Kocoloski wrote:
> Ugh, that's really not good. What version of CouchDB were you using?
>
> Adam
>
> On Oct 24, 2011, at 10:38 AM, CGS wrote:
>
>> 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.
>>
>> Cheers,
>> CGS
>>
>>
>>
>>
>> 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.
>>>
>>> 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,
>>>
>>> Adam
>>>
>>> On Oct 24, 2011, at 9:51 AM, Jim R. Wilson wrote:
>>>
>>>> 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)
Re: undefined reference to JS_SealObject
Posted by Adam Kocoloski <ko...@apache.org>.
Ugh, that's really not good. What version of CouchDB were you using?
Adam
On Oct 24, 2011, at 10:38 AM, CGS wrote:
> 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.
>
> Cheers,
> CGS
>
>
>
>
> 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.
>>
>> 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,
>>
>> Adam
>>
>> On Oct 24, 2011, at 9:51 AM, Jim R. Wilson wrote:
>>
>>> 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)
>
Re: undefined reference to JS_SealObject
Posted by CGS <cg...@gmail.com>.
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.
Cheers,
CGS
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.
>
> 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,
>
> Adam
>
> On Oct 24, 2011, at 9:51 AM, Jim R. Wilson wrote:
>
>> 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)
Re: undefined reference to JS_SealObject
Posted by Adam Kocoloski <ko...@apache.org>.
Hi Jim, thanks for the reminder to update the instructions, 1.8.5 is definitely preferred now.
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,
Adam
On Oct 24, 2011, at 9:51 AM, Jim R. Wilson wrote:
> 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)