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