{"action":"created","issue":{"url":"https://api.github.com/repos/nodegit/nodegit/issues/521","labels_url":"https://api.github.com/repos/nodegit/nodegit/issues/521/labels{/name}","comments_url":"https://api.github.com/repos/nodegit/nodegit/issues/521/comments","events_url":"https://api.github.com/repos/nodegit/nodegit/issues/521/events","html_url":"https://github.com/nodegit/nodegit/issues/521","id":65129873,"number":521,"title":"Issues on scientific linux 6.6","user":{"login":"Globegitter","id":2580254,"avatar_url":"https://avatars.githubusercontent.com/u/2580254?v=3","gravatar_id":"","url":"https://api.github.com/users/Globegitter","html_url":"https://github.com/Globegitter","followers_url":"https://api.github.com/users/Globegitter/followers","following_url":"https://api.github.com/users/Globegitter/following{/other_user}","gists_url":"https://api.github.com/users/Globegitter/gists{/gist_id}","starred_url":"https://api.github.com/users/Globegitter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Globegitter/subscriptions","organizations_url":"https://api.github.com/users/Globegitter/orgs","repos_url":"https://api.github.com/users/Globegitter/repos","events_url":"https://api.github.com/users/Globegitter/events{/privacy}","received_events_url":"https://api.github.com/users/Globegitter/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-03-30T04:09:15Z","updated_at":"2015-04-19T19:32:17Z","closed_at":null,"body":"It seems when trying to require nodegit on scientific linux it does not work. I am getting the following error:\r\n\r\n```js\r\nmodule.js:318\r\n    throw err;\r\n          ^\r\nError: Cannot find module '../build/Debug/nodegit'\r\n    at Function.Module._resolveFilename (module.js:316:15)\r\n    at Function.Module._load (module.js:258:25)\r\n    at Module.require (module.js:345:17)\r\n    at require (module.js:364:17)\r\n    at Object.<anonymous> (/code/node_modules/nodegit/lib/nodegit.js:12:12)\r\n    at Module._compile (module.js:410:26)\r\n    at Module._extensions..js (module.js:428:10)\r\n    at Object.require.extensions.(anonymous function) [as .js] (/code/node_modules/babel/lib/babel/api/register/node.js:130:7)\r\n    at Module.load (module.js:335:32)\r\n    at Function.Module._load (module.js:290:12)\r\n```\r\n\r\nLooking more into it now.\r\n\r\nWhen I try to build I get the following error:\r\n\r\n```js\r\n{ [Error: Command failed: /bin/sh -c /code/nodegit/node_modules/.bin/pangyp rebuild\r\nmake: Warning: File `vendor/zlib.target.mk' has modification time 1.7 s in the future\r\n../vendor/libssh2/src/openssl.c: In function '_libssh2_pub_priv_keyfile':\r\n../vendor/libssh2/src/openssl.c:767: warning: value computed is not used\r\n../vendor/libssh2/src/kex.c: In function '_libssh2_kex_exchange':\r\n../vendor/libssh2/src/kex.c:1220: warning: dereferencing pointer 'methodlist' does break strict-aliasing rules\r\n../vendor/libssh2/src/kex.c:1326: note: initialized from here\r\n../vendor/libssh2/src/transport.c: In function '_libssh2_transport_send':\r\n../vendor/libssh2/src/transport.c:716: warning: suggest braces around empty body in an 'if' statement\r\n../vendor/openssl/openssl/crypto/x509v3/v3_utl.c: In function 'hex_to_string':\r\n../vendor/openssl/openssl/crypto/x509v3/v3_utl.c:368: warning: 'static' is not at beginning of declaration\r\n../vendor/openssl/openssl/crypto/cast/c_enc.c: In function 'CAST_encrypt':\r\n../vendor/openssl/openssl/crypto/cast/c_enc.c:65: warning: 'register' is not at beginning of declaration\r\n../vendor/openssl/openssl/crypto/cast/c_enc.c: In function 'CAST_decrypt':\r\n../vendor/openssl/openssl/crypto/cast/c_enc.c:98: warning: 'register' is not at beginning of declaration\r\ncc1plus: error: unrecognized command line option \"-s\r\nmake: *** [Release/obj.target/nodegit/src/nodegit.o] Error 1\r\ngyp ERR! build error\r\ngyp ERR! stack Error: `make` failed with exit code: 2\r\ngyp ERR! stack     at ChildProcess.onExit (/code/nodegit/node_modules/pangyp/lib/build.js:271:23)\r\ngyp ERR! stack     at emitTwo (events.js:87:13)\r\ngyp ERR! stack     at ChildProcess.emit (events.js:169:7)\r\ngyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:1044:12)\r\ngyp ERR! System Linux 3.18.5-tinycore64\r\ngyp ERR! command \"/home/install-node-iojs/releases/iojs/linux-x64/1.6.2/bin/iojs\" \"/code/nodegit/node_modules/.bin/pangyp\" \"rebuild\"\r\ngyp ERR! cwd /code/nodegit\r\ngyp ERR! node -v v1.6.2\r\ngyp ERR! pangyp -v v2.1.0\r\ngyp ERR! not ok\r\n]\r\n  killed: false,\r\n  code: 1,\r\n  signal: null,\r\n  cmd: '/bin/sh -c /code/nodegit/node_modules/.bin/pangyp rebuild' }\r\n```"},"comment":{"url":"https://api.github.com/repos/nodegit/nodegit/issues/comments/94307423","html_url":"https://github.com/nodegit/nodegit/issues/521#issuecomment-94307423","issue_url":"https://api.github.com/repos/nodegit/nodegit/issues/521","id":94307423,"user":{"login":"myhau","id":4415632,"avatar_url":"https://avatars.githubusercontent.com/u/4415632?v=3","gravatar_id":"","url":"https://api.github.com/users/myhau","html_url":"https://github.com/myhau","followers_url":"https://api.github.com/users/myhau/followers","following_url":"https://api.github.com/users/myhau/following{/other_user}","gists_url":"https://api.github.com/users/myhau/gists{/gist_id}","starred_url":"https://api.github.com/users/myhau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/myhau/subscriptions","organizations_url":"https://api.github.com/users/myhau/orgs","repos_url":"https://api.github.com/users/myhau/repos","events_url":"https://api.github.com/users/myhau/events{/privacy}","received_events_url":"https://api.github.com/users/myhau/received_events","type":"User","site_admin":false},"created_at":"2015-04-19T19:32:17Z","updated_at":"2015-04-19T19:32:17Z","body":"I've solved it by purging `nodejs` and `npm` and installing them again properly,  using tools like `nvm`, and then simply `npm install -g nodegit` fetched binary correctly (or maybe @tbranyen did you published binary in the meantime?). But I still don't know what was the issue."}}