Title: Issues on scientific linux 6.6 · Issue #521 · nodegit/nodegit · GitHub
Open Graph Title: Issues on scientific linux 6.6 · Issue #521 · nodegit/nodegit
X Title: Issues on scientific linux 6.6 · Issue #521 · nodegit/nodegit
Description: 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:...
Open Graph Description: 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 Func...
X Description: 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'...
Opengraph URL: https://github.com/nodegit/nodegit/issues/521
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Issues on scientific linux 6.6","articleBody":"It seems when trying to require nodegit on scientific linux it does not work. I am getting the following error:\n\n``` js\nmodule.js:318\n throw err;\n ^\nError: Cannot find module '../build/Debug/nodegit'\n at Function.Module._resolveFilename (module.js:316:15)\n at Function.Module._load (module.js:258:25)\n at Module.require (module.js:345:17)\n at require (module.js:364:17)\n at Object.\u003canonymous\u003e (/code/node_modules/nodegit/lib/nodegit.js:12:12)\n at Module._compile (module.js:410:26)\n at Module._extensions..js (module.js:428:10)\n at Object.require.extensions.(anonymous function) [as .js] (/code/node_modules/babel/lib/babel/api/register/node.js:130:7)\n at Module.load (module.js:335:32)\n at Function.Module._load (module.js:290:12)\n```\n\nLooking more into it now.\n\nWhen I try to build I get the following error:\n\n``` js\n{ [Error: Command failed: /bin/sh -c /code/nodegit/node_modules/.bin/pangyp rebuild\nmake: Warning: File `vendor/zlib.target.mk' has modification time 1.7 s in the future\n../vendor/libssh2/src/openssl.c: In function '_libssh2_pub_priv_keyfile':\n../vendor/libssh2/src/openssl.c:767: warning: value computed is not used\n../vendor/libssh2/src/kex.c: In function '_libssh2_kex_exchange':\n../vendor/libssh2/src/kex.c:1220: warning: dereferencing pointer 'methodlist' does break strict-aliasing rules\n../vendor/libssh2/src/kex.c:1326: note: initialized from here\n../vendor/libssh2/src/transport.c: In function '_libssh2_transport_send':\n../vendor/libssh2/src/transport.c:716: warning: suggest braces around empty body in an 'if' statement\n../vendor/openssl/openssl/crypto/x509v3/v3_utl.c: In function 'hex_to_string':\n../vendor/openssl/openssl/crypto/x509v3/v3_utl.c:368: warning: 'static' is not at beginning of declaration\n../vendor/openssl/openssl/crypto/cast/c_enc.c: In function 'CAST_encrypt':\n../vendor/openssl/openssl/crypto/cast/c_enc.c:65: warning: 'register' is not at beginning of declaration\n../vendor/openssl/openssl/crypto/cast/c_enc.c: In function 'CAST_decrypt':\n../vendor/openssl/openssl/crypto/cast/c_enc.c:98: warning: 'register' is not at beginning of declaration\ncc1plus: error: unrecognized command line option \"-s\nmake: *** [Release/obj.target/nodegit/src/nodegit.o] Error 1\ngyp ERR! build error\ngyp ERR! stack Error: `make` failed with exit code: 2\ngyp ERR! stack at ChildProcess.onExit (/code/nodegit/node_modules/pangyp/lib/build.js:271:23)\ngyp ERR! stack at emitTwo (events.js:87:13)\ngyp ERR! stack at ChildProcess.emit (events.js:169:7)\ngyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1044:12)\ngyp ERR! System Linux 3.18.5-tinycore64\ngyp ERR! command \"/home/install-node-iojs/releases/iojs/linux-x64/1.6.2/bin/iojs\" \"/code/nodegit/node_modules/.bin/pangyp\" \"rebuild\"\ngyp ERR! cwd /code/nodegit\ngyp ERR! node -v v1.6.2\ngyp ERR! pangyp -v v2.1.0\ngyp ERR! not ok\n]\n killed: false,\n code: 1,\n signal: null,\n cmd: '/bin/sh -c /code/nodegit/node_modules/.bin/pangyp rebuild' }\n```\n","author":{"url":"https://github.com/Globegitter","@type":"Person","name":"Globegitter"},"datePublished":"2015-03-30T04:09:15.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":19},"url":"https://github.com/521/nodegit/issues/521"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:db8696d7-aa95-d4b8-183a-41d524b4cdf8 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B42E:3C5761:42FB574:5D6790A:6971411C |
| html-safe-nonce | a1526cb3cbff30daffd62289733393fb1ef08e64b0db2e84e270af91ee286bb3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNDJFOjNDNTc2MTo0MkZCNTc0OjVENjc5MEE6Njk3MTQxMUMiLCJ2aXNpdG9yX2lkIjoiNTE1NDc3Mzc0MjczODU1NTE2NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ea9259d4144d641a13c2f2cbb6dc1232e40e5639c73bef3a69fe008a80c3c39c |
| hovercard-subject-tag | issue:65129873 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodegit/nodegit/521/issue_layout |
| twitter:image | https://opengraph.githubassets.com/35f0ec026505b1aa5a4ed8198107d3742046a23680cbd916e83dd15bd811904f/nodegit/nodegit/issues/521 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/35f0ec026505b1aa5a4ed8198107d3742046a23680cbd916e83dd15bd811904f/nodegit/nodegit/issues/521 |
| og:image:alt | 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 Func... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Globegitter |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7899979feb505886f0f29e8086a739254f3a850fd3dbc9fb63ce4ec27831b1fb |
| turbo-cache-control | no-preview |
| go-import | github.com/nodegit/nodegit git https://github.com/nodegit/nodegit.git |
| octolytics-dimension-user_id | 657068 |
| octolytics-dimension-user_login | nodegit |
| octolytics-dimension-repository_id | 1383170 |
| octolytics-dimension-repository_nwo | nodegit/nodegit |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1383170 |
| octolytics-dimension-repository_network_root_nwo | nodegit/nodegit |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 998d3ef09faa982f8d83ad111166244ae4625572 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width