eiri commented on issue #611: Compilation issues with Erlang 20
URL: https://github.com/apache/couchdb/issues/611#issuecomment-310663728
 
 
   For what it's worth this seems to be a problem with your spider monkey 
installation, rather than with couch itself, it is technically possible to 
compile it with erlang 20
   
   ```bash
   vagrant@sandbox:/tmp$ kerl active
   The current active installation is:
   /opt/erlang/20.0
   
   vagrant@sandbox:/tmp$ git clone https://github.com/apache/couchdb.git
   Cloning into 'couchdb'...
   remote: Counting objects: 67715, done.
   ...
   
   vagrant@sandbox:/tmp$ cd couchdb/
   vagrant@sandbox:/tmp/couchdb (master)$ 
   
   vagrant@sandbox:/tmp/couchdb (master)$ ./configure --disable-fauxton 
--disable-docs
   ==> configuring couchdb in rel/couchdb.config
   Cloning into '/tmp/couchdb/src/rebar'...
   remote: Counting objects: 367, done.
   ...
   Updating bear from {git,"https://github.com/apache/couchdb-bear.git";,
                           "008f48aff819126e281d5ccae80a258bf9bf9c30"}
   You have configured Apache CouchDB, time to relax. Relax.
   
   vagrant@sandbox:/tmp/couchdb (master)$ vi rebar.config.script
   ## add 20 to require_otp_vsn
   
   vagrant@sandbox:/tmp/couchdb (master)$ vi src/snappy/rebar.config
   ## add 20 to require_otp_vsn
   
   $ make
   ==> config (compile)
   Compiled src/config_sup.erl
   Compiled src/config_app.erl
   ...
   Compiled src/rexi_sup.erl
   Compiled src/rexi.erl
   ==> rel (compile)
   ==> couchdb (compile)
   ``` 
   
   That said erlang 20 hasn't been tested and not recommended for use, hence 
it's not in `require_otp_vsn`.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to