Hi, Installed libzmq-dev successfully: sudo apt-get libzmq-dev
Tried to run again: npm install zmq but still got the same error. @Rong Shen: any suggestion on it? How can I check libzmq-dev version to make sure it's 2.x version? Thanks. On Mon, Jul 16, 2012 at 11:00 AM, Rong Shen <rong.s...@gmail.com> wrote: > libzmq is not a node module so you can not use npm to install. > > You can insatll libzmq via your Package Manager or follow the > build/install instructions below. > http://www.zeromq.org/intro:get-the-software > > Git repos here. > https://github.com/zeromq/zeromq2-x > > Notice that node ZMQ does not support libzmq 3.x but only 2.x. > > 在 2012年7月16日星期一UTC+8上午11时44分23秒,hd nguyen写道: > >> Hi mscdex, >> >> Tried to run npm install libzmq libzmq-dev but seems those modules did >> not exist in node module repository. >> >> D:\NodeJS_Examples\pubsub\**node_modules>npm install libzmq-dev >> npm http GET >> https://registry.npmjs.org/**libzmq-dev<https://registry.npmjs.org/libzmq-dev> >> npm http 404 >> https://registry.npmjs.org/**libzmq-dev<https://registry.npmjs.org/libzmq-dev> >> npm ERR! 404 'libzmq-dev' is not in the npm registry. >> npm ERR! 404 You should bug the author to publish it >> npm ERR! 404 >> npm ERR! 404 Note that you can also install from a >> npm ERR! 404 tarball, folder, or http url, or git url. >> >> >> On Mon, Jul 16, 2012 at 10:37 AM, mscdex <msc...@gmail.com> wrote: >> >>> On Sunday, July 15, 2012 11:02:44 PM UTC-4, hd nguyen wrote: >>>> >>>> ../binding.cc:29:17: fatal error: zmq.h: No such file or directory >>>> >>> Looks like you don't have libzmq and/or libzmq-dev installed. >>> >>> -- >>> Job Board: http://jobs.nodejs.org/ >>> Posting guidelines: https://github.com/joyent/**node/wiki/Mailing-List-* >>> *Posting-Guidelines<https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines> >>> You received this message because you are subscribed to the Google >>> Groups "nodejs" group. >>> To post to this group, send email to nodejs@googlegroups.com >>> To unsubscribe from this group, send email to >>> nodejs+unsubscribe@**googlegroups.com<nodejs%2bunsubscr...@googlegroups.com> >>> For more options, visit this group at >>> http://groups.google.com/**group/nodejs?hl=en?hl=en<http://groups.google.com/group/nodejs?hl=en?hl=en> >>> >> >> >> >> -- >> Nguyen Hai Duy >> Mobile : 0914 72 1900 >> Yahoo: nguyenhd_lucky >> > -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > You received this message because you are subscribed to the Google > Groups "nodejs" group. > To post to this group, send email to nodejs@googlegroups.com > To unsubscribe from this group, send email to > nodejs+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en > -- Nguyen Hai Duy Mobile : 0914 72 1900 Yahoo: nguyenhd_lucky -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en