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 BC09681F9 for ; Sat, 3 Sep 2011 12:04:10 +0000 (UTC) Received: (qmail 18362 invoked by uid 500); 3 Sep 2011 12:04:08 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 17978 invoked by uid 500); 3 Sep 2011 12:04:02 -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 17963 invoked by uid 99); 3 Sep 2011 12:03:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Sep 2011 12:03:59 +0000 X-ASF-Spam-Status: No, hits=4.1 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,FREEMAIL_REPLY,HTML_MESSAGE,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 itaborai83@gmail.com designates 209.85.161.52 as permitted sender) Received: from [209.85.161.52] (HELO mail-fx0-f52.google.com) (209.85.161.52) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Sep 2011 12:03:53 +0000 Received: by fxd18 with SMTP id 18so3474305fxd.11 for ; Sat, 03 Sep 2011 05:03:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=XeC7oHJSv89knqHBIGKZ2zei5pDLzG80Yfs+5DMs2Kg=; b=qE7Wh/87TyL5k8rlL08ozFDjhQmupBbcLyVpZpZ9qBl4Vngx5yWzrI8Wzo6CR6tOTB dGi9z45JvbpO2P6rWo8DTCQz2amj4XX2U0b/hMw362QN/1u90xmL1+81pgIFiprQD+fd SbsfE+NOA29ERgCN9LQx4hWqzUlUnB8jQ7ZD0= MIME-Version: 1.0 Received: by 10.223.37.81 with SMTP id w17mr1219327fad.91.1315051413183; Sat, 03 Sep 2011 05:03:33 -0700 (PDT) Received: by 10.152.24.38 with HTTP; Sat, 3 Sep 2011 05:03:33 -0700 (PDT) In-Reply-To: References: Date: Sat, 3 Sep 2011 09:03:33 -0300 Message-ID: Subject: Re: Build error on couch_js/main.c From: =?ISO-8859-1?Q?Daniel_Itabora=ED?= To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=00151747ba2c581d2304ac0844b0 X-Virus-Checked: Checked by ClamAV on apache.org --00151747ba2c581d2304ac0844b0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Marcello, Thanks! I've done that and it worked like a charm. Daniel On Sat, Sep 3, 2011 at 5:46 AM, Marcello Nuccio wrote: > Daniel, I have Ubuntu 11.04 i386. > Try with > > sudo apt-get --purge remove libmozjs185-dev > rake manifest=3D1 > > For some reason build-couchdb does not like when libmozjs185-dev is > installed. Purging it works for me. > > Marcello > > 2011/9/3 Daniel Itabora=ED : > > Jason, > > > > I've tried compiling the Iris' build-couchdb, but I'm erroring out on > > couch_js as well > > > > http://pastebin.com/pWu7nCwb > > > > If it helps, I have installed libmozjs185-1.0 on my box. > > > > Thanks, > > Daniel > > > > p.s.: > > STDOUT gcc > > > > -DHAVE_CONFIG_H > > -I. > > > -I/home/itaborai/projects/nacaodoslanches/thirdparty/iris-couchdb/build-c= ouchdb/dependencies/couchdb/src/couchdb/priv > > -I../../.. > > -D_XOPEN_SOURCE > > -L/usr/local/lib > > -L/opt/local/lib > > > -I/home/itaborai/projects/nacaodoslanches/thirdparty/iris-couchdb/build-c= ouchdb/build/lib/erlang/usr/include > > -I/usr/include > > > > ******************************************* > > ******************************************* > > ******************************************* > > Should the build even look for the spidermonkey I'm using? > > -I/usr/include/js > > -I/usr/include/mozjs > > ******************************************* > > ******************************************* > > ******************************************* > > > > -I/usr/local/include > > -I/opt/local/include > > -I/usr/local/include/js > > -I/opt/local/include/js > > -DXP_UNIX > > > -I/home/itaborai/projects/nacaodoslanches/thirdparty/iris-couchdb/build-c= ouchdb/build/include > > > -I/home/itaborai/projects/nacaodoslanches/thirdparty/iris-couchdb/build-c= ouchdb/build/include/js > > -D_BSD_SOURCE > > > -I/home/itaborai/projects/nacaodoslanches/thirdparty/iris-couchdb/build-c= ouchdb/build/include > > -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 > > > '/home/itaborai/projects/nacaodoslanches/thirdparty/iris-couchdb/build-co= uchdb/dependencies/couchdb/src/couchdb/priv/'`couch_js/http.c > > > > 2011/9/2 Daniel Itabora=ED > > > >> Jason, > >> > >> Would you like me to test it with or without the system SpiderMonkey? > >> > >> Daniel > >> > >> > >> On Fri, Sep 2, 2011 at 10:26 AM, Jason Smith wrote= : > >> > >>> Hi, Daniel. Thanks for the update. > >>> > >>> The latest version (that I publish at any rate) is from > >>> git://github.com/iriscouch/build-couchdb > >>> > >>> Would you please try with that version and perhaps attach or paste > >>> your rake.log file when the build completes? Thanks! > >>> > >>> 2011/9/2 Daniel Itabora=ED : > >>> > Thanks for the replies. > >>> > > >>> > Jason, > >>> > > >>> > I=B4m using Ubuntu 11.04 64 bits. I am building from the couchone > >>> repository > >>> > (git://github.com/couchone/build-couchdb). Now I=B4m not sure about > which > >>> one > >>> > I should be using. I=B4ve followed the install scripts blindly. I > haven=B4t > >>> had > >>> > the opportunity(and the know how) to tinker with CouchDB=B4s build > system. > >>> > > >>> > > >>> > Paul, > >>> > > >>> > You=B4re definitely right about a pre-existing SpiderMonkey in the > system. > >>> I > >>> > installed it a month ago to test some Javascript code. I guess the > next > >>> > logical step would be to remove it and try to build it again. As so= on > as > >>> I > >>> > get home I=B4ll try that. > >>> > > >>> > thanks, > >>> > Daniel > >>> > > >>> > On Fri, Sep 2, 2011 at 2:39 AM, Paul Davis < > paul.joseph.davis@gmail.com > >>> >wrote: > >>> > > >>> >> Also if you're not hip to the C, check for things like > >>> >> /usr/include/js/jsapi.h or similar. Its likely that your OS has a > >>> >> SpiderMonkey that's getting preferred over what's in build-couch. > >>> >> > >>> >> On Fri, Sep 2, 2011 at 12:29 AM, Jason Smith > >>> wrote: > >>> >> > 2011/9/2 Daniel Itabora=ED : > >>> >> >> Hi there, > >>> >> >> > >>> >> >> Not sure if I'm this is the right place, but I'm trying to buil= d > >>> CouchDB > >>> >> >> using build-couchdb. Unfortunately I'm erroring out while tryin= g > to > >>> >> build > >>> >> >> couch_js. > >>> >> >> > >>> >> >> I was wondering if anyone could give me some pointers on what t= o > do > >>> >> next. > >>> >> >> > >>> >> >> I've paste the output of rake --trace below if it helps > >>> >> >> > >>> >> >> http://pastebin.com/nMQg6J9i > >>> >> > > >>> >> > Thanks. > >>> >> > > >>> >> > Which operating system and version are you on? > >>> >> > > >>> >> > Are you building from git://github.com/iriscouch/build-couchdb? > >>> >> > > >>> >> > Did you change to dependencies/couchdb and run any Git commands? > >>> >> > > >>> >> > I think there is possibly an error beginning from line 211. > Usually, > >>> >> > when you see a string of bad casts and undeclared identifiers it > >>> means > >>> >> > a missing or wrong .h file. Hopefully some of your answers will > >>> >> > provide a clue. > >>> >> > > >>> >> > -- > >>> >> > Iris Couch > >>> >> > > >>> >> > >>> > > >>> > >>> > >>> > >>> -- > >>> Iris Couch > >>> > >> > >> > > > --00151747ba2c581d2304ac0844b0--