KnoppMyth downloads | documentation | HowTo | reporting bugs | links | Recent Changes  
search for in the  

What is a Wiki?

See WikiWikiWeb

If you don't know how to use a wiki see the WikiHowto

ErfurtWiki is maintained by a loosely knit group of developers.

Quick Links

Related sites

Contact

Please submit website bugs in the BugReports

Contribute!

Please file any wishes on UserSuggestions.

Hosted By

Get the SVN version

Do this as user mythtv:

mkdir /home/mythtv/svn/
cd /home/mythtv/svn

Then either this to get the trunk:

svn co http://svn.mythtv.org/svn/trunk/mythtv
svn co http://svn.mythtv.org/svn/trunk/mythplugins
svn co http://svn.mythtv.org/svn/trunk/myththemes

or to get the 0.21 release with fixes instead:

svn co http://svn.mythtv.org/svn/branches/release-0-21-fixes/mythtv
svn co http://svn.mythtv.org/svn/branches/release-0-21-fixes/mythplugins
svn co http://svn.mythtv.org/svn/branches/release-0-21-fixes/myththemes

(alternatively, new 0.21 full release available from http://www.mythtv.org/modules.php?name=Downloads&d_op=viewdownload&cid=1 Download all three tarballs.)

Configure

Before you can compile MythTV on KnoppMyth you need to run configure with at least the --prefix option.

The following will build with the same features as the KnoppMyth installation:

cd ~/svn/mythtv
./configure --prefix=/usr --arch=i586 --enable-dvb --enable-firewire \
--dvb-path=/usr/include --enable-xvmc --enable-xvmc-vld \
--enable-opengl-vsync --enable-mmx --enable-memalign-hack \
--enable-xvmc-pro --enable-fribidi --cpu=i586 --enable-libfftw3 \
--runtime-prefix=/usr
cd ~/svn/mythplugins
./configure --prefix=/usr --enable-all --disable-festival --zm-version=1.22.3
cd ~/svn/myththemes
./configure --prefix=/usr

If you're using an AMD Athlon processor and gcc 3.4, you might get an error about a "bad value" for -march. Add --arch=athlon to the configure line to fix this.

To get rid of annoying distributed compiler messages, add --disable-distcc to to the configure line.

Compile ~MythTV

To compile ~MythTV use these commands, and have a cup of coffee, this will take some time. If you are recompiling and have made major changes, such as a kernel upgrade, run "make distclean" to clean things up before starting.

cd ~/svn/mythtv

For r5.5 or earlier:

     export QTDIR=/usr/share/qt3

For r6, when compiling 0.21 fixes:

     export QTDIR=/opt/qt

For r6, when compiling trunk (I have not tested this. The first person to see that it works can update this page. QT4 might need to be installed through pacman):

     export QTDIR=/usr

qmake mythtv.pro
make

You have to install mythtv before building the plugins so that they build against mythtv libraries produced by building mythtv from SVN.

Backup!

Do this as user root:

tar czvf ~/mythlibs.tgz /usr/lib/libmyth* /usr/bin/myth*
mythbackup

Also, back up the menus:

\cp /usr/share/mythtv/mainmenu.xml ~
\cp /usr/share/mythtv/optical_menu.xml ~

To restore it, again as user root, simply:

cd /
tar zxvf ~/mythlibs.tgz
mythrestore

Note, at the bottom are instructions for installing the standard setup from scratch, which may make the tar statements above unnecessary - but still make sure to do the mythbackup and copy the menus.

Install MythTV, copy back the old menus...

As user root, run:

/etc/init.d/lirc stop
/etc/init.d/mythtv-backend stop
/etc/init.d/mysql stop
cd ~mythtv/svn/mythtv
make install
\cp ~/mainmenu.xml /usr/share/mythtv/
\cp ~/optical_menu.xml /usr/share/mythtv/

Compile and install mythplugins and myththemes

As user mythtv again:

cd ~/svn/mythplugins
qmake mythplugins.pro
make
cd ~mythtv/svn/myththemes
qmake myththemes.pro
make

Then install them as user root and start things up again:

cd ~mythtv/svn/mythplugins
make install
cd ~mythtv/svn/myththemes
make install
/etc/init.d/mysql start
/etc/init.d/mythtv-backend start
/etc/init.d/lirc start

Comment from Stef: It's also possible to build your own Debian deb packages for each of these three elements (mythtv mythplugins myththemes). Instead of running "make install" as above, run "checkinstall -D make install" as root in the relevant directories, then follow the instructions to create and install each package. You may need to remove cesman's packages first before dpkg will allow you to install your new ones, using "dpkg -r mythplugins mythtv-backend mythtv-common mythtv-database mythtv-frontend" if necessary. See here for more info on checkinstall: http://www.debian-administration.org/articles/147

This may be useful in that it'll allow you to switch between your self-rolled and cesman's packages easily or update to newer versions of your own packages. Note that this won't deal with any database backups or restorations so remember to do these yourself!

Update MythWeb

If you updated to the trunk, the web-based interface to MythTV (mythtweb) also needs to be installed (if you just updated to fixes, you can probably keep your current mythweb, as there are usually database changes to milestone releases.)

cd ~/svn/mythplugins/mythweb
cp -R * /var/www/mythweb

To Update your local SVN copy of the sourcecode

cd ~/svn/mythtv
svn update

cd ~/svn/mythplugins
svn update

cd ~/svn/myththemes
svn update

and recompile everything.

Note: Upon reboot, mythfrontend may hang on the blue background screen. Open a terminal and kill the mythfrontend process, then run
start mythfrontend with "-O ThemePainter=qt"

Comment from nickread - for an alternative process, including Knoppmyth diffs, see http://mysettopbox.tv/phpBB2/viewtopic.php?t=9042

Recommend following essay editing instructions above to backup release version of programs before applying new debs.

Argh! It all went wrong

And if everything turns pear shaped, you can always just run install-i686 or install-i586 (depending on your hardware) to get the original version of mythtv that came with your KnoppMyth install back.



UpdatedPages

· WhatRemoteYouUse last changed on Sat Jul 31 10:46:47 2010
· WhatCardYouUse last changed on Sat Jul 31 10:45:00 2010
· TinnyAudioPVR150 last changed on Fri Jul 30 03:20:30 2010
· KnoppMythWiki last changed on Thu Jul 29 04:35:17 2010
· HowTo last changed on Wed Jul 28 09:27:02 2010
· HardwareAcceleratedVideo last changed on Tue Jul 27 09:15:10 2010
· MythVodkaHowTo last changed on Tue Jul 27 09:14:04 2010
· DisklessFrontend last changed on Tue Jul 27 09:13:29 2010
· CompileMythTVFromSVN last changed on Tue Jul 27 07:39:28 2010
· MythMusic last changed on Tue Jul 27 07:38:00 2010
· RRD Disk Partition Usage last changed on Sun Jul 25 21:34:12 2010
· UserSuggestions last changed on Sun Jul 25 16:25:51 2010
· Links last changed on Sun Jul 25 16:21:33 2010
· KnoppmythDownloads last changed on Sun Jul 25 14:02:11 2010
· KnoppMythInstall last changed on Sun Jul 25 14:00:46 2010
· TroubleShooting last changed on Wed Jul 21 07:03:13 2010
· webminhowto last changed on Mon Jul 19 07:34:28 2010
· PickingComponents last changed on Wed Jul 14 17:27:40 2010
· mplayerResume last changed on Mon Jul 12 22:54:24 2010
· R5A12DvdRipping last changed on Mon Jul 12 14:44:04 2010
· Additional Software last changed on Mon Jul 12 14:42:31 2010
· HowToUseMyth last changed on Mon Jul 12 14:41:09 2010
· x11vncHowTo last changed on Sun Jul 11 00:06:20 2010
· CountrySpecific last changed on Thu Jul 1 14:48:40 2010
· RepairingMythConvergDB last changed on Thu Jul 1 14:42:58 2010
· tv_grab_au last changed on Tue Jun 29 15:44:05 2010
sitemap |