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 137999AED for ; Wed, 2 Nov 2011 20:09:14 +0000 (UTC) Received: (qmail 90525 invoked by uid 500); 2 Nov 2011 20:09:12 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 90490 invoked by uid 500); 2 Nov 2011 20:09:12 -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 90482 invoked by uid 99); 2 Nov 2011 20:09:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Nov 2011 20:09:12 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of dave@muse.net.nz designates 209.85.212.52 as permitted sender) Received: from [209.85.212.52] (HELO mail-vw0-f52.google.com) (209.85.212.52) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Nov 2011 20:09:06 +0000 Received: by vws10 with SMTP id 10so785290vws.11 for ; Wed, 02 Nov 2011 13:08:45 -0700 (PDT) MIME-Version: 1.0 Received: by 10.52.177.3 with SMTP id cm3mr6038413vdc.89.1320264524680; Wed, 02 Nov 2011 13:08:44 -0700 (PDT) Received: by 10.52.112.136 with HTTP; Wed, 2 Nov 2011 13:08:44 -0700 (PDT) X-Originating-IP: [84.172.31.35] In-Reply-To: References: Date: Wed, 2 Nov 2011 21:08:44 +0100 Message-ID: Subject: Re: CouchDB 1.1.1 build - couch_js/utf8.h:19:7: error: no newline at end of file From: Dave Cottlehuber To: user@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 2 November 2011 14:34, 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 :). Ho= wever when I run Make I get the following error: > > make[4]: Entering directory `/opt/software/apache-couchdb-1.1.1/src/couch= db/priv' > gcc -DHAVE_CONFIG_H -I. -I../../.. =A0 -D_XOPEN_SOURCE =A0-L/usr/local/li= b -L/opt/local/lib -I/usr/local/lib/erlang/usr/include -I/usr/lib/erlang/us= r/include -I/usr/local/lib/erlang/usr/include -I/opt/local/lib/erlang/usr/i= nclude -I/usr/include -I/usr/include/js -I/usr/include/mozjs -I/usr/local/i= nclude -I/opt/local/include -I/usr/local/include/js -I/opt/local/include/js= -DXP_UNIX =A0 -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/couchd= b/priv' > make[3]: *** [all-recursive] Error 1 > make[3]: Leaving directory `/opt/software/apache-couchdb-1.1.1/src/couchd= b' > 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 r= elated 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 > > > Thanks for reporting that Mike. https://issues.apache.org/jira/browse/COUCHDB-1329 BTW I assume this is from -Werror being set. Does nobody else use this? A+ Dave