[
https://issues.apache.org/jira/browse/COUCHDB-1331?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Newson resolved COUCHDB-1331.
------------------------------------
Resolution: Duplicate
> CouchDB 1.1.1 build - couch_js/utf8.h:19:7: error: no newline at end of file
> ----------------------------------------------------------------------------
>
> Key: COUCHDB-1331
> URL: https://issues.apache.org/jira/browse/COUCHDB-1331
> Project: CouchDB
> Issue Type: Bug
> Components: Build System
> Affects Versions: 1.1.1
> Environment: Centos 5.6
> Reporter: Michael Kimber
>
> >>>> 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
> Seems
> >>> 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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira