I've tried installing CouchDB 2.1.0 and 2.1.1 on Raspbian Stretch following the instructions in this blog: http://andyfelong.com/2017/09/couchdb-2-1-on-raspberry-pi-raspbian-stretch/
However when I run the step make release
I get a segmentation fault when trying 2.1.1 and the following error when trying 2.1.0:
/home/couchdb/apache-couchdb-2.1.0/src/couch/src/couch_httpd_db.erl:none: internal error in v3_kernel;
crash reason: {case_clause,[]}
in function v3_kernel:arg_con/1 (v3_kernel.erl, line 1531)
in call from v3_kernel:is_var_clause/1 (v3_kernel.erl, line 1512)
in call from v3_kernel:partition/1 (v3_kernel.erl, line 1076)
in call from v3_kernel:match/4 (v3_kernel.erl, line 1006)
in call from v3_kernel:match_clause/4 (v3_kernel.erl, line 1408)
in call from lists:mapfoldl/3 (lists.erl, line 1354)
in call from lists:mapfoldl/3 (lists.erl, line 1355)
in call from v3_kernel:'-match_con_1/4-anonymous-0-'/3 (v3_kernel.erl, line 1136)
Compiling /home/couchdb/apache-couchdb-2.1.0/src/couch/src/couch_httpd_db.erl failed:
ERROR: compile failed while processing /home/couchdb/apache-couchdb-2.1.0/src/couch: rebar_abort
Makefile:67: recipe for target 'couch' failed
make: *** [couch] Error 1
Previously I installed CouchDB 1.2 on Wheezy, from apt-get, which was easy and worked well.