I find crossbar a great gateway for IoT devices. That’s how to install it on ODROID C1.
I create a directory under /usr/local called crossbar, but you can create it everywhere. You have to install it starting from source because there are no binaries at the moment.
First remove gmp libraries otherwise you’ll get compilation issue for pycrypto (thanks to Marc Abramowitz)
1 |
# aptitude remove libgmp3-dev libgmp-dev |
For reference here is the two errors:
‘PyLongObject’ has no member named ‘ob_digit’
‘PyLongObject’ has no member named ‘ob_size’
After that we can start to install crossbar from source:
1 2 3 4 5 6 |
# mkdir /usr/local/crossbar # cd /usr/local/crossbar # apt-get install build-essential libssl-dev libffi-dev python-dev python-pip # virtualenv --python=pypy pypy-venv # . pypy-venv/bin/activate # pip --no-cache-dir install crossbar[all] |
That’s all folks 🙂