Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-3428

CouchDB compilation failure

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • Build System
    • None

    Description

      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, 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?

      Attachments

        Activity

          People

            Unassigned Unassigned
            xuqingsz@gmail.com Qing XU
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: