Got that one too. Apparently TC installs perl into /usr/local/bin as opposed to /usr/bin. So I needed to change the !# line inside keymap-gen.pl to !#/usr/local/bin.
Another dep is gtk3-gir, then it built. I now have a spicy client, but I need to recompile qemu to support spice output.
Also, it wants PulseAudio and Gstreamer 1.0. I thought I had the Gstreamer one, but I'll try and rebuild it.
...sheesh, I should write all this up when I'm done if I remember. Meanwhile, since none of this is persistent I'll get lots of practise doing it over again after I reboot
R