ilp-kit icon indicating copy to clipboard operation
ilp-kit copied to clipboard

fedora build, g++ dependency

Open dncohen opened this issue 8 years ago • 0 comments

Attempting to follow SETUP.md instructions. Except instead or ubuntu using fedora 24. The npm install step fails with...

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN [email protected] requires a peer of [email protected] but none was installed.
npm WARN [email protected] requires a peer of eslint-plugin-jsx-a11y@^3.0.2 but none was installed.
npm WARN [email protected] requires a peer of bluebird@^3.x but none was installed.
npm ERR! Linux 4.4.31-11.pvops.qubes.x86_64
npm ERR! argv "/home/user/node-v6.9.4-linux-x64/bin/node" "/home/user/node-v6.9.4-linux-x64/bin/npm" "install"
npm ERR! node v6.9.4
npm ERR! npm  v3.10.10
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the bcrypt package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs bcrypt
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls bcrypt
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/user/ilp-kit/npm-debug.log

At first I thought bcrypt was missing, so I tried yum install bcrypt. This installs the bcrypt utility but I continued to have npm errors. Until I saw that npm was failing to compile a portion of the bcrypt package. I needed

yum install gcc-c++

to get past the errors and have npm install succeed (although with some warnings). I post this here in case anyone else is trying with fedora.

dncohen avatar Jan 27 '17 21:01 dncohen