Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

another zmq installation error #70

Closed
najamkhn opened this Issue Dec 20, 2011 · 3 comments

Comments

Projects
None yet
3 participants

Tried installing it on CentOS, and here's what I get..

Nothing to clean (project not configured)
Setting srcdir to : /root/Projects/testapp/node_modules/zmq
Setting blddir to : /root/Projects/testapp/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 : Package libzmq was not found
/root/Projects/testapp/node_modules/zmq/wscript:15: error: the configuration failed (see '/root/Projects/testapp/node_modules/zmq/build/config.log')
npm ERR! error installing zmq@2.0.0
npm ERR! zmq@2.0.0 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 zmq@2.0.0 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 Linux 2.6.32-131.21.1.el6.x86_64
npm ERR! command "node" "/usr/local/bin/npm" "install" "zmq"
npm ERR! cwd /root/Projects/testapp
npm ERR! node -v v0.6.6
npm ERR! npm -v 1.1.0-beta-4
npm ERR! code ELIFECYCLE
npm ERR! message zmq@2.0.0 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! /root/Projects/testapp/npm-debug.log
npm not ok

libzmq exists in /usr/local/lib/ and still the build file cannot find it.

Collaborator

shripadk commented Dec 21, 2011

Did you build zeromq-2.x from source?

@najamkhn najamkhn closed this Dec 23, 2011

Same problem in f16. If I run it manually:

$ pkg-config --errors-to-stdout --print-errors libzmq
Package libzmq was not found in the pkg-config search path.
Perhaps you should add the directory containing `libzmq.pc'
to the PKG_CONFIG_PATH environment variable

But it's not installed, this is what fedora's rpm installs:

$ rpm -ql zeromq
/usr/lib64/libzmq.so.1
/usr/lib64/libzmq.so.1.0.0
/usr/share/doc/zeromq-2.1.9
/usr/share/doc/zeromq-2.1.9/AUTHORS
/usr/share/doc/zeromq-2.1.9/COPYING
/usr/share/doc/zeromq-2.1.9/COPYING.LESSER
/usr/share/doc/zeromq-2.1.9/ChangeLog
/usr/share/doc/zeromq-2.1.9/NEWS
/usr/share/doc/zeromq-2.1.9/README$ rpm -ql zeromq
/usr/lib64/libzmq.so.1
/usr/lib64/libzmq.so.1.0.0
/usr/share/doc/zeromq-2.1.9
/usr/share/doc/zeromq-2.1.9/AUTHORS
/usr/share/doc/zeromq-2.1.9/COPYING
/usr/share/doc/zeromq-2.1.9/COPYING.LESSER
/usr/share/doc/zeromq-2.1.9/ChangeLog
/usr/share/doc/zeromq-2.1.9/NEWS
/usr/share/doc/zeromq-2.1.9/README

There should be some other way to check for the dependency, or just ignore it, unless it's needed to build it.

I'm willing to quickly test it if you provide a solution.

Thanks
Pau

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment