[mythtv-users] Cross Compiling on Backend for all Clients

jedi jedi at mishnet.org
Mon Feb 14 00:49:19 UTC 2011


On Sat, Feb 12, 2011 at 08:48:10PM -0700, Greg Grotsky wrote:
> Thanks for the quick response jedi.
> 
> On Sat, Feb 12, 2011 at 8:27 PM, jedi <jedi at mishnet.org> wrote:
> 
> >    I get around this by having all of the frontends share their binaries
> > via NFS. I just build the frontend version of MythTV once for all of my
> > frontends.
> >
> 
> 
> This should work with samba shares the same, right?  Do you know of a list
> of binaries that I should copy to the shared directory?  Or are you just
> NFSing your /usr/local/bin directory to all your clients?

    With my setup, the build scripts just install everything to the shared 
storage. I have an alternate prefix setup as part of the "configure" step.
I use "/opt/mythtv" instead of the default. Everything goes there instead
of the usual locations.

> 
> 
> 
> >    I set MYTHTVDIR in the environment on the frontends before starting up
> > the frontend. I also have an extra line in ld.so.conf to address the fact
> > that MythTV libs are installed in an oddball location.
> >
> 
> 
> How do you know which libs (or libs directory to share)?  Or are your
> machines also getting the whole /usr/local/lib structure from the server
> through NFS?  As you can see, sadly, I'm also not familiar with NFS. :(

     ld.so.conf or LD_LIBRARY_PATH handles this.

     Setting up your PATH or the rest of the environment is completely 
independent of whether or not you are sharing your files between boxes.

     Changing where MythTV builds and installs stuff to by default is a
separate problem from the file sharing part. Dunno how smbfs would 
complicate this. It shouldn't be a problem since these are all binaries
and libraries and such that are usually owned by root anyways.

     You just need to figure out what you want to do and start Googling.
Just sharing the Myth binaries is certainly a very doable approach.


More information about the mythtv-users mailing list