Qing XU created COUCHDB-3428:
--------------------------------
Summary: CouchDB compilation failure
Key: COUCHDB-3428
URL: https://issues.apache.org/jira/browse/COUCHDB-3428
Project: CouchDB
Issue Type: Bug
Components: Build System
Reporter: Qing XU
CouchDB (branch 2.0.0-RC4) fails to build with error:
{{==> couch (compile)
Compiling /opt/couchdb/src/couch/priv/couch_js/http.c
In file included from /usr/local/include/mozjs-24/mozilla/Casting.h:12,
from /usr/local/include/mozjs-24/mozilla/FloatingPoint.h:13,
from /usr/local/include/mozjs-24/jsapi.h:12,
from /opt/couchdb/src/couch/priv/couch_js/http.c:18:
/usr/local/include/mozjs-24/mozilla/TypeTraits.h:19: error: expected '=', ',',
';', 'asm' or '__attribute__' before 'mozilla'
In file included from /usr/local/include/mozjs-24/mozilla/FloatingPoint.h:13,
from /usr/local/include/mozjs-24/jsapi.h:12,
from /opt/couchdb/src/couch/priv/couch_js/http.c:18:}}
I am on RHEL 6.7 hence js185 is not available. I am also experiencing problem
building js185 from source but not with js24. You may see the path from the log
has changed to 'mozjs-24', from changing the {{src/couch/rebar.config.script}}
file.
Regardless, related to
[COUCHDB-3312|https://issues.apache.org/jira/browse/COUCHDB-3312], is couchDB
to be compiled on js185 ONLY, or later version like js24 would also work?
If the latter, what is the problem with my compilation failure?
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)