You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by gi...@git.apache.org on 2017/05/30 16:47:15 UTC

[GitHub] NoodleBB opened a new issue #546: jsapi.h: No such file or directory / Set the lib and include path manually

NoodleBB opened a new issue #546: jsapi.h: No such file or directory / Set the lib and include path manually
URL: https://github.com/apache/couchdb/issues/546
 
 
   ## Problem
   Try to build CouchDB 2.0.0 from the source on CentOS 6.9 stopped with this problem:  
   ```
   Compiling /home/USER/tmp/apache-couchdb-2.0.0/src/couch/priv/couch_js/http.c
   /home/USER/tmp/apache-couchdb-2.0.0/src/couch/priv/couch_js/http.c:18:19: Warning: jsapi.h: No such file or directory
   ```
   
   ## Setup
   I've build ERLANG OTP 17.5 and SpiderMonkey 1.8.5 in my local user directory. They are available in `$HOME/include` and `$HOME/lib`. 
   
   ## What i tried
   Give configure the paths like in earlier CouchDB versions `./configure --with-js-lib=$HOME/lib --with-js-include=$HOME/include/js` doesn't work and was ignored. The build run 
   
   I tried to set the paths as compiler vars. 
   ```
   CFLAGS=-I$HOME/include
   LDFLAGS=-L$HOME/lib
   ```
   
   But it also doesn't work. The compile run breaks.
   
 
----------------------------------------------------------------
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