Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 77981 invoked from network); 21 Sep 2010 15:57:07 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 21 Sep 2010 15:57:07 -0000 Received: (qmail 42276 invoked by uid 500); 21 Sep 2010 15:57:06 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 42134 invoked by uid 500); 21 Sep 2010 15:57:03 -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 42126 invoked by uid 99); 21 Sep 2010 15:57:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Sep 2010 15:57:03 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of paul.joseph.davis@gmail.com designates 209.85.213.52 as permitted sender) Received: from [209.85.213.52] (HELO mail-yw0-f52.google.com) (209.85.213.52) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Sep 2010 15:56:58 +0000 Received: by ywo32 with SMTP id 32so2888976ywo.11 for ; Tue, 21 Sep 2010 08:56:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=z8b/zijRFE6SXNwKIXtvvxOxArm4hCeJ6pzZp+13tfA=; b=JyiGTz8SuYDLLvFb2OQ3vRQpfs88jaPCRcr+WBPLs1Z3Yh2aG6+YWQWla95sfk4seR OtFCgiYnLUaXTpB5spqKix14ddgf6Yj1Ms0GhdSkhCrxyV0jUhEDQKgSONDfM/oS7BUk Dyz3dHS11Fc0mxYKxfi7JmVz9PmIwessKxCcw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=netLJoLua5ad+D4Igl3dWXx5GYh8Q7eRa1ZNgI7gMd5GkXu8H4gXoAUom8qHnzsSUd 8/Xc6d5VAo4kIAGrVwxBGv160cr7h2BrwuayDD1m9yrTtaTYk8UFAT/HC88lE+xTVL82 RLSP/WXVSCltXuUGuIcW724Bd6mVi73r/hZds= Received: by 10.150.219.18 with SMTP id r18mr11264601ybg.172.1285084595866; Tue, 21 Sep 2010 08:56:35 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.30.194 with HTTP; Tue, 21 Sep 2010 08:55:55 -0700 (PDT) In-Reply-To: References: From: Paul Davis Date: Tue, 21 Sep 2010 11:55:55 -0400 Message-ID: Subject: Re: Error installing CouchDB in Ubuntu To: user@couchdb.apache.org Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Alexandre, Looks like your version of spidermonkey is incompatible which is odd as we should be compatible with everything since 1.7. Can you check what version of the spidermonkey lib you've got? Paul Davis 2010/9/20 Alexandre Corr=EAa Barbosa : > Hi, > > I'm trying to install Couchdb on Ubuntu. I've managed to install all > dependencies, and successfully run ./configure. But when I run 'make', I'= ve > got the following error: > > /bin/bash ../../../libtool --tag=3DCC =A0 --mode=3Dlink gcc -I/usr/local/= include > =A0-L/usr/local/lib =A0-g -O2 -module -avoid-version -I/usr/local/include > =A0-L/usr/local/lib =A0 -L/usr/local/lib -L/usr/local/lib -L/opt/local/li= b > -I/usr/local/lib/erlang/usr/include -I/usr/lib/erlang/usr/include > -I/usr/local/lib/erlang/usr/include -I/opt/local/lib/erlang/usr/include > -I/usr/local/include/js -DXP_UNIX =A0-lm =A0-o couch_icu_driver.la -rpath > /usr/local/lib/couchdb/erlang/lib/couch-1.0.1/priv/lib > couch_icu_driver_la-couch_icu_driver.lo -licuuc -licudata -licui18n > -L/usr/local/lib -L/usr/local/lib -L/opt/local/lib -lpthread =A0-lcrypt > libtool: link: gcc -shared =A0.libs/couch_icu_driver_la-couch_icu_driver.= o > -L/usr/local/lib -L/opt/local/lib -lm -licuuc -licudata -licui18n -lpthre= ad > -lcrypt =A0 =A0-Wl,-soname -Wl,couch_icu_driver.so -o .libs/couch_icu_dri= ver.so > libtool: link: ( cd ".libs" && rm -f "couch_icu_driver.la" && ln -s "../ > couch_icu_driver.la" "couch_icu_driver.la" ) > cp spawnkillable/couchspawnkillable.sh couchspawnkillable > chmod +x couchspawnkillable > gcc -DHAVE_CONFIG_H -I. -I../../.. =A0 -D_XOPEN_SOURCE -L/usr/local/lib > -L/usr/local/lib -L/opt/local/lib -I/usr/local/lib/erlang/usr/include > -I/usr/lib/erlang/usr/include -I/usr/local/lib/erlang/usr/include > -I/opt/local/lib/erlang/usr/include -I/usr/local/include/js -DXP_UNIX > -D_BSD_SOURCE =A0-g -O2 -MT couchjs-http.o -MD -MP -MF .deps/couchjs-http= .Tpo > -c -o couchjs-http.o `test -f 'couch_js/http.c' || echo './'`couch_js/htt= p.c > couch_js/http.c:318: warning: initialization from incompatible pointer ty= pe > couch_js/http.c:323: warning: initialization from incompatible pointer ty= pe > couch_js/http.c:323: warning: excess elements in struct initializer > couch_js/http.c:323: warning: (near initialization for > =91CouchHTTPFunctions[0]=92) > couch_js/http.c:324: warning: initialization from incompatible pointer ty= pe > couch_js/http.c:324: warning: excess elements in struct initializer > couch_js/http.c:324: warning: (near initialization for > =91CouchHTTPFunctions[1]=92) > couch_js/http.c:325: warning: initialization from incompatible pointer ty= pe > couch_js/http.c:325: warning: excess elements in struct initializer > couch_js/http.c:325: warning: (near initialization for > =91CouchHTTPFunctions[2]=92) > couch_js/http.c:326: warning: excess elements in struct initializer > couch_js/http.c:326: warning: (near initialization for > =91CouchHTTPFunctions[3]=92) > couch_js/http.c: In function =91install_http=92: > couch_js/http.c:346: warning: passing argument 5 of =91JS_InitClass=92 fr= om > incompatible pointer type > /usr/local/include/js/jsapi.h:1858: note: expected =91JSNative=92 but arg= ument > is of type =91JSBool (*)(struct JSContext *, struct JSObject *, uintN, = =A0jsval > *, jsval *)=92 > mv -f .deps/couchjs-http.Tpo .deps/couchjs-http.Po > gcc -DHAVE_CONFIG_H -I. -I../../.. =A0 -D_XOPEN_SOURCE -L/usr/local/lib > -L/usr/local/lib -L/opt/local/lib -I/usr/local/lib/erlang/usr/include > -I/usr/lib/erlang/usr/include -I/usr/local/lib/erlang/usr/include > -I/opt/local/lib/erlang/usr/include -I/usr/local/include/js -DXP_UNIX > -D_BSD_SOURCE =A0-g -O2 -MT couchjs-main.o -MD -MP -MF .deps/couchjs-main= .Tpo > -c -o couchjs-main.o `test -f 'couch_js/main.c' || echo './'`couch_js/mai= n.c > couch_js/main.c:251: warning: initialization from incompatible pointer ty= pe > couch_js/main.c:251: warning: excess elements in struct initializer > couch_js/main.c:251: warning: (near initialization for > =91global_functions[0]=92) > couch_js/main.c:252: warning: initialization from incompatible pointer ty= pe > couch_js/main.c:252: warning: excess elements in struct initializer > couch_js/main.c:252: warning: (near initialization for > =91global_functions[1]=92) > couch_js/main.c:253: warning: initialization from incompatible pointer ty= pe > couch_js/main.c:253: warning: excess elements in struct initializer > couch_js/main.c:253: warning: (near initialization for > =91global_functions[2]=92) > couch_js/main.c:254: warning: initialization from incompatible pointer ty= pe > couch_js/main.c:254: warning: excess elements in struct initializer > couch_js/main.c:254: warning: (near initialization for > =91global_functions[3]=92) > couch_js/main.c:255: warning: initialization from incompatible pointer ty= pe > couch_js/main.c:255: warning: excess elements in struct initializer > couch_js/main.c:255: warning: (near initialization for > =91global_functions[4]=92) > couch_js/main.c:256: warning: initialization from incompatible pointer ty= pe > couch_js/main.c:256: warning: excess elements in struct initializer > couch_js/main.c:256: warning: (near initialization for > =91global_functions[5]=92) > couch_js/main.c:257: warning: excess elements in struct initializer > couch_js/main.c:257: warning: (near initialization for > =91global_functions[6]=92) > mv -f .deps/couchjs-main.Tpo .deps/couchjs-main.Po > gcc -DHAVE_CONFIG_H -I. -I../../.. =A0 -D_XOPEN_SOURCE -L/usr/local/lib > -L/usr/local/lib -L/opt/local/lib -I/usr/local/lib/erlang/usr/include > -I/usr/lib/erlang/usr/include -I/usr/local/lib/erlang/usr/include > -I/opt/local/lib/erlang/usr/include -I/usr/local/include/js -DXP_UNIX > -D_BSD_SOURCE =A0-g -O2 -MT couchjs-utf8.o -MD -MP -MF .deps/couchjs-utf8= .Tpo > -c -o couchjs-utf8.o `test -f 'couch_js/utf8.c' || echo './'`couch_js/utf= 8.c > mv -f .deps/couchjs-utf8.Tpo .deps/couchjs-utf8.Po > /bin/bash ../../../libtool --tag=3DCC =A0 --mode=3Dlink gcc -D_BSD_SOURCE= =A0-g -O2 > -lcurl -L/usr/local/lib -L/usr/local/lib -L/opt/local/lib > -I/usr/local/lib/erlang/usr/include -I/usr/lib/erlang/usr/include > -I/usr/local/lib/erlang/usr/include -I/opt/local/lib/erlang/usr/include > -I/usr/local/include/js -DXP_UNIX =A0-lm =A0-o couchjs couchjs-http.o > couchjs-main.o couchjs-utf8.o -lcurl -lmozjs -L/usr/local/lib > -L/usr/local/lib -L/opt/local/lib -lpthread =A0-lcrypt > libtool: link: gcc -D_BSD_SOURCE -g -O2 -I/usr/local/lib/erlang/usr/inclu= de > -I/usr/lib/erlang/usr/include -I/usr/local/lib/erlang/usr/include > -I/opt/local/lib/erlang/usr/include -I/usr/local/include/js -DXP_UNIX -o > couchjs couchjs-http.o couchjs-main.o couchjs-utf8.o =A0-L/usr/local/lib > -L/opt/local/lib -lm /usr/lib/libcurl.so -lmozjs -lpthread -lcrypt > couchjs-http.o: In function `status': > /home/alexandre/Downloads/apache-couchdb-1.0.1/src/couchdb/priv/couch_js/= http.c:289: > undefined reference to `INT_FITS_IN_JSVAL' > couchjs-main.o: In function `readfp': > /home/alexandre/Downloads/apache-couchdb-1.0.1/src/couchdb/priv/couch_js/= main.c:134: > undefined reference to `js_fgets' > collect2: ld returned 1 exit status > > > Does anyone knows what I'm doing wrong? How can I overcome this? > > Thanks, > -- > Alexandre Corr=EAa Barbosa > http://log4dev.com - Blog para computeiros > http://job4dev.com - Procurando emprego? >