Morning, great, thanks for this. Its fixed that problem so libsamplerate and the rest of indserver completes.
Moving onto Kstars... the script fails building "expat". Looks like the compile path isn't right as it can't find "stdlib.h" which I have several instances of on my system. I don't have Xcode installed so this could be the problem. The reason I haven't installed Xcode is that the Readme recommends using QT rather than Xcode, but obviously happy to install it if its required for the build.