Hi!

You may want to try with this version of CouchDB instead:

https://github.com/apache/couchdb/archive/1.x.x.zip

This version works with e.g. Ubuntu 16.04 and the corresponding default
Erlang version for Ubuntu 16.04.

Here are the installation details (use couchdb_1.7.0_install.sh
<https://gist.github.com/SinanGabel/eac83a2f9d0ac64e2c9d4bd936be9313#file-couchdb_1-7-0_install-sh>
):

https://gist.github.com/SinanGabel/eac83a2f9d0ac64e2c9d4bd936be9313


Br,
Sinan



On 24 June 2016 at 19:48, Erich Kist <[email protected]> wrote:

> Hi guys,
>
> I tried to install CouchDB via brew with the new Erlang/OTP 19.0 release
> and I didn't have success.
>
> I checked the dependencies (
> https://github.com/apache/couchdb/blob/master/INSTALL.Unix.md#dependencies
> )
> and today CouchDB is using Erlang OTP (>=R16B03-1, =<18.1).
>
> Is there a roadmap to update CouchDB dependencies to use the new Erlang/OTP
> 19.0 version?
>
> ```bash
> ~/src/personal/homebrew-core 2.3.0 (ek-erlang-19 * u=)
> $ erl
> Erlang/OTP 19 [erts-8.0] [source] [64-bit] [smp:4:4] [async-threads:10]
> [hipe] [kernel-poll:false] [dtrace]
>
> Eshell V8.0  (abort with ^G)
> 1>
>
> ~/src/personal/homebrew-core 2.3.0 (ek-erlang-19 * u=)
> $ brew install elixir couchdb --build-from-source
> ==> Downloading
> https://github.com/elixir-lang/elixir/archive/v1.3.0.tar.gz
> ==> Downloading from
> https://codeload.github.com/elixir-lang/elixir/tar.gz/v1.3.0
> ########################################################################
> 100.0%
> ==> make
> 🍺  /opt/boxen/homebrew/Cellar/elixir/1.3.0: 383 files, 5M, built in 1
> minute 22 seconds
> ==> Downloading
>
> https://www.apache.org/dyn/closer.cgi?path=/couchdb/source/1.6.1/apache-couchdb-1.6.1.tar.gz
> ==> Best Mirror
>
> http://mirror.nbtelecom.com.br/apache/couchdb/source/1.6.1/apache-couchdb-1.6.1.tar.gz
> ########################################################################
> 100.0%
> ==> Patching
> patching file INSTALL.Unix
> patching file INSTALL.Windows
> patching file configure.ac
> patching file share/doc/src/install/unix.rst
> patching file share/doc/src/install/windows.rst
> patching file configure
> ==> ./configure --prefix=/opt/boxen/homebrew/Cellar/couchdb/1.6.1_5
> --localstatedir=/opt/boxen/homebrew/var
> --sysconfdir=/opt/boxen/homebrew/etc --disable-ini
> Last 15 lines from
> /Users/erichkist/Library/Logs/Homebrew/couchdb/01.configure:
> checking whether JSOPTION_ANONFUNFIX is declared... yes
> checking for JS_ThrowStopIteration in -lmozjs185... yes
> checking for JS_GetStringCharsAndLength in -lmozjs185... yes
> checking for JSScript*... no
> ./configure: line 18138: fg: no job control
> checking for icu-config... /opt/boxen/homebrew/opt/icu4c/bin/icu-config
> checking for ICU >= 3.4.1... yes
> checking ICU_CPPFLAGS... -I/opt/boxen/homebrew/Cellar/icu4c/57.1/include
> checking ICU_CFLAGS...
> checking ICU_CXXFLAGS... --std=c++0x
> checking ICU_LIBS...  -L/opt/boxen/homebrew/Cellar/icu4c/57.1/lib -licui18n
> -licuuc -licudata
> checking for curl-config... /usr/bin/curl-config
> checking for curl (libcurl 7.43.0) >= 7.18.0... yes
> checking Erlang version compatibility... -n detected Erlang version:
> 8.0.0...
> configure: error: The installed Erlang version must be >= R14B (erts-5.8.1)
> and =< 18 (erts-7.0) major_version does not match
>
> READ THIS: https://git.io/brew-troubleshooting
> If reporting this issue please do so at (not Homebrew/brew):
>   https://github.com/Homebrew/homebrew-core/issues
>
> These open issues may also help:
> Fold geocouch in to couchdb formula
> https://github.com/Homebrew/homebrew-core/pull/475
> ```
>
> Best,
> --
> *Erich Kist*
>
> http://www.google.com/profiles/erichkist
> skype: erichkist
> gtalk/contact: [email protected]
>

Reply via email to