CompilingInkscape
This required some libraries. I installed them all into _usr_local/stow, and used stow to create the links to _usr_local. This means that the pkg-config files ended up in _usr_local/lib/pkgconfig. For the various configure scripts to run, I had to tell it about the pkgconfig directory was where all the .pc files were:
Had to get libsigc++ 2.0.6, first.
Not sure whether the ldconfig is needed. I just do it when I install new libraries.
Had to get gtkmm, which depends on glibmm-2.4. First I tried glibmm-2.5, but it turns out that 2.5 depends on glib-2.0 2.6.0, but version 2.4.2 is installed on Slackware. *ARGH!* So I tried glibmm-2.4.5 instead. And that configured correctly.
Not for gtkmm 2.4.8.
Got Inkscape 0.40, next.
Done. 😄