Created
July 24, 2011 16:09
-
-
Save tralamazza/1102772 to your computer and use it in GitHub Desktop.
socketstream 0.1.8 npm install -g error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ npm install socketstream -g | |
/usr/local/bin/socketstream -> /usr/local/lib/node_modules/socketstream/bin/socketstream | |
> zeromq@0.5.1 preinstall /usr/local/lib/node_modules/socketstream/node_modules/zeromq | |
> node-waf clean || true; node-waf configure build | |
Nothing to clean (project not configured) | |
Setting srcdir to : /usr/local/lib/node_modules/socketstream/node_modules/zeromq | |
Setting blddir to : /usr/local/lib/node_modules/socketstream/node_modules/zeromq/build | |
Checking for program g++ or c++ : /usr/bin/g++ | |
Checking for program cpp : /usr/bin/cpp | |
Checking for program ar : /usr/bin/ar | |
Checking for program ranlib : /usr/bin/ranlib | |
Checking for g++ : ok | |
Checking for node path : not found | |
Checking for node prefix : ok /usr/local | |
Checking for libzmq : not found | |
'configure' finished successfully (0.051s) | |
Waf: Entering directory `/usr/local/lib/node_modules/socketstream/node_modules/zeromq/build' | |
[1/2] cxx: binding.cc -> build/default/binding_1.o | |
../binding.cc:27:17: fatal error: zmq.h: No such file or directory | |
compilation terminated. | |
Waf: Leaving directory `/usr/local/lib/node_modules/socketstream/node_modules/zeromq/build' | |
Build failed: -> task failed (err #1): | |
{task: cxx binding.cc -> binding_1.o} | |
npm ERR! error installing socketstream@0.1.8 Error: zeromq@0.5.1 preinstall: `node-waf clean || true; node-waf configure build` | |
npm ERR! error installing socketstream@0.1.8 `sh "-c" "node-waf clean || true; node-waf configure build"` failed with 1 | |
npm ERR! error installing socketstream@0.1.8 at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/exec.js:49:20) | |
npm ERR! error installing socketstream@0.1.8 at ChildProcess.emit (events.js:67:17) | |
npm ERR! error installing socketstream@0.1.8 at ChildProcess.onexit (child_process.js:192:12) | |
npm ERR! zeromq@0.5.1 preinstall: `node-waf clean || true; node-waf configure build` | |
npm ERR! `sh "-c" "node-waf clean || true; node-waf configure build"` failed with 1 | |
npm ERR! | |
npm ERR! Failed at the zeromq@0.5.1 preinstall script. | |
npm ERR! This is most likely a problem with the zeromq package, | |
npm ERR! not with npm itself. | |
npm ERR! Tell the author that this fails on your system: | |
npm ERR! node-waf clean || true; node-waf configure build | |
npm ERR! You can get their info via: | |
npm ERR! npm owner ls zeromq | |
npm ERR! There is likely additional logging output above. | |
npm ERR! | |
npm ERR! System Linux 2.6.38-10-generic | |
npm ERR! command "node" "/usr/local/bin/npm" "install" "socketstream" "-g" | |
npm ERR! cwd /home/daniel | |
npm ERR! node -v v0.4.10 | |
npm ERR! npm -v 1.0.20 | |
npm ERR! | |
npm ERR! Additional logging details can be found in: | |
npm ERR! /home/daniel/npm-debug.log | |
npm not ok |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary:
$ git clone git://github.com/zeromq/zeromq2-1.git
$ cd zeromq2-1
$ ./autogen.sh; ./configure; make; make install
Note: you need uuid-dev
sudo apt-get install uuid-dev