The following packages are need to compile cvs inkscape under a default Ubuntu Hoary/Breezy/Dapper system:
apt-get install cvs build-essential intltool libtool libgtkmm-2.4-dev libglib2.0-dev libpng12-dev libxslt1-dev libsigc++-2.0-dev libpopt-dev libgc-dev
Inkscape requires libgc-6.4.
Breezy/Dapper doesn't require any further work.
Hoary uses version 6.3, which is provided in the Repos. (Is there somewhere to get a .deb for 6.4?)
To overwrite libgc-6.3 with libgc-6.4:
Download gc6.4 ./configure --prefix=/usr make sudo make install