{"issue":{"title":"zmq install failed","user":{"login":"rafalsobota","id":6906,"url":"https://api.github.com/users/rafalsobota","avatar_url":"https://secure.gravatar.com/avatar/f4dd8b23a712555e2b663626e25fd9bc?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"f4dd8b23a712555e2b663626e25fd9bc"},"created_at":"2011-11-23T22:00:14Z","milestone":null,"labels":[],"state":"closed","updated_at":"2011-12-28T04:11:04Z","id":2335233,"closed_at":"2011-11-23T22:33:11Z","html_url":"https://github.com/JustinTulloss/zeromq.node/issues/66","pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"body":"\r\n    Rafals-MacBook:myproject rav$ node -v\r\n    v0.6.2\r\n    \r\n    Rafals-MacBook:myproject rav$ npm -v\r\n    1.0.106\r\n    \r\n    Rafals-MacBook:myproject rav$ brew list zeromq\r\n    /usr/local/Cellar/zeromq/2.1.10/include/ (3 files)\r\n    /usr/local/Cellar/zeromq/2.1.10/lib/libzmq.1.dylib\r\n    /usr/local/Cellar/zeromq/2.1.10/lib/pkgconfig/libzmq.pc\r\n    /usr/local/Cellar/zeromq/2.1.10/lib/ (2 other files)\r\n    /usr/local/Cellar/zeromq/2.1.10/share/man/ (30 files)\r\n    \r\n    Rafals-MacBook:myproject rav$ npm install zmq\r\n    \r\n    > zmq@1.0.3 preinstall /Users/rav/Documents/myproject/node_modules/zmq\r\n    > node-waf clean || true; node-waf configure build\r\n    \r\n    Nothing to clean (project not configured)\r\n    Setting srcdir to                        : /Users/rav/Documents/myproject/node_modules/zmq \r\n    Setting blddir to                        : /Users/rav/Documents/myproject/node_modules/zmq/build \r\n    Checking for program g++ or c++          : /usr/bin/g++ \r\n    Checking for program cpp                 : /usr/bin/cpp \r\n    Checking for program ar                  : /usr/bin/ar \r\n    Checking for program ranlib              : /usr/bin/ranlib \r\n    Checking for g++                         : ok  \r\n    Checking for node path                   : not found \r\n    Checking for node prefix                 : ok /usr/local/Cellar/node/0.6.2 \r\n    Checking for pkg-config version >= 0.0.0 : pkg-config was not found \r\n    /Users/rav/Documents/myproject/node_modules/zmq/wscript:14: error: the configuration failed (see '/Users/rav/Documents/myproject/node_modules/zmq/build/config.log')\r\n    npm ERR! error installing zmq@1.0.3 Error: zmq@1.0.3 preinstall: `node-waf clean || true; node-waf configure build`\r\n    npm ERR! error installing zmq@1.0.3 `sh \"-c\" \"node-waf clean || true; node-waf configure build\"` failed with 1\r\n    npm ERR! error installing zmq@1.0.3     at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/exec.js:49:20)\r\n    npm ERR! error installing zmq@1.0.3     at ChildProcess.emit (events.js:70:17)\r\n    npm ERR! error installing zmq@1.0.3     at maybeExit (child_process.js:359:16)\r\n    npm ERR! error installing zmq@1.0.3     at Process.onexit (child_process.js:395:5)\r\n    npm ERR! zmq@1.0.3 preinstall: `node-waf clean || true; node-waf configure build`\r\n    npm ERR! `sh \"-c\" \"node-waf clean || true; node-waf configure build\"` failed with 1\r\n    npm ERR! \r\n    npm ERR! Failed at the zmq@1.0.3 preinstall script.\r\n    npm ERR! This is most likely a problem with the zmq package,\r\n    npm ERR! not with npm itself.\r\n    npm ERR! Tell the author that this fails on your system:\r\n    npm ERR!     node-waf clean || true; node-waf configure build\r\n    npm ERR! You can get their info via:\r\n    npm ERR!     npm owner ls zmq\r\n    npm ERR! There is likely additional logging output above.\r\n    npm ERR! \r\n    npm ERR! System Darwin 11.2.0\r\n    npm ERR! command \"node\" \"/usr/local/bin/npm\" \"install\" \"zmq\"\r\n    npm ERR! cwd /Users/rav/Documents/myproject\r\n    npm ERR! node -v v0.6.2\r\n    npm ERR! npm -v 1.0.106\r\n    npm ERR! code ELIFECYCLE\r\n    npm ERR! \r\n    npm ERR! Additional logging details can be found in:\r\n    npm ERR!     /Users/rav/Documents/myproject/npm-debug.log\r\n    npm not ok","number":66,"url":"https://api.github.com/repos/JustinTulloss/zeromq.node/issues/66","comments":6,"assignee":null},"comment":{"user":{"login":"gametbt","id":786714,"url":"https://api.github.com/users/gametbt","avatar_url":"https://secure.gravatar.com/avatar/2b229a9ea1dbb2feca2dbc105ace917e?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"2b229a9ea1dbb2feca2dbc105ace917e"},"created_at":"2011-12-28T04:11:04Z","updated_at":"2011-12-28T04:11:04Z","id":3288045,"body":"Updating my above query for the benefit of others.\r\n\r\nBy setting with the location of installed libzero to PKG_CONFIG_PATH env variable I was able to continue with my install:\r\nexport PKG_CONFIG_PATH=/usr/local/zeromq/lib/pkgconfig/\r\n\r\nIt didn't work with 3.1.0, but installation did succeed with 2.1.11 version of zeromq.","url":"https://api.github.com/repos/JustinTulloss/zeromq.node/issues/comments/3288045"},"action":"created"}