Okay well this was a fun ride. In short, the problem is that the mono and python bindings' automake process was not written for cases where the srcdir and builddir are different.
When building the language bindings for mono and python, both have input files that refer to other files in the build by path. These paths break when you change the srcdir, so I've replaced the input files with template files (ie, foo.sources.xml was replaced with foo.sources.xml.in). That way, input files containing the correct paths can be generated from the templates when the configure script is run.
There were a couple of places in the python and mono directories' Makefile.am files that made similar assumptions about builddir and srcdir. These were also tweaked.
Okay well this was a fun ride. In short, the problem is that the mono and python bindings' automake process was not written for cases where the srcdir and builddir are different.
When building the language bindings for mono and python, both have input files that refer to other files in the build by path. These paths break when you change the srcdir, so I've replaced the input files with template files (ie, foo.sources.xml was replaced with foo.sources. xml.in) . That way, input files containing the correct paths can be generated from the templates when the configure script is run.
There were a couple of places in the python and mono directories' Makefile.am files that made similar assumptions about builddir and srcdir. These were also tweaked.