Post
Topic
Board Altcoin Discussion
Re: Bounty for open source ByteCoin/Monero pool
by
mickey_miner
on 13/05/2014, 17:28:13 UTC
Smooth, Lucas said he fixed the compiling issues with node-multi-hashing so give it another try.

I started with a clean new Ubuntu 13.10 install and followed the directions very carefully, with the same result:

Code:
npm http 404 https://registry.npmjs.org/multi-hashing/0.0.8
npm ERR! Error: version not found: 0.0.8 : multi-hashing/0.0.8
npm ERR!     at RegClient. (/usr/share/npm/node_modules/npm-registry-client/lib/request.js:269:14)
npm ERR!     at Request.self.callback (/usr/lib/nodejs/request/main.js:119:22)
npm ERR!     at Request. (/usr/lib/nodejs/request/main.js:525:16)
npm ERR!     at Request.EventEmitter.emit (events.js:95:17)
npm ERR!     at IncomingMessage. (/usr/lib/nodejs/request/main.js:484:14)
npm ERR!     at IncomingMessage.EventEmitter.emit (events.js:117:20)
npm ERR!     at _stream_readable.js:910:16
npm ERR!     at process._tickCallback (node.js:415:13)
npm ERR! If you need help, you may report this log at:
npm ERR!     
npm ERR! or use
npm ERR!     reportbug --attach /home/ubuntu/pool/npm-debug.log npm

npm ERR! System Linux 3.11.0-20-generic

Something does not appear to be working on Ubuntu 13.10. What OS are other people using?


I have it working on 13.10. 

I had problems when I installed node.js using "sudo apt-get install nodejs"  So I tried building from source:

sudo apt-get install python g++ make checkinstall fakeroot
src=$(mktemp -d) && cd $src
wget -N http://nodejs.org/dist/node-latest.tar.gz
tar xzvf node-latest.tar.gz && cd node-v*
./configure
sudo fakeroot checkinstall -y --install=no --pkgversion $(echo $(pwd) | sed -n -re's/.+node-v(.+)$/\1/p') make -j$(($(nproc)+1)) install
sudo dpkg -i node_*


And it worked after that.  The github instructions for Debian/LMDE work for Ubuntu 13.10. 

I just tried it on another 13.10 and it worked building from source.

Here is the result after running node init.js to start pool:

2014-05-13 17:27:03 [Master]    [Pool Spawner] Spawned pool on 1 thread(s)
2014-05-13 17:27:03 [Pool]      (Thread 1) [Job Refresher] Found new block at height 38161 w/ difficulty of 12035864
2014-05-13 17:27:03 [Pool]      (Thread 1) [Server] Started server listening on port 5555