I,ve made a lot of progress, installed Ubuntu in Parallels, installed some required libraries, compiled Juce, and compiled BinaryBuilder. And it actually runs! Hurray!
So I can compile a command line app on Ubuntu but when I move it to our webserver running Debian it errors:
./BinaryBuilder: /lib/tls/i686/cmov/libc.so.6: version `GLIBC_2.4’ not found (required by ./BinaryBuilder)