We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Attempting to install Apache 2.0 on Amazon Linux Encountering an issue similar to Isue #455
http.c:18:19: fatal error: jsapi.h: No such file or directory #include <jsapi.h> ^ compilation terminated. ERROR: compile failed while processing /home/bjones/apache-couchdb-2.0.0/src/couch: rebar_abort
which is a problem related to the SpiderMonkey install however in my case spider monkey is installed in /usr/local
jsapi.h is in /usr/local/include/js/ and libmozjs185.so is in /usr/local/lib
I have tried modifying apache-couchdb-2.0.0/src/couch/rebar.config.script as described in Issue #455 by changing line 74 from
{"-DHAVE_CURL -I/usr/local/include", "-DHAVE_CURL -lmozjs185 -lcurl"};
to
{"-DHAVE_CURL -I/usr/local/include -I/usr/local/include/js", "-DHAVE_CURL i-L/usr/local/lib -lmozjs185 -lcurl"};
In both cases the output of ./configure and make release stays the same
[root@couchdb-2-1.qa apache-couchdb-2.0.0]# ./configure -c ==> configuring couchdb in rel/couchdb.config You have configured Apache CouchDB, time to relax. Relax. [root@couchdb-2-1.qa apache-couchdb-2.0.0]# make release ==> couch_epi (compile) ==> config (compile) ==> b64url (compile) ==> couch_log (compile) ==> chttpd (compile) ==> couch (compile) Compiling /home/bjones/apache-couchdb-2.0.0/src/couch/priv/couch_js/http.c /home/bjones/apache-couchdb-2.0.0/src/couch/priv/couch_js/http.c:18:19: fatal error: jsapi.h: No such file or directory #include <jsapi.h> ^ compilation terminated. ERROR: compile failed while processing /home/bjones/apache-couchdb-2.0.0/src/couch: rebar_abort make: *** [couch] Error 1
The text was updated successfully, but these errors were encountered:
Duplicate of #546 .
Sorry, something went wrong.
No branches or pull requests
Attempting to install Apache 2.0 on Amazon Linux
Encountering an issue similar to Isue #455
http.c:18:19: fatal error: jsapi.h: No such file or directory
#include <jsapi.h>
^
compilation terminated.
ERROR: compile failed while processing /home/bjones/apache-couchdb-2.0.0/src/couch: rebar_abort
which is a problem related to the SpiderMonkey install however in my case spider monkey is installed in /usr/local
jsapi.h is in /usr/local/include/js/ and libmozjs185.so is in /usr/local/lib
I have tried modifying apache-couchdb-2.0.0/src/couch/rebar.config.script as described in Issue #455 by changing line 74 from
{"-DHAVE_CURL -I/usr/local/include", "-DHAVE_CURL -lmozjs185 -lcurl"};
to
{"-DHAVE_CURL -I/usr/local/include -I/usr/local/include/js", "-DHAVE_CURL i-L/usr/local/lib -lmozjs185 -lcurl"};
In both cases the output of ./configure and make release stays the same
[root@couchdb-2-1.qa apache-couchdb-2.0.0]# ./configure -c
==> configuring couchdb in rel/couchdb.config
You have configured Apache CouchDB, time to relax. Relax.
[root@couchdb-2-1.qa apache-couchdb-2.0.0]# make release
==> couch_epi (compile)
==> config (compile)
==> b64url (compile)
==> couch_log (compile)
==> chttpd (compile)
==> couch (compile)
Compiling /home/bjones/apache-couchdb-2.0.0/src/couch/priv/couch_js/http.c
/home/bjones/apache-couchdb-2.0.0/src/couch/priv/couch_js/http.c:18:19: fatal error: jsapi.h: No such file or directory
#include <jsapi.h>
^
compilation terminated.
ERROR: compile failed while processing /home/bjones/apache-couchdb-2.0.0/src/couch: rebar_abort
make: *** [couch] Error 1
The text was updated successfully, but these errors were encountered: