cryptonote-universal-pool icon indicating copy to clipboard operation
cryptonote-universal-pool copied to clipboard

Pool fails to build CentOS 6 (Kernel 2.6.32-642.1.1.el6.x86_64)

Open JPaulMora opened this issue 8 years ago • 6 comments

npm update
[email protected] node_modules/async
[email protected] node_modules/cli-color
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected])
└── [email protected] ([email protected])

> [email protected] install /sata/cryptonote-universal-pool/node_modules/cryptonote-util
> node-gyp rebuild

make: Entering directory `/sata/cryptonote-universal-pool/node_modules/cryptonote-util/build'
make: *** No rule to make target `/.node-gyp/0.10.46/include/node/common.gypi', needed by `Makefile'.  Stop.
make: Leaving directory `/sata/cryptonote-universal-pool/node_modules/cryptonote-util/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack     at ChildProcess.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:820:12)
gyp ERR! System Linux 2.6.32-642.1.1.el6.x86_64
gyp ERR! command "node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /sata/cryptonote-universal-pool/node_modules/cryptonote-util
gyp ERR! node -v v0.10.46
gyp ERR! node-gyp -v v3.3.1
gyp ERR! not ok 

> [email protected] install /sata/cryptonote-universal-pool/node_modules/multi-hashing
> node-gyp rebuild

make: Entering directory `/sata/cryptonote-universal-pool/node_modules/multi-hashing/build'
make: *** No rule to make target `/.node-gyp/0.10.46/include/node/common.gypi', needed by `Makefile'.  Stop.
make: Leaving directory `/sata/cryptonote-universal-pool/node_modules/multi-hashing/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack     at ChildProcess.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:820:12)
gyp ERR! System Linux 2.6.32-642.1.1.el6.x86_64
gyp ERR! command "node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /sata/cryptonote-universal-pool/node_modules/multi-hashing
gyp ERR! node -v v0.10.46
gyp ERR! node-gyp -v v3.3.1
gyp ERR! not ok 
[email protected] node_modules/redis
├── [email protected]
├── [email protected]
└── [email protected]
npm WARN engine [email protected]: wanted: {"node":">=0.12.0","iojs":">=1.0.0"} (current: {"node":"0.10.46","npm":"2.15.1"})
npm WARN engine [email protected]: wanted: {"node":">=0.12.0","iojs":">=1.0.0"} (current: {"node":"0.10.46","npm":"2.15.1"})
[email protected] node_modules/dateformat
├── [email protected]
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
/
> [email protected] install /sata/cryptonote-universal-pool/node_modules/base58-native/node_modules/bignum
> node-pre-gyp install --fallback-to-build

[bignum] Success: "/sata/cryptonote-universal-pool/node_modules/base58-native/node_modules/bignum/binding/bignum.node" is installed via remote

> [email protected] install /sata/cryptonote-universal-pool/node_modules/bignum
> node-pre-gyp install --fallback-to-build

[email protected] node_modules/base58-native
└── [email protected] ([email protected], [email protected])
[bignum] Success: "/sata/cryptonote-universal-pool/node_modules/bignum/binding/bignum.node" is installed via remote
[email protected] node_modules/bignum
├── [email protected]
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
npm ERR! Linux 2.6.32-642.1.1.el6.x86_64
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "update"
npm ERR! node v0.10.46
npm ERR! npm  v2.15.1
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! This is most likely a problem with the cryptonote-util 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 cryptonote-util
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! 
npm ERR!     npm owner ls cryptonote-util
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /sata/cryptonote-universal-pool/npm-debug.log

JPaulMora avatar Jul 11 '16 17:07 JPaulMora

It fails to build on almost every possible distribution or node configuration. Would be nice if developers or pool runners could specify exact packages versions against which the pool actually builds and works with.

donvito-pl avatar Sep 03 '16 19:09 donvito-pl

The pool code is two years Old....

Le 3 sept. 2016 21:16, "Witold" [email protected] a écrit :

It fails to build on almost every possible distribution or node configuration. Would be nice if developers or pool runners could specify exact packages versions against which the pool actually builds and works with.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/fancoder/cryptonote-universal-pool/issues/31#issuecomment-244564870, or mute the thread https://github.com/notifications/unsubscribe-auth/ADRRTLWGbJM01E7MnC-A0528WJbMI0G9ks5qmcePgaJpZM4JJmvD .

netmonk avatar Sep 03 '16 19:09 netmonk

This pool works only on Ubuntu 14 . At least I am able to got it working on this OS

pmitchev avatar Sep 03 '16 19:09 pmitchev

@pmitchev could you npm list your working copy for us?

JPaulMora avatar Sep 04 '16 03:09 JPaulMora

https://github.com/forknote/forknote-pool/blob/master/package.json

This is the exact package file I use. It's a little different. Sorry for the delayed reply

pmitchev avatar Sep 13 '16 11:09 pmitchev

Awesome, thanks.

JPaulMora avatar Sep 13 '16 16:09 JPaulMora