Hi! For CouchDB 1.x.x or kind of "1.7.0" on Ubuntu 16.04, I placed an installation script and example configuration file here:
https://gist.github.com/SinanGabel/eac83a2f9d0ac64e2c9d4bd936be9313 Br, Sinan On 3 June 2016 at 16:37, Sinan Gabel <[email protected]> wrote: > Good, that did it i.e.: > > touch THANKS > > CouchDB 1.x.x now works also on Ubuntu 16.04 Desktop. > > On 3 June 2016 at 16:27, Sinan Gabel <[email protected]> wrote: > >> ... >> make[3]: Leaving directory '/usr/local/src/couchdb-1.x.x/src/snappy' >> Making all in couchjs-node >> make[3]: Entering directory >> '/usr/local/src/couchdb-1.x.x/src/couchjs-node' >> make[3]: Nothing to be done for 'all'. >> make[3]: Leaving directory '/usr/local/src/couchdb-1.x.x/src/couchjs-node' >> make[3]: Entering directory '/usr/local/src/couchdb-1.x.x/src' >> make[3]: Nothing to be done for 'all-am'. >> make[3]: Leaving directory '/usr/local/src/couchdb-1.x.x/src' >> make[2]: Leaving directory '/usr/local/src/couchdb-1.x.x/src' >> Making all in share >> make[2]: Entering directory '/usr/local/src/couchdb-1.x.x/share' >> Making all in doc >> make[3]: Entering directory '/usr/local/src/couchdb-1.x.x/share/doc' >> Making all in build >> make[4]: Entering directory '/usr/local/src/couchdb-1.x.x/share/doc/build' >> make all-am >> make[5]: Entering directory '/usr/local/src/couchdb-1.x.x/share/doc/build' >> make[5]: Nothing to be done for 'all-am'. >> make[5]: Leaving directory '/usr/local/src/couchdb-1.x.x/share/doc/build' >> make[4]: Leaving directory '/usr/local/src/couchdb-1.x.x/share/doc/build' >> make[4]: Entering directory '/usr/local/src/couchdb-1.x.x/share/doc' >> make[4]: Nothing to be done for 'all-am'. >> make[4]: Leaving directory '/usr/local/src/couchdb-1.x.x/share/doc' >> make[3]: Leaving directory '/usr/local/src/couchdb-1.x.x/share/doc' >> make[3]: Entering directory '/usr/local/src/couchdb-1.x.x/share' >> make[3]: Nothing to be done for 'all-am'. >> make[3]: Leaving directory '/usr/local/src/couchdb-1.x.x/share' >> make[2]: Leaving directory '/usr/local/src/couchdb-1.x.x/share' >> Making all in test >> make[2]: Entering directory '/usr/local/src/couchdb-1.x.x/test' >> Making all in couchdb >> make[3]: Entering directory '/usr/local/src/couchdb-1.x.x/test/couchdb' >> Making all in fixtures >> make[4]: Entering directory >> '/usr/local/src/couchdb-1.x.x/test/couchdb/fixtures' >> make[4]: Nothing to be done for 'all'. >> make[4]: Leaving directory >> '/usr/local/src/couchdb-1.x.x/test/couchdb/fixtures' >> make[4]: Entering directory '/usr/local/src/couchdb-1.x.x/test/couchdb' >> make[4]: Nothing to be done for 'all-am'. >> make[4]: Leaving directory '/usr/local/src/couchdb-1.x.x/test/couchdb' >> mkdir -p ebin/ >> mkdir -p temp/ >> /usr/bin/erlc -Wall -I../../src -I../../test/couchdb/include \ >> -o ../../test/couchdb/ebin/ \ >> ../../test/couchdb/test_request.erl \ >> ../../test/couchdb/test_web.erl >> chmod +x run >> chmod +x ../../test/couchdb/fixtures/os_daemon_configer.escript >> make[3]: Leaving directory '/usr/local/src/couchdb-1.x.x/test/couchdb' >> Making all in javascript >> make[3]: Entering directory '/usr/local/src/couchdb-1.x.x/test/javascript' >> make[3]: Nothing to be done for 'all'. >> make[3]: Leaving directory '/usr/local/src/couchdb-1.x.x/test/javascript' >> Making all in view_server >> make[3]: Entering directory >> '/usr/local/src/couchdb-1.x.x/test/view_server' >> make[3]: Nothing to be done for 'all'. >> make[3]: Leaving directory '/usr/local/src/couchdb-1.x.x/test/view_server' >> make[3]: Entering directory '/usr/local/src/couchdb-1.x.x/test' >> make[3]: Nothing to be done for 'all-am'. >> make[3]: Leaving directory '/usr/local/src/couchdb-1.x.x/test' >> make[2]: Leaving directory '/usr/local/src/couchdb-1.x.x/test' >> Making all in var >> make[2]: Entering directory '/usr/local/src/couchdb-1.x.x/var' >> make[2]: Nothing to be done for 'all'. >> make[2]: Leaving directory '/usr/local/src/couchdb-1.x.x/var' >> Making all in utils >> make[2]: Entering directory '/usr/local/src/couchdb-1.x.x/utils' >> sed -e "s|%ERL%|/usr/bin/erl|g" \ >> -e "s|%ICU_CONFIG%|/usr/bin/icu-config|g" \ >> -e "s|%bindir%|/usr/local/src/couchdb-1.x.x/bin|g" \ >> -e "s|%defaultini%|default_dev.ini|g" \ >> -e "s|%localini%|local_dev.ini|g" \ >> -e "s|%localerlanglibdir%|/usr/local/src/couchdb-1.x.x\/src \ >> -pa /usr/local/src/couchdb-1.x.x\/src\/couchdb \ >> -pa /usr/local/src/couchdb-1.x.x\/src\/ejson \ >> -pa /usr/local/src/couchdb-1.x.x\/src\/erlang-oauth \ >> -pa /usr/local/src/couchdb-1.x.x\/src\/ibrowse \ >> -pa /usr/local/src/couchdb-1.x.x\/src\/mochiweb \ >> -pa /usr/local/src/couchdb-1.x.x\/src\/snappy|g" \ >> -e "s|%localconfdir%|/usr/local/src/couchdb-1.x.x/etc/couchdb|g" \ >> -e "s|%localstatelogdir%|/usr/local/src/couchdb-1.x.x/tmp/log|g" \ >> -e "s|%localstatelibdir%|/usr/local/src/couchdb-1.x.x/tmp/lib|g" \ >> -e "s|%localstatedir%|/usr/local/src/couchdb-1.x.x/tmp|g" \ >> -e "s|%locallibdir%|/usr/local/src/couchdb-1.x.x/tmp|g" \ >> -e "s|%bug_uri%|https://issues.apache.org/jira/browse/COUCHDB|g" \ >> -e "s|%package_author_address%|[email protected]|g" \ >> -e "s|%package_author_name%|The Apache Software Foundation|g" \ >> -e "s|%package_name%|Apache CouchDB|g" \ >> -e "s|%version%|1.7.0|g" \ >> -e "s|%couchdb_command_name%|`echo couchdb | sed 's,x,x,'`|g" > \ >> run < ../bin/couchdb.tpl >> chmod +x run >> make[2]: Leaving directory '/usr/local/src/couchdb-1.x.x/utils' >> make[2]: Entering directory '/usr/local/src/couchdb-1.x.x' >> make[2]: *** No rule to make target 'THANKS', needed by 'THANKS.gz'. >> Stop. >> make[2]: Leaving directory '/usr/local/src/couchdb-1.x.x' >> Makefile:567: recipe for target 'all-recursive' failed >> make[1]: *** [all-recursive] Error 1 >> make[1]: Leaving directory '/usr/local/src/couchdb-1.x.x' >> Makefile:466: recipe for target 'all' failed >> make: *** [all] Error 2 >> >> >> On 3 June 2016 at 16:20, Jan Lehnardt <[email protected]> wrote: >> >>> >>> > On 03 Jun 2016, at 16:12, Sinan Gabel <[email protected]> wrote: >>> > >>> > Hi! >>> > >>> > I tried to install 1.x.x on Ubuntu 16.04 Desktop and it failed with >>> roughly >>> >>> What is the error precisely? >>> >>> Best >>> Jan >>> -- >>> >>> >>> >>> > the same info as given above. >>> > >>> > Br, >>> > Sinan >>> > >>> > On 3 June 2016 at 05:32, Frédéric Audon <[email protected]> wrote: >>> > >>> >> >>> >> >>> >> On 1 Jun 2016, at 7:43, Jan Lehnardt wrote: >>> >> >>> >> On 01 Jun 2016, at 00:09, Frédéric Audon <[email protected]> wrote: >>> >>>> >>> >>>> >>> >>>> Le 31 mai 2016 à 18:59, Jan Lehnardt <[email protected]> a écrit : >>> >>>>> >>> >>>>> >>> >>>>> On 31 May 2016, at 18:57, Frédéric Audon <[email protected]> >>> wrote: >>> >>>>>> >>> >>>>>> >>> >>>>>> Le 31 mai 2016 à 16:46, Jan Lehnardt <[email protected]> a écrit : >>> >>>>>>> >>> >>>>>>> >>> >>>>>>> On 31 May 2016, at 16:06, Frédéric Audon <[email protected]> >>> wrote: >>> >>>>>>>> >>> >>>>>>>> >>> >>>>>>>> >>> >>>>>>>> Le 30 mai 2016 à 22:59, Jan Lehnardt <[email protected]> a écrit : >>> >>>>>>>>> >>> >>>>>>>>> >>> >>>>>>>>> On 30 May 2016, at 18:53, Frédéric Audon <[email protected]> >>> >>>>>>>>>> wrote: >>> >>>>>>>>>> >>> >>>>>>>>>> Hello >>> >>>>>>>>>> >>> >>>>>>>>>> I try to install CouchDB 16.1 on Debian 8 ( jessie ) >>> >>>>>>>>>> >>> >>>>>>>>>> I stuck >>> >>>>>>>>>> checking Erlang version of compatibility ... Erlang detected >>> >>>>>>>>>> Version: 7.3.0 ... configure: error : The installed version >>> of Erlang must >>> >>>>>>>>>> be> = R14B ( erts - 5.8.1 ) and = <17 ( erts -6.0 ) >>> major_version does not >>> >>>>>>>>>> match >>> >>>>>>>>>> >>> >>>>>>>>>> What should I do ? >>> >>>>>>>>>> >>> >>>>>>>>> >>> >>>>>>>>> Best option probably is to build CouchDB from source, the 1.x.x >>> >>>>>>>>> branch is slightly ahead of 1.6.1 but safe to use in >>> production, and >>> >>>>>>>>> compatible with newer Erlang releases. >>> >>>>>>>>> >>> >>>>>>>>> >>> >>>>>>>> ok >>> >>>>>>>> >>> >>>>>>>> wget https://github.com/apache/couchdb/archive/1.6.x.zip >>> >>>>>>>> unzip 1.6.x.zip >>> >>>>>>>> cd couchdb-1.6.x/ >>> >>>>>>>> >>> >>>>>>>> How do I get ./configure ? >>> >>>>>>>> >>> >>>>>>> >>> >>>>>>> ./bootstrap >>> >>>>>>> >>> >>>>>> >>> >>>>>> Unable to find any variant: glibtoolize libtoolize >>> >>>>>> >>> >>>>>> Have you installed a version of this package? >>> >>>>>> >>> >>>>> >>> >>>>> You need to install libtool :) >>> >>>>> >>> >>>>> Dev dependencies are explained in DEVELOPERS ( >>> >>>>> https://github.com/apache/couchdb/blob/1.x.x/DEVELOPERS) >>> >>>>> >>> >>>>> (you probably want `./configure --disable-docs` to avoid the LaTeX >>> etc. >>> >>>>> dependency chain) >>> >>>>> >>> >>>>> >>> >>>> Thanks Jan >>> >>>> >>> >>>> ./bootstrap OK >>> >>>> ./configure --prefix=/usr/local --with-js-lib=/usr/lib >>> >>>> --with-js-include=/usr/include/mozjs --enable-init OK >>> >>>> make && make install -->KO >>> >>>> >>> >>>> make[2]: Leaving directory '/root/couchdb-1.6.x/utils’ >>> >>>> >>> >>> >>> >>> looks like you are building 1.6.x and not 1.x.x? >>> >>> >>> >>> Can you try 1.x.x? >>> >>> >>> >>> >>> >> gzip -9 < README.rst > README.gz >>> >> make[2]: *** No rule to make target 'THANKS', needed by 'THANKS.gz'. >>> Stop. >>> >> make[2]: Leaving directory '/var/lib/couchdb/couchdb-1.x.x' >>> >> Makefile:555: recipe for target 'all-recursive' failed >>> >> make[1]: *** [all-recursive] Error 1 >>> >> make[1]: Leaving directory '/var/lib/couchdb/couchdb-1.x.x' >>> >> Makefile:453: recipe for target 'all' failed >>> >> >>> >> make: *** [all] Error 2 >>> >> >>> >>> -- >>> Professional Support for Apache CouchDB: >>> https://neighbourhood.ie/couchdb-support/ >>> >>> >> >
