[mythtv-users] Recompile procedures

Alan Snyder ax763 at yahoo.com
Thu Dec 11 13:41:35 EST 2003


>Beginner's question - Do I need to completely
uninstall to do a recompile /
and make install? ( I 
>didn't find anything about an uninstall in the docs,
doesn't mean it's not
there)

In the directory of the module you're
recompiling (e.g., mythtv),

make clean distclean
qmake mythtv.pro (or myth___.pro)
make

make install as root will then overwrite
the old binaries.  

Always re-compile and install the latest
mythtv before re-compiling other modules,
so that the others will be compiled 
against the correct libraries.

I use the cheesy script

#!/bin/bash
for f in myth*
  do
  cp -f $f $f.prev
  done

to keep backups of old versions in
case of trouble.  Then

rm -f myth*.prev.prev.prev will get rid
of anything 3 or more generations old.

NOTE:  Any new binary that updates the
database format may make older versions
inoperable.


__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree


More information about the mythtv-users mailing list