From 547ea071a942b17057b96d8fa9e552e8016ff3f4 Mon Sep 17 00:00:00 2001 From: "Robert G. Jakabosky" Date: Mon, 11 Apr 2011 18:37:25 -0700 Subject: [PATCH] Update README for 1.0 release. --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index 6bf74d5..0067056 100644 --- a/README.md +++ b/README.md @@ -7,16 +7,29 @@ Installation ============ It is recommended to either compile Lua with the "-pthread" flag or preload libpthread.so on Linux when using this module ([See this glibc bug report](http://sourceware.org/bugzilla/show_bug.cgi?id=10652): + $ LD_PRELOAD=/lib/libpthread.so lua +lua-zmq 1.0 release: + + $ sudo luarocks install lua-zmq + +lua-zmq-threads 1.0 release: + + $ sudo luarocks install lua-llthreads + $ sudo luarocks install lua-zmq-threads + With LuaRocks 2.0.4.1: + $ sudo luarocks install https://github.com/Neopallium/lua-zmq/raw/master/rockspecs/lua-zmq-scm-1.rockspec For threads support: + $ sudo luarocks install https://github.com/Neopallium/lua-llthreads/raw/master/rockspecs/lua-llthreads-scm-0.rockspec $ sudo luarocks install https://github.com/Neopallium/lua-zmq/raw/master/rockspecs/lua-zmq-threads-scm-0.rockspec With CMake: + $ git clone git://github.com/Neopallium/lua-zmq.git $ cd lua-zmq ; mkdir build ; cd build $ cmake ..