[mythtv-users] Building MythTV over packages?

papenfuss at juneau.me.vt.edu papenfuss at juneau.me.vt.edu
Thu Apr 1 16:04:32 EST 2004


	It sounds like the end result is the same... automatically populating 
symlinks in the right place in /usr/local.  Encap hides them all in 
/usr/local/encap, but other than that sounds the same.

	It sounds like stow is a perl thingy though.  Perl is an evil hack that 
I'd rather not use.  Whatever works for you though... just figured I'd tell 
people who may not know about such "lightweight package managers."

-Cory

On Thu, 1 Apr 2004, Joseph A. Caputo wrote:

> On Thursday 01 April 2004 07:14, papenfuss at juneau.me.vt.edu wrote:
> > 	I highly recommend using the "Encap" packaging scheme from UIUC. 
> > It's really not even a package manager, but rather automatically
> > makes symlinks. Compile package with:
> 
> Might I also suggest GNU stow (http://www.gnu.org), which allows you to 
> install everything under a single directory and switch installations 
> with 2 commands.  For instance, when I build Myth, I change 
> settings.pro so that the PREFIX dir is:
> 
> /usr/local/stow/mythtv-<date> (where date is that day's date, duh)
> 
> Then when I build & install Myth, everything goes to that directory, so:
> 
> /usr/local/stow/mythtv-<date>/share
> /usr/local/stow/mythtv-<date>/bin
> /usr/local/stow/mythtv-<date>/lib
> 
> ... and so forth.  I can have multiple /usr/local/stow/mythtv-<date> 
> directories.  If I do the following:
> 
> 	cd /usr/local/stow
> 	stow mythtv-<date>
> 
> It creates symlinks under /usr/local to everything in mythtv-<date>.  So 
> I get:
> 
> /usr/local/bin/mythfrontend -> /usr/local/stow/mythtv-<date>/bin/
> mythfrontend
> 
> /usr/local/share/mythtv -> /usr/local/stow/mythtv-<date>/share/mythtv
> 
> and so forth.  I can run:
> 
> 	stow -D mythtv-<date>
> 
> to "un-stow" an existing directory and, then run 'stow mythtv-<newdate> 
> to "stow" a different one.  This works great, as it gives me the 
> ability to try out a new CVS release, but if it has a problem I can go 
> back to a different version almost instantly.
> 
> -JAC
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> 

-- 
*************************************************************************
* The prime directive of Linux:  					*
* 	- learn what you don't know, 					*
* 	- teach what you do.						*
* 						(Just my 20 USm$)	*
*************************************************************************




More information about the mythtv-users mailing list