It's a mess. Eventually I realized that I could download a compiled version of the client software, which isn't exactly what I want, but it at least gets me up and running.
I spent all day sorting out what the issues are, whether they have already been reported, whether anyone knows of a fix or a workaround, which forks to investigate to see what problems they solve (if any).
Eventually I was able to get everything to compile and I was hit with dozens of compiler warnings.