OpenNMT Forum

Simple guide for zeromq 3.2.2 on Ubuntu 14.04 with Lua 5.2

simple guide for zeromq configuration, my system is Ubuntu 14.04 and Lua 5.2.

Install zeromq

tar -zxvf zeromq-3.2.2.tar.gz
cd zeromq-3.2.2
./configure  --prefix=/usr/local/zeromq
make -j24
make install

Install lua-zmq

luarocks install dkjson
luarocks install
luarocks install ZEROMQ_LIBDIR=/usr/local/zeromq/lib ZEROMQ_INCDIR=/usr/local/zeromq/include
luarocks install

The guide can avoids some compile errors.


Thanks. I’m also using Ubuntu 14.04 with Lua 5.2.
The “Install zeromq” process worked beautifully. However “luarocks install dkjson” produces “Error: No results matching query were found”. I was wondering whether you encountered this and how you resolved it.
Thanks aqain.

Please disregard my previous request. For some reason installation required sudo!