Uploaded image for project: 'Couchbase C client library libcouchbase'
  1. Couchbase C client library libcouchbase
  2. CCBC-558

homebrew build doesn't link in libcouchbase/libuv_io_opts.h

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.4.5
    • 2.4.4
    • library
    • Security Level: Public
    • None

    Description

      Was trying to use node.js with lcb and SSL. Homebrew's install doesn't seem to have all of the headers linked in. Notably missing is:
      libcouchbase/libuv_io_opts.h

      This means node can't build:
      $ less node_modules/couchbase/builderror.
      log
      ../src/couchbase_impl.cc:24:10: fatal error: 'libcouchbase/libuv_io_opts.h' file not found
      #include <libcouchbase/libuv_io_opts.h>
      ^
      1 error generated.
      make: *** [Release/obj.target/couchbase_impl/src/couchbase_impl.o] Error 1
      gyp ERR! build error
      gyp ERR! stack Error: `make` failed with exit code: 2
      gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
      gyp ERR! stack at ChildProcess.emit (events.js:98:17)
      gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:810:12)
      gyp ERR! System Darwin 14.0.0
      gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
      gyp ERR! cwd /Users/ingenthr/src/changedetector/node_modules/couchbase
      gyp ERR! node -v v0.10.33
      gyp ERR! node-gyp -v v1.0.2
      gyp ERR! not ok
      ingenthr-mbp-7:changedetector ingenthr$ find /usr/local -name libuv_io_opts.h
      /usr/local/Cellar/libcouchbase/2.1.0/include/libcouchbase/libuv_io_opts.h
      /usr/local/Cellar/libcouchbase/2.2.0/include/libcouchbase/libuv_io_opts.h
      /usr/local/Cellar/libcouchbase/2.3.1/include/libcouchbase/libuv_io_opts.h
      /usr/local/Cellar/libcouchbase/2.4.3/include/libcouchbase/libuv_io_opts.h

      Attachments

        For Gerrit Dashboard: CCBC-558
        # Subject Branch Project Status CR V

        Activity

          People

            ingenthr Matt Ingenthron
            ingenthr Matt Ingenthron
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty