I am using package guide of Ubuntu (http://packaging.ubuntu.com/html/packaging-new-software.html), but I am stuck in compilation stage. I can compile .deb using
dpkg-buildpackage -rfakeroot -uc -us
but, bzr dpkg-buildpackage -rfakeroot -uc -us or bzr buildeb -rfakeroot -uc -us gives not found error. Also on launchpad, the project build always fails.