Skip to content

gem should install without configuration when zqm is installed in well known places #10

Closed
skaes opened this Issue Jul 26, 2011 · 0 comments

2 participants

@skaes
skaes commented Jul 26, 2011

the way extconf.rb is written, installing the gem fails quite often, even though libzmq and headers are installed in well known places.

$ ruby extconf.rb 
checking for zmq_init() in -lzmq... no
extconf.rb:25: Couldn't find zmq library. try setting --with-zmq-dir=<path> to tell me where it is. (RuntimeError)

$ locate zmq.h
/opt/local/include/zmq.h
/opt/local/include/zmq.hpp
/opt/local/var/macports/software/zmq/2.1.7_0+pgm/opt/local/include/zmq.h
/opt/local/var/macports/software/zmq/2.1.7_0+pgm/opt/local/include/zmq.hpp

Having to specify --with-zmq-dir is a nuisance, especially in combination with using bundler.

I'm going to submit a patch.

@skaes skaes added a commit to skaes/rbzmq that referenced this issue Jul 26, 2011
@skaes skaes should install automagically on most platforms now fixes #10
without resorting to --with-zmq-dir=<path>, which is painful to use with bundler
5baf773
@bwbuchanan bwbuchanan closed this in 6c533c1 Sep 7, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.