You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2018/05/07 08:58:20 UTC

[GitHub] Nayana-ibm opened a new issue #1316: Couchdb build issue with Ubuntu 18.04

Nayana-ibm opened a new issue #1316: Couchdb build issue with Ubuntu 18.04
URL: https://github.com/apache/couchdb/issues/1316
 
 
   ## Environment
   * Version used: 2.1.1
   * Operating System and version (desktop or mobile): Ubuntu 18.04
   
   Trying to build Couchdb v2.1.1 from source on Ubuntu 18.04. 
   Followed the steps provided in  http://docs.couchdb.org/en/2.1.1/install/unix.html#installation-from-source
   
   One of the dependency to build couchdb is libmozjs185 which is not found on Ub18.04. So tried to build it from source  using steps:
   ```
   wget http://ftp.mozilla.org/pub/mozilla.org/js/js185-1.0.0.tar.gz
   tar zxf js185-1.0.0.tar.gz 
   cd js-1.8.5/js/src
   autoconf2.13
   mkdir -p build_OPT.OBJ
   cd build_OPT.OBJ
   ../configure --prefix=/usr
    make
   ```
   However, make is failing with 
   ```
   ../jsapi.cpp: In function 'JSIdArray* JS_Enumerate(JSContext*, JSObject*)':
   ../jsapi.cpp:3988:16: error: cannot convert 'bool' to 'JSIdArray*' in return
            return false;
                   ^~~~~
   ../config/rules.mk:1475: recipe for target 'jsapi.o' failed
   
   ```
   Any suggestions on how to resolve the failure?

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services