From user-return-18657-apmail-couchdb-user-archive=couchdb.apache.org@couchdb.apache.org Wed Nov 2 13:56:07 2011 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 AD5B192FE for ; Wed, 2 Nov 2011 13:56:07 +0000 (UTC) Received: (qmail 2533 invoked by uid 500); 2 Nov 2011 13:56:06 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 2493 invoked by uid 500); 2 Nov 2011 13:56:06 -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 2485 invoked by uid 99); 2 Nov 2011 13:56:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Nov 2011 13:56:06 +0000 X-ASF-Spam-Status: No, hits=0.4 required=5.0 tests=FREEMAIL_FROM,FROM_LOCAL_NOVOWEL,HK_RANDOM_ENVFROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of cgsmcmlxxv@gmail.com designates 209.85.215.180 as permitted sender) Received: from [209.85.215.180] (HELO mail-ey0-f180.google.com) (209.85.215.180) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Nov 2011 13:55:57 +0000 Received: by eyg5 with SMTP id 5so187116eyg.11 for ; Wed, 02 Nov 2011 06:55:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=wprAZmCUMw9urEBjoMr4nGtoBLTNW104jsxbXS0yj0Y=; b=DzSCxpNLlylcCVRSfqur/jugrjYiYZCJXPGsv0227GRDeHEawUvTIOKr9Pu+9pyW8X K+f0kkTpaW4NMvu9fiV60Juz7uzvzk4D+iIiRgr+m/j6aOhqhKx+7qgCVn6Ujw+8tTi+ MIv7Rf42TN9LA8JplBM+np5nv8J2nLXGPbRcs= Received: by 10.14.16.86 with SMTP id g62mr391992eeg.212.1320242136968; Wed, 02 Nov 2011 06:55:36 -0700 (PDT) Received: from [192.168.1.100] (dynamic-78-8-5-66.ssp.dialog.net.pl. [78.8.5.66]) by mx.google.com with ESMTPS id z58sm6890345eea.3.2011.11.02.06.55.34 (version=SSLv3 cipher=OTHER); Wed, 02 Nov 2011 06:55:35 -0700 (PDT) Message-ID: <4EB14BD6.6030106@gmail.com> Date: Wed, 02 Nov 2011 14:55:34 +0100 From: CGS User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.23) Gecko/20110922 Thunderbird/3.1.15 MIME-Version: 1.0 To: user@couchdb.apache.org Subject: Re: CouchDB 1.1.1 build - couch_js/utf8.h:19:7: error: no newline at end of file References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, Just add a new line in /opt/software/apache-couchdb-1.1.1/src/couchdb/priv/couch_js/utf8.h (press ENTER in any editor you may use to open it) and try again. Cheers, CGS On 11/02/2011 02:34 PM, Mike Kimber wrote: > Hi, > > I'm currently trying to build the latest release of CouchDB 1.1.1 which I downloaded from the Couchdb website. I've built Curl and Erlang to get the correct versions and ./configure has passed and told be me to Relax :). However when I run Make I get the following error: > > make[4]: Entering directory `/opt/software/apache-couchdb-1.1.1/src/couchdb/priv' > gcc -DHAVE_CONFIG_H -I. -I../../.. -D_XOPEN_SOURCE -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/include -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 -g -Wall -Werror -D_BSD_SOURCE -I/usr/local/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 './'`couch_js/http.c > In file included from couch_js/http.c:18: > couch_js/utf8.h:19:7: error: no newline at end of file > make[4]: *** [couchjs-http.o] Error 1 > make[4]: Leaving directory `/opt/software/apache-couchdb-1.1.1/src/couchdb/priv' > make[3]: *** [all-recursive] Error 1 > make[3]: Leaving directory `/opt/software/apache-couchdb-1.1.1/src/couchdb' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory `/opt/software/apache-couchdb-1.1.1/src' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/opt/software/apache-couchdb-1.1.1' > make: *** [all] Error 2 > > I've done a Google on this, but and references to this issue seem to be related to Couchdb 1.0.1 and not 1.1.1 and the fix is a) not clear and a b) seems > > Anyone any ideas? > > Thanks > > Mike > > >