On Ubuntu (and probably Debian): you may have to do "update-alternatives --config git" to make git point to git-scm (instead of the unrelated gitfm command). Also on Ubuntu I had to do "apt-get install gtk-doc-tools docbook-utils automake1.7 automake1.8 automake1.9"