You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Juan José Sánchez Mesa <ju...@doblej.net> on 2012/07/05 23:37:53 UTC

Help with js libs

Hi!

I have problems while compiling couchdb 1.20 on Ubuntu 10.04. I've 
followed the steps on http://wiki.apache.org/couchdb/Installing_on_Ubuntu

I've created the /etc/ld.so.conf.d/xulrunner.conf because the problem of 
libmozjs and xulrunner on Ubuntu 10.04. I'm using xulrunner 1.9.2.28.

I've compiled with:
./configure --prefix=/usr/local 
--with-js-lib=/usr/lib/xulrunner-devel-1.9.2.28/lib 
--with-js-include=/usr/lib/xulrunner-devel-1.9.2.28/include


After install, if I do a simple test:

root@server:/usr/local/couchdb/bin# couchjs test.js
[couchjs] reserved slot index out of range


Or, If I do a make test:

.......
.......
[couchjs] reserved slot index out of range
[couchjs] reserved slot index out of range
[couchjs] reserved slot index out of range
[couchjs] reserved slot index out of range
[couchjs] reserved slot index out of range
[couchjs] reserved slot index out of range
[couchjs] reserved slot index out of range
[couchjs] reserved slot index out of range
[couchjs] reserved slot index out of range
[couchjs] reserved slot index out of range
[couchjs] reserved slot index out of range
[couchjs] reserved slot index out of range
/opt/apache-couchdb-1.2.0/test/etap/072-cleanup.t .................. 
Dubious, test returned 127 (wstat 32512, 0x7f00)
Failed 6/7 subtests
/opt/apache-couchdb-1.2.0/test/etap/073-changes.t .................. 1/? 
[couchjs] reserved slot index out of range
Bailout called.  Further testing stopped:  Timeout getting heartbeats 
from consumer


I can start the server and enter Futon correctly, but If I try 'Verify 
Installation', got this on log:


[Thu, 05 Jul 2012 21:32:24 GMT] [debug] [<0.182.0>] 'POST' 
/test_suite_db/_temp_view {1,0} from "127.0.0.1"
Headers: [{'Accept',"application/json"},
           {'Accept-Charset',"ISO-8859-1,utf-8;q=0.7,*;q=0.3"},
           {'Accept-Encoding',"gzip,deflate,sdch"},
           {'Accept-Language',"es-ES,es;q=0.8,en-US;q=0.6"},
           {'Connection',"close"},
           {'Content-Length',"124"},
           {'Content-Type',"application/json"},
           {'Host',"127.0.0.1"},
           {"Origin","http://127.0.0.1:5000"},
           {'Referer',"http://127.0.0.1:5000/_utils/verify_install.html"},
           {'User-Agent',"Mozilla/5.0 (Windows NT 6.1; WOW64) 
AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.47 Safari/536.11"},
           {"X-Couch-Full-Commit","false"},
           {'X-Forwarded-For',"127.0.0.1"},
           {"X-Real-Ip","127.0.0.1"}]
[Thu, 05 Jul 2012 21:32:24 GMT] [debug] [<0.182.0>] OAuth Params: []
[Thu, 05 Jul 2012 21:32:24 GMT] [debug] [<0.243.0>] Spawning new group 
server for view group _temp in database test_suite_db.
[Thu, 05 Jul 2012 21:32:24 GMT] [debug] [<0.244.0>] Could not open file 
/usr/local/var/lib/couchdb/.test_suite_db_design/ea372beae14ca0610af5725549a19652.view: 
no such
[Thu, 05 Jul 2012 21:32:24 GMT] [debug] [<0.244.0>] Resetting group 
index "_temp" in db test_suite_db
[Thu, 05 Jul 2012 21:32:24 GMT] [debug] [<0.182.0>] request_group {Pid, 
Seq} {<0.244.0>,6}
[Thu, 05 Jul 2012 21:32:24 GMT] [debug] [<0.254.0>] OS Process Start :: 
#Port<0.2613>
[Thu, 05 Jul 2012 21:32:24 GMT] [debug] [<0.254.0>] OS Process 
#Port<0.2613> Input  :: ["reset",{"reduce_limit":true,"timeout":5000}]
[Thu, 05 Jul 2012 21:32:24 GMT] [error] [<0.252.0>] OS Process Error 
<0.254.0> :: {os_process_error,
                                                    {exit_status,1}}
[Thu, 05 Jul 2012 21:32:24 GMT] [debug] [<0.258.0>] OS Process Start :: 
#Port<0.2615>
[Thu, 05 Jul 2012 21:32:24 GMT] [debug] [<0.258.0>] OS Process 
#Port<0.2615> Input  :: ["reset",{"reduce_limit":true,"timeout":5000}]
[Thu, 05 Jul 2012 21:32:24 GMT] [error] [<0.252.0>] OS Process Error 
<0.258.0> :: {os_process_error,
                                                    {exit_status,1}}
[Thu, 05 Jul 2012 21:32:24 GMT] [debug] [<0.261.0>] OS Process Start :: 
#Port<0.2617>
[Thu, 05 Jul 2012 21:32:24 GMT] [debug] [<0.261.0>] OS Process 
#Port<0.2617> Input  :: ["reset",{"reduce_limit":true,"timeout":5000}]
[Thu, 05 Jul 2012 21:32:24 GMT] [error] [<0.252.0>] OS Process Error 
<0.261.0> :: {os_process_error,
                                                    {exit_status,1}}
[Thu, 05 Jul 2012 21:32:24 GMT] [debug] [<0.264.0>] OS Process Start :: 
#Port<0.2619>
[Thu, 05 Jul 2012 21:32:24 GMT] [debug] [<0.264.0>] OS Process 
#Port<0.2619> Input  :: ["reset",{"reduce_limit":true,"timeout":5000}]
[Thu, 05 Jul 2012 21:32:24 GMT] [error] [<0.252.0>] OS Process Error 
<0.264.0> :: {os_process_error,
                                                    {exit_status,1}}
[Thu, 05 Jul 2012 21:32:24 GMT] [debug] [<0.267.0>] OS Process Start :: 
#Port<0.2621>
[Thu, 05 Jul 2012 21:32:24 GMT] [debug] [<0.267.0>] OS Process 
#Port<0.2621> Input  :: ["reset",{"reduce_limit":true,"timeout":5000}]
[Thu, 05 Jul 2012 21:32:24 GMT] [error] [<0.252.0>] OS Process Error 
<0.267.0> :: {os_process_error,
                                                    {exit_status,1}}
[Thu, 05 Jul 2012 21:32:24 GMT] [debug] [<0.270.0>] OS Process Start :: 
#Port<0.2623>
[Thu, 05 Jul 2012 21:32:24 GMT] [debug] [<0.270.0>] OS Process 
#Port<0.2623> Input  :: ["reset",{"reduce_limit":true,"timeout":5000}]

[........]



So, I'm really lost. Anybody can help me ???

Cheers!