LinHES Forums http://forums.linhes.org/ |
|
Installing 0.13 from source http://forums.linhes.org/viewtopic.php?f=11&t=496 |
Page 1 of 2 |
Author: | cesman [ Tue Jan 13, 2004 1:31 am ] |
Post subject: | Installing 0.13 from source |
BEFORE you begin backup. Get the source(s) from mythtv.org. Don't forget the patch for 0.13. $cd /path/to/source $cp /usr/share/mythtv/mysql.txt programs/mythfrontend/ su #/etc/init.d/mythtv-backend stop #dpkg -r mythtv<tab> mythd<tab> mythgall<tab> mythgam<tab>....(you get the idea remove all the 0.12 packages). #exit $export QTDIR=/usr/share/qt3 $export PATH=$PATH:$QTDIR/bin $tar xvjf mytht<tab> $mv /path/to/sourcer/tv<tab> . $patch -p0 < tv<tab> $vi settings.pro change /usr/local to /usr change pentiumpro to i586 if you have an i586 class CPU, if not you can let it be. If you want native LIRC, XvMC, etc. this is the place to uncomment... write and quit $./configure $qmake mythtv.pro $make Open another tty <ctrl><alt><f2>, I'll assume you are working in the first tty. Log in as root. #export QTDIR=/usr/share/qt3 #export PATH=$PATH:$QTDIR/bin #cd /path/to/source/mytht<tab> #make install #cp setup/setup /usr/local/bin/mythtv-setup <ctrl><alt><f1> cd .. tar xvjf mythd<tab> cd mythd<tab> vi settings.pro in the same manner as above ./configure --enable-all qmake mythdvd.pro make <ctrl><alt><f2> cd ../mythd<tab> make install <ctrl><alt><f1> cd .. The only other package that you have to ./configure is mythvideo. You can install all packages in the same manner. The only package you cannot install is MythBrowser. All package but MythNews have a flag for CPU type. Don't forget to change /usr/local to /usr in all settings.pro. If you use Motion, you'll need to modify mainmenu.xml in /usr/share/mythtv to place it back in the menu. You can see the original that was used in R4, it is mainmenu.xml.kmr4. The same goes if you use "MPEG4 Disc". For mythweb: $cd /var/www $tar xvjf /path/to/source/mythweb<tab> $cd ~/.mythtv $ls -al Ensure all files are owned by mythtv.mythtv. Once you've installed all you want to... <ctrl><alt><f7> Open an xterm $mythtv-setup Ensure all you settings are correct... <ctrl><alt><f2> #/etc/init.d/mythtv-backend start Check the log for errors #more /var/log/mythtv/mythtv-backend.log <ctrl><alt><f7> Start the frontend. [/i] |
Author: | Dale [ Tue Jan 13, 2004 6:34 pm ] |
Post subject: | |
Wouldn't it have been just as easy to create a script to do this so anyone could just run your script? I know that would have been _much_ more work as it would have been required to test it a few times, but it would have been 'more user friendly' after all. |
Author: | cecil [ Tue Jan 13, 2004 11:38 pm ] |
Post subject: | |
![]() |
Author: | chopsuey [ Thu Jan 15, 2004 11:21 am ] |
Post subject: | Re: Installing 0.13 from source |
cesman wrote: BEFORE you bring backup.
Do you mean before you reboot the machine after installing? I was thinking about trying to upgrade to 0.13 using your guide. For the most part my MythTV machine works well, when left alone it is very stable recording program after program. The problem I am having is when I go to watch certain recordings mythfrontend crashes and I have to restart it. Trying to watch the same recording again ends in the same result. King of Queens seems to always work and MacGyver seems to always crash. So I pull it over to the windows machine and it plays well, I am really impressed with the quality I am getting from the 350. I do have the recording settings cranked up because I tend to favor quality or quantity. I have a PVR-350 in the machine but I am using the TV Out on my GeForce card because I never did get the TV Out of the 350 working completely right. I was hoping an upgrade might fix the crashing when trying to watch a recording and then maybe I would give the 350 TV out another shot. |
Author: | Xsecrets [ Thu Jan 15, 2004 11:53 am ] |
Post subject: | |
If you are using xvmc ie. the install-i686-lx script then upgrading will fix the crashing well you would have to modify your settings.pro file to include xvmc support. The problem is that xvmc support in 0.12 if very buggy. If you just use the install-i686-l script without the xvmc support your frontend crashes should go away too. |
Author: | chopsuey [ Thu Jan 15, 2004 12:09 pm ] |
Post subject: | |
Yeah I have read that the xvmc support was pretty buggy in this version. I may just try the install-i686-l script and see if it helps the crashing. I have friends coming over to check my MythTV machine out this weekend and I am worried that I will try to upgrade and everything will be hosed up. Then Sunday I will try to upgrade and see what happens, I need to learn more about compiling/upgrading using Linux. I have been spoiled by the FreeBSD ports. |
Author: | chopsuey [ Thu Jan 15, 2004 8:46 pm ] |
Post subject: | |
Where is this patch he is talking about located? |
Author: | cesman [ Thu Jan 15, 2004 9:13 pm ] |
Post subject: | |
http://www.mythtv.org/mc/tvformat.fix.0.13.diff |
Author: | Xsecrets [ Thu Jan 15, 2004 10:26 pm ] |
Post subject: | |
ok what does the patch do? I haven't heard of a patch to 0.13. |
Author: | cesman [ Thu Jan 15, 2004 11:27 pm ] |
Post subject: | |
Quote: Looks like one minor bug in the 0.13 release so far: On some machines (not all), the automatic database upgrade failed to insert the defaults for one of the new columns that was added. This causes recordings to be in PAL format for analog bttv cards -- bad colors, large portions of the screen green, etc. The patch fixes this problem...
|
Author: | chopsuey [ Fri Jan 16, 2004 12:07 pm ] |
Post subject: | |
Well I just wanted to say thanks to everyone for their help, I upgraded to 0.13 using this guide last night and everything went well. The frontend does not crash anymore when trying to watch certain recordings. Overall I am happy with the upgrade. I do notice on some MythTV screens I can see the screen "pulse", kind of a shake. Not sure exactly how to describe it but I can live with it. I put some divx files in the video folder and the front end reports their length as 0 and the IMDB lookup isn't working but this may be due to MythTV thinking the files are of length 0. |
Author: | VegasJohnny [ Fri Jan 16, 2004 3:12 pm ] |
Post subject: | |
after all that i get this error when i try to run mythtv-setup Unable to open database: Driver error was: QMYSQL3: Unable to connect: Database error was: Access denied for user: 'mythtv@localhost' (Using password: YES) I got this after a clean auto install followed by the upgrade instructions word for word any ideas |
Author: | chopsuey [ Fri Jan 16, 2004 3:27 pm ] |
Post subject: | |
vi /etc/mythtv/mysql.txt (I think that's the right path) Change the password there, I had the same problem after the upgrade last night. |
Author: | cesman [ Fri Jan 16, 2004 3:42 pm ] |
Post subject: | |
/usr/share/mythtv is the path. |
Author: | tim [ Sun Jan 18, 2004 11:46 am ] |
Post subject: | |
I am getting the same error as described above about incorrect password. I updated my /usr/share/mythtv/mysql.txt to have the line DBPassword=mythtv It appears the original line was encyrpted and the new one I added obviously is not, and it doesn't work as mythtv either. What should I have in this file for the password. |
Page 1 of 2 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |