You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Frédéric Audon <ch...@gmail.com> on 2016/05/30 16:53:49 UTC

CouchDB 1.6.1 on Debian 8

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 ?


Re: CouchDB 1.6.1 on Debian 8

Posted by Sinan Gabel <si...@gmail.com>.
Thanks Dave,

Looks good!

Things to consider:

(1) With 1.x.x it turned out that there was a need to add a "touch THANKS"

(2) Could you consider to add bash scripts for each of the versions i.e.
1.6.1, 1.x.x and 2.x?

(3) It could be good to have configuration examples for each of the
mentioned versions (i.e. 1.6.1, 1.x.x and 2.x) somewhere.

For 2.x it would also be good to have an examples for: (1) 2.x on a single
machine, (2) 2.x on two machines, (3) 2.x on three machines.

PS I could not "make install" 2.x on a single machine, although "./dev/run"
worked.

Br,
Sinan


On 6 June 2016 at 09:26, Dave Cottlehuber <dc...@skunkwerks.at> wrote:

> On Mon, 6 Jun 2016, at 00:04, Frédéric Audon wrote:
> > chown -R couchdb:root /usr/local/var/{log,lib,run}/couchdb
> > /usr/local/{lib,etc}/couchdb
> > chmod 770 /usr/local/var/{log,lib,run}/couchdb
> > /usr/local/{lib,etc}/couchdb
> >
> >
> > On 4 Jun 2016, at 12:33, Sinan Gabel wrote:
> >
> > > Thanks Frédéric, I updated the script with your changes.
> > >
> > > On 3 June 2016 at 19:23, Frédéric Audon <ch...@gmail.com> wrote:
> > >
> > >> apt-get install -y pkg-config rebar
> > >> apt-get install -y automake autoconf autoconf-archive
> > >> apt-get install -y help2man python-sphinx texlive-latex-base
> > >> texlive-latex-recommended texlive-latex-extra
> > >> texlive-fonts-recommended
> > >> texinfo gnupg
> > >>
> > >>
> > >> mkdir -p /usr/local/{lib,etc}/couchdb
> > >> /usr/local/var/{lib,log,run}/couchdb
> > >> /var/lib/couchdb
> > >>
> > >>
> > >>
> > >> On 3 Jun 2016, at 18:27, Sinan Gabel wrote:
> > >>
> > >> 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
>
> Sorry I didn't see this earlier, the way the ubuntu 16.04 packages are
> done is already public here:
>
> https://github.com/dch/couchdb-launchpad
>
> I could add a ppa for 1.x.x if that would help, then you'd only need to
> kick me to get a newer version out ;-)
>
> A+
> Dave
>

Re: CouchDB 1.6.1 on Debian 8

Posted by Dave Cottlehuber <dc...@skunkwerks.at>.
On Mon, 6 Jun 2016, at 00:04, Frédéric Audon wrote:
> chown -R couchdb:root /usr/local/var/{log,lib,run}/couchdb 
> /usr/local/{lib,etc}/couchdb
> chmod 770 /usr/local/var/{log,lib,run}/couchdb 
> /usr/local/{lib,etc}/couchdb
> 
> 
> On 4 Jun 2016, at 12:33, Sinan Gabel wrote:
> 
> > Thanks Frédéric, I updated the script with your changes.
> >
> > On 3 June 2016 at 19:23, Frédéric Audon <ch...@gmail.com> wrote:
> >
> >> apt-get install -y pkg-config rebar
> >> apt-get install -y automake autoconf autoconf-archive
> >> apt-get install -y help2man python-sphinx texlive-latex-base
> >> texlive-latex-recommended texlive-latex-extra 
> >> texlive-fonts-recommended
> >> texinfo gnupg
> >>
> >>
> >> mkdir -p /usr/local/{lib,etc}/couchdb 
> >> /usr/local/var/{lib,log,run}/couchdb
> >> /var/lib/couchdb
> >>
> >>
> >>
> >> On 3 Jun 2016, at 18:27, Sinan Gabel wrote:
> >>
> >> 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

Sorry I didn't see this earlier, the way the ubuntu 16.04 packages are
done is already public here:

https://github.com/dch/couchdb-launchpad

I could add a ppa for 1.x.x if that would help, then you'd only need to
kick me to get a newer version out ;-)

A+
Dave

Re: CouchDB 1.6.1 on Debian 8

Posted by Frédéric Audon <ch...@gmail.com>.
chown -R couchdb:root /usr/local/var/{log,lib,run}/couchdb 
/usr/local/{lib,etc}/couchdb
chmod 770 /usr/local/var/{log,lib,run}/couchdb 
/usr/local/{lib,etc}/couchdb


On 4 Jun 2016, at 12:33, Sinan Gabel wrote:

> Thanks Fr�d�ric, I updated the script with your changes.
>
> On 3 June 2016 at 19:23, Fr�d�ric Audon <ch...@gmail.com> wrote:
>
>> apt-get install -y pkg-config rebar
>> apt-get install -y automake autoconf autoconf-archive
>> apt-get install -y help2man python-sphinx texlive-latex-base
>> texlive-latex-recommended texlive-latex-extra 
>> texlive-fonts-recommended
>> texinfo gnupg
>>
>>
>> mkdir -p /usr/local/{lib,etc}/couchdb 
>> /usr/local/var/{lib,log,run}/couchdb
>> /var/lib/couchdb
>>
>>
>>
>> On 3 Jun 2016, at 18:27, Sinan Gabel wrote:
>>
>> 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 <si...@gmail.com> 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 <si...@gmail.com> 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%|dev@couchdb.apache.org|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 <ja...@apache.org> wrote:
>>>>>
>>>>>
>>>>>> On 03 Jun 2016, at 16:12, Sinan Gabel <si...@gmail.com> 
>>>>>> 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 <ch...@gmail.com> 
>>>>>>> wrote:
>>>>>>>
>>>>>>>
>>>>>>>>
>>>>>>>> On 1 Jun 2016, at 7:43, Jan Lehnardt wrote:
>>>>>>>>
>>>>>>>> On 01 Jun 2016, at 00:09, Fr�d�ric Audon <ch...@gmail.com> 
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Le 31 mai 2016 � 18:59, Jan Lehnardt <ja...@apache.org> a 
>>>>>>>>>> �crit :
>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On 31 May 2016, at 18:57, Fr�d�ric Audon 
>>>>>>>>>>> <ch...@gmail.com>
>>>>>>>>>>>
>>>>>>>>>> wrote:
>>>>>>
>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> Le 31 mai 2016 � 16:46, Jan Lehnardt <ja...@apache.org> a 
>>>>>>>>>>>> �crit :
>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> On 31 May 2016, at 16:06, Fr�d�ric Audon 
>>>>>>>>>>>>> <ch...@gmail.com>
>>>>>>>>>>>>>
>>>>>>>>>>>> wrote:
>>>>>>
>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Le 30 mai 2016 � 22:59, Jan Lehnardt <ja...@apache.org> a 
>>>>>>>>>>>>>> �crit
>>>>>>>>>>>>>> :
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On 30 May 2016, at 18:53, Fr�d�ric Audon 
>>>>>>>>>>>>>>> <ch...@gmail.com>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> 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\u2019
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>> 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/
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>

Re: CouchDB 1.6.1 on Debian 8

Posted by Frédéric Audon <ch...@gmail.com>.
I simplified the beginning of your code

# -y flag: assume Yes to all queries and do not prompt

apt-get install -y pkg-config autoconf-archive autoconf libtool
apt-get install -y build-essential
apt-get install -y erlang-nox erlang-dev
apt-get install -y libmozjs185-dev libicu-dev

# flag -p: create intermediate directories as required.

now I try configure with Erlang version 18 and Systemd
Ubuntu and Debian 8 use Systemd

./configure --disable-launchd --disable-init --disable-docs

the file couchdb.service 

[Unit]
Description=Couchdb service
After=network.target

[Service]
Type=simple
User=couchdb
ExecStart=/usr/local/bin/couchdb
Restart=always

[Install]
WantedBy=multi-user.target

Erlang version 18
echo "deb http://binaries.erlang-solutions.com/debian `lsb_release -cs` contrib" | tee /etc/apt/sources.list.d/erlang-solutions.list
wget -O - http://binaries.erlang-solutions.com/debian/erlang_solutions.asc | apt-key add -


> Le 4 juin 2016 à 12:33, Sinan Gabel <si...@gmail.com> a écrit :
> 
> Thanks Frédéric, I updated the script with your changes.
> 
> On 3 June 2016 at 19:23, Frédéric Audon <ch...@gmail.com> wrote:
> 
>> apt-get install -y pkg-config rebar
>> apt-get install -y automake autoconf autoconf-archive
>> apt-get install -y help2man python-sphinx texlive-latex-base
>> texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended
>> texinfo gnupg
>> 
>> 
>> mkdir -p /usr/local/{lib,etc}/couchdb /usr/local/var/{lib,log,run}/couchdb
>> /var/lib/couchdb
>> 
>> 
>> 
>> On 3 Jun 2016, at 18:27, Sinan Gabel wrote:
>> 
>> 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 <si...@gmail.com> 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 <si...@gmail.com> 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%|dev@couchdb.apache.org|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 <ja...@apache.org> wrote:
>>>>> 
>>>>> 
>>>>>> On 03 Jun 2016, at 16:12, Sinan Gabel <si...@gmail.com> 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 <ch...@gmail.com> wrote:
>>>>>>> 
>>>>>>> 
>>>>>>>> 
>>>>>>>> On 1 Jun 2016, at 7:43, Jan Lehnardt wrote:
>>>>>>>> 
>>>>>>>> On 01 Jun 2016, at 00:09, Frédéric Audon <ch...@gmail.com> wrote:
>>>>>>>> 
>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> Le 31 mai 2016 à 18:59, Jan Lehnardt <ja...@apache.org> a écrit :
>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>>>>> On 31 May 2016, at 18:57, Frédéric Audon <ch...@gmail.com>
>>>>>>>>>>> 
>>>>>>>>>> wrote:
>>>>>> 
>>>>>>> 
>>>>>>>>>>>> 
>>>>>>>>>>>> Le 31 mai 2016 à 16:46, Jan Lehnardt <ja...@apache.org> a écrit :
>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> On 31 May 2016, at 16:06, Frédéric Audon <ch...@gmail.com>
>>>>>>>>>>>>> 
>>>>>>>>>>>> wrote:
>>>>>> 
>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> Le 30 mai 2016 à 22:59, Jan Lehnardt <ja...@apache.org> a écrit
>>>>>>>>>>>>>> :
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> On 30 May 2016, at 18:53, Frédéric Audon <ch...@gmail.com>
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>> 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/
>>>>>> 
>>>>>> 
>>>>>> 
>>>>> 
>>>> 


Re: CouchDB 1.6.1 on Debian 8

Posted by Sinan Gabel <si...@gmail.com>.
Thanks Frédéric, I updated the script with your changes.

On 3 June 2016 at 19:23, Frédéric Audon <ch...@gmail.com> wrote:

> apt-get install -y pkg-config rebar
> apt-get install -y automake autoconf autoconf-archive
> apt-get install -y help2man python-sphinx texlive-latex-base
> texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended
> texinfo gnupg
>
>
> mkdir -p /usr/local/{lib,etc}/couchdb /usr/local/var/{lib,log,run}/couchdb
> /var/lib/couchdb
>
>
>
> On 3 Jun 2016, at 18:27, Sinan Gabel wrote:
>
> 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 <si...@gmail.com> 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 <si...@gmail.com> 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%|dev@couchdb.apache.org|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 <ja...@apache.org> wrote:
>>>>
>>>>
>>>>> On 03 Jun 2016, at 16:12, Sinan Gabel <si...@gmail.com> 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 <ch...@gmail.com> wrote:
>>>>>>
>>>>>>
>>>>>>>
>>>>>>> On 1 Jun 2016, at 7:43, Jan Lehnardt wrote:
>>>>>>>
>>>>>>> On 01 Jun 2016, at 00:09, Frédéric Audon <ch...@gmail.com> wrote:
>>>>>>>
>>>>>>>>
>>>>>>>>>
>>>>>>>>> Le 31 mai 2016 à 18:59, Jan Lehnardt <ja...@apache.org> a écrit :
>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On 31 May 2016, at 18:57, Frédéric Audon <ch...@gmail.com>
>>>>>>>>>>
>>>>>>>>> wrote:
>>>>>
>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Le 31 mai 2016 à 16:46, Jan Lehnardt <ja...@apache.org> a écrit :
>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> On 31 May 2016, at 16:06, Frédéric Audon <ch...@gmail.com>
>>>>>>>>>>>>
>>>>>>>>>>> wrote:
>>>>>
>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> Le 30 mai 2016 à 22:59, Jan Lehnardt <ja...@apache.org> a écrit
>>>>>>>>>>>>> :
>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On 30 May 2016, at 18:53, Frédéric Audon <ch...@gmail.com>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> 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/
>>>>>
>>>>>
>>>>>
>>>>
>>>

Re: CouchDB 1.6.1 on Debian 8

Posted by Frédéric Audon <ch...@gmail.com>.
apt-get install -y pkg-config rebar
apt-get install -y automake autoconf autoconf-archive
apt-get install -y help2man python-sphinx texlive-latex-base 
texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended 
texinfo gnupg


mkdir -p /usr/local/{lib,etc}/couchdb 
/usr/local/var/{lib,log,run}/couchdb /var/lib/couchdb


On 3 Jun 2016, at 18:27, Sinan Gabel wrote:

> 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 <si...@gmail.com> 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 <si...@gmail.com> 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%|dev@couchdb.apache.org|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 <ja...@apache.org> wrote:
>>>
>>>>
>>>>> On 03 Jun 2016, at 16:12, Sinan Gabel <si...@gmail.com> 
>>>>> 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 <ch...@gmail.com> 
>>>>> wrote:
>>>>>
>>>>>>
>>>>>>
>>>>>> On 1 Jun 2016, at 7:43, Jan Lehnardt wrote:
>>>>>>
>>>>>> On 01 Jun 2016, at 00:09, Fr�d�ric Audon <ch...@gmail.com> 
>>>>>> wrote:
>>>>>>>>
>>>>>>>>
>>>>>>>> Le 31 mai 2016 � 18:59, Jan Lehnardt <ja...@apache.org> a �crit 
>>>>>>>> :
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On 31 May 2016, at 18:57, Fr�d�ric Audon 
>>>>>>>>> <ch...@gmail.com>
>>>> wrote:
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Le 31 mai 2016 � 16:46, Jan Lehnardt <ja...@apache.org> a 
>>>>>>>>>> �crit :
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On 31 May 2016, at 16:06, Fr�d�ric Audon 
>>>>>>>>>>> <ch...@gmail.com>
>>>> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> Le 30 mai 2016 � 22:59, Jan Lehnardt <ja...@apache.org> a 
>>>>>>>>>>>> �crit :
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> On 30 May 2016, at 18:53, Fr�d�ric Audon 
>>>>>>>>>>>>> <ch...@gmail.com>
>>>>>>>>>>>>>> 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\u2019
>>>>>>>>
>>>>>>>
>>>>>>> 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/
>>>>
>>>>
>>>
>>

Re: CouchDB 1.6.1 on Debian 8

Posted by Sinan Gabel <si...@gmail.com>.
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 <si...@gmail.com> 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 <si...@gmail.com> 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%|dev@couchdb.apache.org|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 <ja...@apache.org> wrote:
>>
>>>
>>> > On 03 Jun 2016, at 16:12, Sinan Gabel <si...@gmail.com> 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 <ch...@gmail.com> wrote:
>>> >
>>> >>
>>> >>
>>> >> On 1 Jun 2016, at 7:43, Jan Lehnardt wrote:
>>> >>
>>> >> On 01 Jun 2016, at 00:09, Frédéric Audon <ch...@gmail.com> wrote:
>>> >>>>
>>> >>>>
>>> >>>> Le 31 mai 2016 à 18:59, Jan Lehnardt <ja...@apache.org> a écrit :
>>> >>>>>
>>> >>>>>
>>> >>>>> On 31 May 2016, at 18:57, Frédéric Audon <ch...@gmail.com>
>>> wrote:
>>> >>>>>>
>>> >>>>>>
>>> >>>>>> Le 31 mai 2016 à 16:46, Jan Lehnardt <ja...@apache.org> a écrit :
>>> >>>>>>>
>>> >>>>>>>
>>> >>>>>>> On 31 May 2016, at 16:06, Frédéric Audon <ch...@gmail.com>
>>> wrote:
>>> >>>>>>>>
>>> >>>>>>>>
>>> >>>>>>>>
>>> >>>>>>>> Le 30 mai 2016 à 22:59, Jan Lehnardt <ja...@apache.org> a écrit :
>>> >>>>>>>>>
>>> >>>>>>>>>
>>> >>>>>>>>> On 30 May 2016, at 18:53, Frédéric Audon <ch...@gmail.com>
>>> >>>>>>>>>> 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/
>>>
>>>
>>
>

Re: CouchDB 1.6.1 on Debian 8

Posted by Sinan Gabel <si...@gmail.com>.
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 <si...@gmail.com> 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%|dev@couchdb.apache.org|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 <ja...@apache.org> wrote:
>
>>
>> > On 03 Jun 2016, at 16:12, Sinan Gabel <si...@gmail.com> 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 <ch...@gmail.com> wrote:
>> >
>> >>
>> >>
>> >> On 1 Jun 2016, at 7:43, Jan Lehnardt wrote:
>> >>
>> >> On 01 Jun 2016, at 00:09, Frédéric Audon <ch...@gmail.com> wrote:
>> >>>>
>> >>>>
>> >>>> Le 31 mai 2016 à 18:59, Jan Lehnardt <ja...@apache.org> a écrit :
>> >>>>>
>> >>>>>
>> >>>>> On 31 May 2016, at 18:57, Frédéric Audon <ch...@gmail.com>
>> wrote:
>> >>>>>>
>> >>>>>>
>> >>>>>> Le 31 mai 2016 à 16:46, Jan Lehnardt <ja...@apache.org> a écrit :
>> >>>>>>>
>> >>>>>>>
>> >>>>>>> On 31 May 2016, at 16:06, Frédéric Audon <ch...@gmail.com>
>> wrote:
>> >>>>>>>>
>> >>>>>>>>
>> >>>>>>>>
>> >>>>>>>> Le 30 mai 2016 à 22:59, Jan Lehnardt <ja...@apache.org> a écrit :
>> >>>>>>>>>
>> >>>>>>>>>
>> >>>>>>>>> On 30 May 2016, at 18:53, Frédéric Audon <ch...@gmail.com>
>> >>>>>>>>>> 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/
>>
>>
>

Re: CouchDB 1.6.1 on Debian 8

Posted by Sinan Gabel <si...@gmail.com>.
...
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%|dev@couchdb.apache.org|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 <ja...@apache.org> wrote:

>
> > On 03 Jun 2016, at 16:12, Sinan Gabel <si...@gmail.com> 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 <ch...@gmail.com> wrote:
> >
> >>
> >>
> >> On 1 Jun 2016, at 7:43, Jan Lehnardt wrote:
> >>
> >> On 01 Jun 2016, at 00:09, Frédéric Audon <ch...@gmail.com> wrote:
> >>>>
> >>>>
> >>>> Le 31 mai 2016 à 18:59, Jan Lehnardt <ja...@apache.org> a écrit :
> >>>>>
> >>>>>
> >>>>> On 31 May 2016, at 18:57, Frédéric Audon <ch...@gmail.com> wrote:
> >>>>>>
> >>>>>>
> >>>>>> Le 31 mai 2016 à 16:46, Jan Lehnardt <ja...@apache.org> a écrit :
> >>>>>>>
> >>>>>>>
> >>>>>>> On 31 May 2016, at 16:06, Frédéric Audon <ch...@gmail.com>
> wrote:
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> Le 30 mai 2016 à 22:59, Jan Lehnardt <ja...@apache.org> a écrit :
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>> On 30 May 2016, at 18:53, Frédéric Audon <ch...@gmail.com>
> >>>>>>>>>> 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/
>
>

Re: CouchDB 1.6.1 on Debian 8

Posted by Jan Lehnardt <ja...@apache.org>.
> On 03 Jun 2016, at 16:12, Sinan Gabel <si...@gmail.com> 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 <ch...@gmail.com> wrote:
> 
>> 
>> 
>> On 1 Jun 2016, at 7:43, Jan Lehnardt wrote:
>> 
>> On 01 Jun 2016, at 00:09, Frédéric Audon <ch...@gmail.com> wrote:
>>>> 
>>>> 
>>>> Le 31 mai 2016 à 18:59, Jan Lehnardt <ja...@apache.org> a écrit :
>>>>> 
>>>>> 
>>>>> On 31 May 2016, at 18:57, Frédéric Audon <ch...@gmail.com> wrote:
>>>>>> 
>>>>>> 
>>>>>> Le 31 mai 2016 à 16:46, Jan Lehnardt <ja...@apache.org> a écrit :
>>>>>>> 
>>>>>>> 
>>>>>>> On 31 May 2016, at 16:06, Frédéric Audon <ch...@gmail.com> wrote:
>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>>> Le 30 mai 2016 à 22:59, Jan Lehnardt <ja...@apache.org> a écrit :
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> On 30 May 2016, at 18:53, Frédéric Audon <ch...@gmail.com>
>>>>>>>>>> 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/


Re: CouchDB 1.6.1 on Debian 8

Posted by Franck Eyraud <fr...@nospam.yrnm.net>.
Hello,

I remember I got this error too some months ago, it should be solved by 
manually running

touch THANKS

before running make.

Franck

Le 03/06/2016 16:12, Sinan Gabel a �crit :
> Hi!
>
> I tried to install 1.x.x on Ubuntu 16.04 Desktop and it failed with roughly
> the same info as given above.
>
> Br,
> Sinan
>
> On 3 June 2016 at 05:32, Fr�d�ric Audon <ch...@gmail.com> wrote:
>
>>
>> On 1 Jun 2016, at 7:43, Jan Lehnardt wrote:
>>
>> On 01 Jun 2016, at 00:09, Fr�d�ric Audon <ch...@gmail.com> wrote:
>>>>
>>>> Le 31 mai 2016 � 18:59, Jan Lehnardt <ja...@apache.org> a �crit :
>>>>>
>>>>> On 31 May 2016, at 18:57, Fr�d�ric Audon <ch...@gmail.com> wrote:
>>>>>>
>>>>>> Le 31 mai 2016 � 16:46, Jan Lehnardt <ja...@apache.org> a �crit :
>>>>>>>
>>>>>>> On 31 May 2016, at 16:06, Fr�d�ric Audon <ch...@gmail.com> wrote:
>>>>>>>>
>>>>>>>>
>>>>>>>> Le 30 mai 2016 � 22:59, Jan Lehnardt <ja...@apache.org> a �crit :
>>>>>>>>>
>>>>>>>>> On 30 May 2016, at 18:53, Fr�d�ric Audon <ch...@gmail.com>
>>>>>>>>>> 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\u2019
>>>>
>>> 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
>>


Re: CouchDB 1.6.1 on Debian 8

Posted by Sinan Gabel <si...@gmail.com>.
Hi!

I tried to install 1.x.x on Ubuntu 16.04 Desktop and it failed with roughly
the same info as given above.

Br,
Sinan

On 3 June 2016 at 05:32, Frédéric Audon <ch...@gmail.com> wrote:

>
>
> On 1 Jun 2016, at 7:43, Jan Lehnardt wrote:
>
> On 01 Jun 2016, at 00:09, Frédéric Audon <ch...@gmail.com> wrote:
>>>
>>>
>>> Le 31 mai 2016 à 18:59, Jan Lehnardt <ja...@apache.org> a écrit :
>>>>
>>>>
>>>> On 31 May 2016, at 18:57, Frédéric Audon <ch...@gmail.com> wrote:
>>>>>
>>>>>
>>>>> Le 31 mai 2016 à 16:46, Jan Lehnardt <ja...@apache.org> a écrit :
>>>>>>
>>>>>>
>>>>>> On 31 May 2016, at 16:06, Frédéric Audon <ch...@gmail.com> wrote:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Le 30 mai 2016 à 22:59, Jan Lehnardt <ja...@apache.org> a écrit :
>>>>>>>>
>>>>>>>>
>>>>>>>> On 30 May 2016, at 18:53, Frédéric Audon <ch...@gmail.com>
>>>>>>>>> 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
>

Re: CouchDB 1.6.1 on Debian 8

Posted by Frédéric Audon <ch...@gmail.com>.

On 1 Jun 2016, at 7:43, Jan Lehnardt wrote:

>> On 01 Jun 2016, at 00:09, Fr�d�ric Audon <ch...@gmail.com> 
>> wrote:
>>
>>
>>> Le 31 mai 2016 � 18:59, Jan Lehnardt <ja...@apache.org> a �crit :
>>>
>>>
>>>> On 31 May 2016, at 18:57, Fr�d�ric Audon <ch...@gmail.com> 
>>>> wrote:
>>>>
>>>>
>>>>> Le 31 mai 2016 � 16:46, Jan Lehnardt <ja...@apache.org> a �crit :
>>>>>
>>>>>
>>>>>> On 31 May 2016, at 16:06, Fr�d�ric Audon <ch...@gmail.com> 
>>>>>> wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>>> Le 30 mai 2016 � 22:59, Jan Lehnardt <ja...@apache.org> a �crit 
>>>>>>> :
>>>>>>>
>>>>>>>
>>>>>>>> On 30 May 2016, at 18:53, Fr�d�ric Audon <ch...@gmail.com> 
>>>>>>>> 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\u2019
>
> 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

Re: CouchDB 1.6.1 on Debian 8

Posted by Jan Lehnardt <ja...@apache.org>.
> On 01 Jun 2016, at 00:09, Frédéric Audon <ch...@gmail.com> wrote:
> 
> 
>> Le 31 mai 2016 à 18:59, Jan Lehnardt <ja...@apache.org> a écrit :
>> 
>> 
>>> On 31 May 2016, at 18:57, Frédéric Audon <ch...@gmail.com> wrote:
>>> 
>>> 
>>>> Le 31 mai 2016 à 16:46, Jan Lehnardt <ja...@apache.org> a écrit :
>>>> 
>>>> 
>>>>> On 31 May 2016, at 16:06, Frédéric Audon <ch...@gmail.com> wrote:
>>>>> 
>>>>> 
>>>>> 
>>>>>> Le 30 mai 2016 à 22:59, Jan Lehnardt <ja...@apache.org> a écrit :
>>>>>> 
>>>>>> 
>>>>>>> On 30 May 2016, at 18:53, Frédéric Audon <ch...@gmail.com> 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?

Best
Jan
--

> make[2]: Entering directory '/root/couchdb-1.6.x'
> make[2]: *** No rule to make target 'THANKS', needed by 'THANKS.gz'.  Stop.
> make[2]: Leaving directory '/root/couchdb-1.6.x'
> Makefile:551: recipe for target 'all-recursive' failed
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory '/root/couchdb-1.6.x'
> Makefile:451: recipe for target 'all' failed
> make: *** [all] Error 2
> 
> Every time, I use a clean install Debian 8

-- 
Professional Support for Apache CouchDB:
https://neighbourhood.ie/couchdb-support/


Re: CouchDB 1.6.1 on Debian 8

Posted by Frédéric Audon <ch...@gmail.com>.
> Le 31 mai 2016 à 18:59, Jan Lehnardt <ja...@apache.org> a écrit :
> 
> 
>> On 31 May 2016, at 18:57, Frédéric Audon <ch...@gmail.com> wrote:
>> 
>> 
>>> Le 31 mai 2016 à 16:46, Jan Lehnardt <ja...@apache.org> a écrit :
>>> 
>>> 
>>>> On 31 May 2016, at 16:06, Frédéric Audon <ch...@gmail.com> wrote:
>>>> 
>>>> 
>>>> 
>>>>> Le 30 mai 2016 à 22:59, Jan Lehnardt <ja...@apache.org> a écrit :
>>>>> 
>>>>> 
>>>>>> On 30 May 2016, at 18:53, Frédéric Audon <ch...@gmail.com> 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'
make[2]: Entering directory '/root/couchdb-1.6.x'
make[2]: *** No rule to make target 'THANKS', needed by 'THANKS.gz'.  Stop.
make[2]: Leaving directory '/root/couchdb-1.6.x'
Makefile:551: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/root/couchdb-1.6.x'
Makefile:451: recipe for target 'all' failed
make: *** [all] Error 2

Every time, I use a clean install Debian 8

Re: CouchDB 1.6.1 on Debian 8

Posted by Jan Lehnardt <ja...@apache.org>.
> On 31 May 2016, at 18:57, Frédéric Audon <ch...@gmail.com> wrote:
> 
> 
>> Le 31 mai 2016 à 16:46, Jan Lehnardt <ja...@apache.org> a écrit :
>> 
>> 
>>> On 31 May 2016, at 16:06, Frédéric Audon <ch...@gmail.com> wrote:
>>> 
>>> 
>>> 
>>>> Le 30 mai 2016 à 22:59, Jan Lehnardt <ja...@apache.org> a écrit :
>>>> 
>>>> 
>>>>> On 30 May 2016, at 18:53, Frédéric Audon <ch...@gmail.com> 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)

Best
Jan
-- 
Professional Support for Apache CouchDB:
https://neighbourhood.ie/couchdb-support/


Re: CouchDB 1.6.1 on Debian 8

Posted by Frédéric Audon <ch...@gmail.com>.
> Le 31 mai 2016 à 16:46, Jan Lehnardt <ja...@apache.org> a écrit :
> 
> 
>> On 31 May 2016, at 16:06, Frédéric Audon <ch...@gmail.com> wrote:
>> 
>> 
>> 
>>> Le 30 mai 2016 à 22:59, Jan Lehnardt <ja...@apache.org> a écrit :
>>> 
>>> 
>>>> On 30 May 2016, at 18:53, Frédéric Audon <ch...@gmail.com> 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?

Re: CouchDB 1.6.1 on Debian 8

Posted by Jan Lehnardt <ja...@apache.org>.
> On 31 May 2016, at 16:06, Frédéric Audon <ch...@gmail.com> wrote:
> 
> 
> 
>> Le 30 mai 2016 à 22:59, Jan Lehnardt <ja...@apache.org> a écrit :
>> 
>> 
>>> On 30 May 2016, at 18:53, Frédéric Audon <ch...@gmail.com> 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

> 
> --
> Best
> F.

-- 
Professional Support for Apache CouchDB:
https://neighbourhood.ie/couchdb-support/


Re: CouchDB 1.6.1 on Debian 8

Posted by Frédéric Audon <ch...@gmail.com>.

> Le 30 mai 2016 à 22:59, Jan Lehnardt <ja...@apache.org> a écrit :
> 
> 
>> On 30 May 2016, at 18:53, Frédéric Audon <ch...@gmail.com> 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 ?

--
Best
F.

Re: CouchDB 1.6.1 on Debian 8

Posted by Jan Lehnardt <ja...@apache.org>.
> On 30 May 2016, at 18:53, Frédéric Audon <ch...@gmail.com> 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.

Best
Jan
--
Professional Support for Apache CouchDB:
https://neighbourhood.ie/couchdb-support/