Created
July 2, 2012 10:44
-
-
Save gnunicorn/3032616 to your computer and use it in GitHub Desktop.
zmq install error mac
This file contains hidden or 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 http GET https://registry.npmjs.org/zmq | |
npm http 304 https://registry.npmjs.org/zmq | |
> [email protected] preinstall /Users/benjaminkampmann/dev/node_modules/zmq | |
> node-waf clean || (exit 0); node-waf configure build | |
Nothing to clean (project not configured) | |
Setting srcdir to : /Users/benjaminkampmann/dev/node_modules/zmq | |
Setting blddir to : /Users/benjaminkampmann/dev/node_modules/zmq/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 pkg-config version >= 0.0.0 : yes | |
Checking for libzmq >= 2.1.0 : yes | |
Checking for library uuid : yes | |
'configure' finished successfully (0.955s) | |
Waf: Entering directory `/Users/benjaminkampmann/dev/node_modules/zmq/build' | |
[1/2] cxx: binding.cc -> build/Release/binding_1.o | |
../binding.cc:114: error: ISO C++ forbids declaration of ‘uv_poll_t’ with no type | |
../binding.cc:114: error: expected ‘;’ before ‘*’ token | |
../binding.cc:115: error: ‘uv_poll_t’ has not been declared | |
../binding.cc:292: error: variable or field ‘UV_PollCallback’ declared void | |
../binding.cc:292: error: ‘uv_poll_t’ was not declared in this scope | |
../binding.cc:292: error: ‘handle’ was not declared in this scope | |
../binding.cc:292: error: expected primary-expression before ‘int’ | |
../binding.cc:292: error: expected primary-expression before ‘int’ | |
../binding.cc: In constructor ‘zmq::Socket::Socket(zmq::Context*, int)’: | |
../binding.cc:304: error: ‘poll_handle_’ was not declared in this scope | |
../binding.cc:304: error: expected type-specifier before ‘uv_poll_t’ | |
../binding.cc:304: error: expected `;' before ‘uv_poll_t’ | |
../binding.cc:308: error: ‘uv_os_sock_t’ was not declared in this scope | |
../binding.cc:308: error: expected `;' before ‘socket’ | |
../binding.cc:311: error: invalid conversion from ‘int (*)(int, int, int)’ to ‘void*’ | |
../binding.cc:311: error: initializing argument 3 of ‘int zmq_getsockopt(void*, int, void*, size_t*)’ | |
../binding.cc:312: error: ‘uv_poll_init_socket’ was not declared in this scope | |
../binding.cc:313: error: ‘UV_READABLE’ was not declared in this scope | |
../binding.cc:313: error: ‘uv_poll_start’ was not declared in this scope | |
../binding.cc: In member function ‘void zmq::Socket::Close()’: | |
../binding.cc:792: error: ‘poll_handle_’ was not declared in this scope | |
../binding.cc:792: error: ‘uv_poll_stop’ was not declared in this scope | |
Waf: Leaving directory `/Users/benjaminkampmann/dev/node_modules/zmq/build' | |
Build failed: -> task failed (err #1): | |
{task: cxx binding.cc -> binding_1.o} | |
npm ERR! error installing [email protected] | |
npm ERR! [email protected] preinstall: `node-waf clean || (exit 0); node-waf configure build` | |
npm ERR! `sh "-c" "node-waf clean || (exit 0); node-waf configure build"` failed with 1 | |
npm ERR! | |
npm ERR! Failed at the [email protected] preinstall script. | |
npm ERR! This is most likely a problem with the zmq package, | |
npm ERR! not with npm itself. | |
npm ERR! Tell the author that this fails on your system: | |
npm ERR! node-waf clean || (exit 0); node-waf configure build | |
npm ERR! You can get their info via: | |
npm ERR! npm owner ls zmq | |
npm ERR! There is likely additional logging output above. | |
npm ERR! | |
npm ERR! System Darwin 11.4.0 | |
npm ERR! command "node" "/usr/local/bin/npm" "install" "zmq" | |
npm ERR! cwd /Users/benjaminkampmann/dev | |
npm ERR! node -v v0.6.7 | |
npm ERR! npm -v 1.1.0-beta-10 | |
npm ERR! code ELIFECYCLE | |
npm ERR! message [email protected] preinstall: `node-waf clean || (exit 0); node-waf configure build` | |
npm ERR! message `sh "-c" "node-waf clean || (exit 0); node-waf configure build"` failed with 1 | |
npm ERR! | |
npm ERR! Additional logging details can be found in: | |
npm ERR! /Users/benjaminkampmann/dev/npm-debug.log | |
npm not ok |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment