I had to install automake on ubuntu for autoreconf -i to work

Just a small detail.  There's a missing aclocal error when running autoreconf -i if you don't have the automake package installed on ubuntu/debian.