Open yf13 opened 9 years ago
I am wondering this is by design since ZeroMQ 4.x was not mentioned in this project's installation guide.... If so, I will close this ticket soon.
Regards, yanfeng
ZeroMQ 4.x is supported as per a335ef06256146637e81e4d034be08c93b6f724b, but it doesn't work with the latest version of ZeroMQ.
I also have trouble trying building lua-zmq with ZeroMQ 4.1.4. It seems that monitor event interface changed in 4.x and that broke bindings (see this and this) In my case, first error to show-up it due to zmq_event_t that doesn't exist any more in zmq headers. So I guess it requires real work to get it ported to 4.1.x.
Regards, Laurent
Same error while installing on CentOS 7 ("Failed compiling object src/pre_generated-zmq.nobj.o")
It's not compatible with the latest version. You need to:
wget https://github.com/zeromq/zeromq2-x/releases/download/v2.1.11/zeromq-2.1.11.tar.gz && \
tar -xvf zeromq-2.1.11.tar.gz && cd zeromq-2.1.11 && \
./configure && make && \
make install && sudo ldconfig
luarocks install lua-zmq ZEROMQ_LIBDIR=/usr/local/lib ZEROMQ_INCDIR=/usr/local/include
Any chance for getting support of modern ZMQ?
This library is not dropin replacement for lua-zmq library.
@moteus The problem is that I have a legacy Lua module that I need to install. And it depends on lua-zmq...
I think it may be quite easy to write wrapper around lzmq to provide needed API.
@moteus I would be very happy to have such a wrapper available ;)
Wrote wrapper for lzmq
to be drop-in replacement for lua-zmq. https://github.com/moteus/lua-lzmq-zmq
zthreads
module from original lua-zmq also should be compatiabale with this library.
Hi,
I have zeromq 4.1.2 installed under "/usr/local/" folder and C and Python samples already working.
Then I installed lua packages:
But when I follow the installation guide of this 0MQ Lua binding, I got errors like
Is there anything wrong?
Regards, yanfeng