[mythtv] Using a staging file system when building myth

Jan Örnstedt ornstedt at users.sourceforge.net
Mon Sep 13 07:10:01 EDT 2004


Colin,

Thanks for the pointers. I found some usefull stuff in the spec file
which seemed to resolve the relativ paths.

I am currently working on trying to put together a Darwinports bundle
for MacOS X :-)

/Janne


On Sun, 12 Sep 2004 23:15:28 +0100, "Colin Guthrie"
<myth at colin.guthr.ie> said:
> Jan Örnstedt wrote:
> > Hi,
> > 
> > I am trying to package mythtv but have som problems with installing it
> > into a temporary staging area. If I change the PREFIX things will not
> > work. Seems like mythtv doesn't respect DESTDIR...
> 
> A further point to note:
> 
> Make sure your staging area is not in /usr/local.
> 
> Nothing to do with Myth specifically, but qmake does odd things when 
> inside /usr/local  It basically makes loads of paths relative rather 
> than absolute which can really mess things up.
> 
> I spent ages playing with this until I realised it wasn't my fault!!
> 
> If you're building in a chroot, this shouldn't matter ('cause why use 
> /usr/local in a chroot??!), if not, and you need the space on 
> /usr/local, then you could bind mount your real build area to some path 
> other than /usr/local
> 
> e.g. mount -t none /usr/local/myth /myth -o bind
> 
> Hope this helps avoid a headache.
> 
> Col.
> 
> 
> -- 
> 
> +------------------------+
> |     Colin Guthrie      |
> +------------------------+
> |   myth at colin.guthr.ie  |
> | http://colin.guthr.ie/ |
> +------------------------+
> 


More information about the mythtv-dev mailing list