As an aside, on ubuntu, it would be far easier to just issue the command: apt-get build-dep mythtv mythtv-plugins to get you all the dependencies to build from source.