install uwsgi 1.4 on Ubuntu Lucid 10.04.2 LTS

Instasll new shit on legacy OS is always pain in the ass.

Uwsgi 1.4 includes some awesome new features using zeromq, but it's impossible to install directly using pip. So here's the patch

  1. Download libpgm 5.1.116. This library is multicast protocol blah used by zmq.
  2. dpkg -i that shit
  3. sudo apt-get install libzmq1
  4. sudo apt-get install libzmq-dev
  5. sudo pip install uwsgi

Aaaaaaand you are done.

Ubuntu Lucid 10.04.2 LTS is such old system, even the libc6 is lack behind, A LOT.