Navigation

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags
    • Users
    • Groups
    1. Home
    2. feio
    3. Topics
    F
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 6
    • Best 0
    • Groups 0

    Topics created by feio

    • F

      SOLVED Unable to initialize MongoDB! Is MongoDB installed
      Technical Support • • feio

      5
      0
      Votes
      5
      Posts
      2688
      Views

      F

      @pichalite said:

      npm ls connect-mongo

      I started the instalation from scratch, now using the answer from:
      https://community.nodebb.org/topic/7302/fatal-error-nan-h-no-such-file-or-directory
      after npm start and database configuration I received the message:

      make: Entering directory /root/nodebb/node_modules/mongodb/node_modules/kerberos/build' CXX(target) Release/obj.target/kerberos/lib/kerberos.o In file included from ../lib/kerberos.cc:1:0: ../lib/kerberos.h:5:27: fatal error: gssapi/gssapi.h: No such file or directory #include <gssapi/gssapi.h> ^ compilation terminated. make: *** [Release/obj.target/kerberos/lib/kerberos.o] Error 1 make: Leaving directory /root/nodebb/node_modules/mongodb/node_modules/kerberos/build'
      gyp ERR! build error
      gyp ERR! stack Error: make failed with exit code: 2
      gyp ERR! stack at ChildProcess.onExit (/root/nodebb/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
      gyp ERR! stack at emitTwo (events.js:87:13)
      gyp ERR! stack at ChildProcess.emit (events.js:172:7)
      gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
      gyp ERR! System Linux 3.13.0-71-generic
      gyp ERR! command "/usr/bin/nodejs" "/root/nodebb/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
      gyp ERR! cwd /root/nodebb/node_modules/mongodb/node_modules/kerberos
      gyp ERR! node -v v4.2.3
      gyp ERR! node-gyp -v v3.2.1
      gyp ERR! not ok
      connect-mongo@0.8.2 node_modules/connect-mongo

      so I ran: sudo apt-get install libkrb5-dev and finally ./nodebb start

      Now everything worked like a charm.

      Thx.

    • F

      SOLVED fatal error: nan.h: No such file or directory
      Technical Support • • feio

      11
      0
      Votes
      11
      Posts
      5629
      Views

      julian

      @tednology Hm, I don't see that module defined in v0.9.x's npm-shrinkwrap.json...