Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Issues on scientific linux 6.6 #521

Copy link
Copy link
@Globegitter

Description

@Globegitter
Issue body actions

It seems when trying to require nodegit on scientific linux it does not work. I am getting the following error:

module.js:318
    throw err;
          ^
Error: Cannot find module '../build/Debug/nodegit'
    at Function.Module._resolveFilename (module.js:316:15)
    at Function.Module._load (module.js:258:25)
    at Module.require (module.js:345:17)
    at require (module.js:364:17)
    at Object.<anonymous> (/code/node_modules/nodegit/lib/nodegit.js:12:12)
    at Module._compile (module.js:410:26)
    at Module._extensions..js (module.js:428:10)
    at Object.require.extensions.(anonymous function) [as .js] (/code/node_modules/babel/lib/babel/api/register/node.js:130:7)
    at Module.load (module.js:335:32)
    at Function.Module._load (module.js:290:12)

Looking more into it now.

When I try to build I get the following error:

{ [Error: Command failed: /bin/sh -c /code/nodegit/node_modules/.bin/pangyp rebuild
make: Warning: File `vendor/zlib.target.mk' has modification time 1.7 s in the future
../vendor/libssh2/src/openssl.c: In function '_libssh2_pub_priv_keyfile':
../vendor/libssh2/src/openssl.c:767: warning: value computed is not used
../vendor/libssh2/src/kex.c: In function '_libssh2_kex_exchange':
../vendor/libssh2/src/kex.c:1220: warning: dereferencing pointer 'methodlist' does break strict-aliasing rules
../vendor/libssh2/src/kex.c:1326: note: initialized from here
../vendor/libssh2/src/transport.c: In function '_libssh2_transport_send':
../vendor/libssh2/src/transport.c:716: warning: suggest braces around empty body in an 'if' statement
../vendor/openssl/openssl/crypto/x509v3/v3_utl.c: In function 'hex_to_string':
../vendor/openssl/openssl/crypto/x509v3/v3_utl.c:368: warning: 'static' is not at beginning of declaration
../vendor/openssl/openssl/crypto/cast/c_enc.c: In function 'CAST_encrypt':
../vendor/openssl/openssl/crypto/cast/c_enc.c:65: warning: 'register' is not at beginning of declaration
../vendor/openssl/openssl/crypto/cast/c_enc.c: In function 'CAST_decrypt':
../vendor/openssl/openssl/crypto/cast/c_enc.c:98: warning: 'register' is not at beginning of declaration
cc1plus: error: unrecognized command line option "-s
make: *** [Release/obj.target/nodegit/src/nodegit.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/code/nodegit/node_modules/pangyp/lib/build.js:271:23)
gyp ERR! stack     at emitTwo (events.js:87:13)
gyp ERR! stack     at ChildProcess.emit (events.js:169:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:1044:12)
gyp ERR! System Linux 3.18.5-tinycore64
gyp ERR! command "/home/install-node-iojs/releases/iojs/linux-x64/1.6.2/bin/iojs" "/code/nodegit/node_modules/.bin/pangyp" "rebuild"
gyp ERR! cwd /code/nodegit
gyp ERR! node -v v1.6.2
gyp ERR! pangyp -v v2.1.0
gyp ERR! not ok
]
  killed: false,
  code: 1,
  signal: null,
  cmd: '/bin/sh -c /code/nodegit/node_modules/.bin/pangyp rebuild' }
Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.