I've updated my pi to jessie and now I need to recompile code for which there is no rpi binary. Is there a way to automatically determine and install dependencies before trying to compile? Also, where in this process will I be able to make a .deb package?