Skip to content
/ SynComm Public

Aggregates and distributes messages with Go and ZMQ

Notifications You must be signed in to change notification settings

Lumate/SynComm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

SynComm

Aggregates and distributes messages.

Code written in go (golang).

Installation

it looks like you need libzmq-dev and libzmq3-dev but they conflict so...

sudo apt-get install golang libtool autoconf automake uuid-dev build-essential libzmq3 libzmq3-dev libzmq3-dbg pkg-config
sudo apt-get install libzmq-dev

set up paths with export or add to /etc/environment

mkdir $HOME/go
export GOPATH=$HOME/go
export PATH=$PATH:$GOPATH/bin

packages

go get github.com/alecthomas/gozmq

to compile a newer zmq; good luck

wget http://download.zeromq.org/zeromq-4.0.4.tar.gz
tar zxvf zeromq-4.0.4.tar.gz && cd zeromq-4.0.4
./configure
make && make install
sudo ldconfig

Now, to get the lua zmq binding, you can use luarocks or cmake it

git clone [email protected]:Neopallium/lua-zmq.git
sudo /usr/local/openresty/luajit/bin/luarocks install lua-zmq/rockspecs/lua-zmq-scm-1.rockspec ZEROMQ_LIBDIR=/usr/lib/x86_64-linux-gnu/

cmake:

git clone [email protected]:Neopallium/lua-zmq.git
cd lua-zmq ; mkdir build ; cd build
cmake ..
# now set LUA_INCLUDE_DIR=/usr/local/openresty/luajit/include/luajit-2.1 in CMakeCache.txt
cmake ..
make
sudo make install

If you would like to install SynComm from git without asking for your credentials, then change your ~/.gitconfig to have: [url "[email protected]:"] insteadOf = https://github.com/

Finally:

go get github.com/Lumate/SynComm

About

Aggregates and distributes messages with Go and ZMQ

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages