won't compile (Debian amd64)

I see, that’s a bug in makepanda. It should test your system-standard python interpreter (/usr/bin/python) to see which one it is, and compile against that.

You may have to alter a few lines in makepanda to force it to choose the right version of python. Search around in there for where it sets the variable PYTHONSDK. You might have to alter the code that sets that variable.