[mythtv-users] Getting started with compiling trunk

James Purl convbox at jamespurl.com
Tue Jan 13 17:47:36 UTC 2009


On Tue, 13 Jan 2009, Ian Barton wrote:

>> ./configure --help
>>
>> to see the list of options
>>
>> ./configure <list of options>
>>
>> until you see  that the features you want will be built, with (in my
>> case) lots of googling and trial and error to hunt down the missing
>> dependencies.
>>
> You should be able to get the dependencies by doing a sudo apt-get
> build-dep mythtv. I think that mythtv is a meta package in Ubuntu which
> encompasses all the other bits of myth. There may be a few extra bits
> from trunk which are not in the Debian builds, so you may need to
> install a few extra things.
>
> Note as a first step you should do:
>
> apt-get install build-essential linux-headers-$(uname -r)
>
> I would also install checkinstall. This lets you build a Debian package,
> which makes un-installing much easier. Roughly your need to do:
>
> ./configure --all-your-options
> make
> su root
> checkinstall
>
> You need to tell checkinstall a version number, which can be anything
> eg. myth-trunk-22, when prompted. If you omit this step it will probably
> barf.
>
> Ian.
>
I spent most of my December "use-it-or-lose-it" time off figuring out how 
to build MythTV SVN packages the "Debian" way for the same reason (HD-PVR) 
along with VDPAU.  One caveat I can pass along now, is the build-dep for 
-fixes MythTV wouldn't take into account the Qt4 build requirements of 
MythTV SVN.  Rather than go through a packaging tutorial on here, feel 
free to contact me offlist if you might be interested in my *diff.gz, 
which is basically the "debian" directory you run against the myth 
source and use one of the standard Debian/Ubuntu package toolkits (I 
create .dsc with debuild, then run pbuilder against that, then place the 
debs on a local custom repository).  I haven't placed my stuff online 
anywhere because the Mythbuntu folks already (used) to do this, and 
although it works, I'm not sure I'm doing all the "Replaces", "Depends" 
and "Conflicts" in my control file completely properly.


More information about the mythtv-users mailing list