I’ve just been through hell to get the HEAD revision of GNU Cash to build and run on GNU/Debian … The problem was that GNUCash depends, amongst many other dependencies, on Guile and on the SLIB library for Guile.
If you want to save you some hours, use the following Debian packages (and stick to those versions !)
guile-1.6;1.6.8-6;The GNU extension language and Scheme interpreter
guile-1.6-dev;1.6.8-6;Development files for Guile 1.6
guile-1.6-libs;1.6.8-6;Main Guile libraries
guile-1.6-slib;1.6.8-6;Guile SLIB support
libguile-ltdl-1;1.6.8-6;Guile's patched version of libtool's libltdl
libqthreads-12;1.6.8-6;QuickThreads library for Guile
slib;3a4-4;Portable Scheme library
Good luck !