LinHES Forums
http://forums.linhes.org/

Manual install from recompiled source of 0.14
http://forums.linhes.org/viewtopic.php?f=1&t=1425
Page 1 of 1

Author:  phoenix221 [ Wed May 12, 2004 11:12 am ]
Post subject:  Manual install from recompiled source of 0.14

Hello everyone,

I am posting again regarding a compile/link problem I am running into :( . I am trying to help Chris Kennedy with testing of ivtv fixes so I need to patch mythtv, for this reason I am first trying to get the compile of a clean 0.14 from the source included in R4V2 :) .

To compile, I follow the steps below:

login as su
$export QTDIR=/usr/share/qt3
$export PATH=$PATH:$QTDIR/bin
$cd /home/mythtv/r4v2_src/mythtv-0.14/src
$tar -xvjf mythtv-0.14.tar.bz2
$cd mythtv-0.14
$vi settings.pro
change /usr/local to /usr
I have done this for both PREFIX and INCLUDEPATH, otherwise I left the config file as is, i.e. NO native LIRC, XvMC, etc. could be wrong here since I am assuming that's how the distributed version is compiled... write and quit
$./configure
$qmake mythtv.pro
$make

at this point in the process I get the following error :? :

-------------------------
/usr/bin/ld: cannot find -lqt-mt
collect2: ld returned 1 exit status
make[2]: *** [libmythavcodec-0.14.so.0.14.0] Error 1
make[2]: Leaving directory `/home/mythtv/r4v2_src/mythtv-0.14/src/mythtv-0.14/libs/libavcodec'
make[1]: *** [sub-libavcodec] Error 2
make[1]: Leaving directory `/home/mythtv/r4v2_src/mythtv-0.14/src/mythtv-0.14/libs'
make: *** [sub-libs] Error 2
-------------------------

I am using gcc version 3.3.2 20030812 (Debian prerelease).

What am I doing wrong? Do I need to download/install any other files/libraries? :?:

Thanks,
M

Author:  cesman [ Wed May 12, 2004 12:42 pm ]
Post subject: 

I'd appreciate it if you wouldn't post the same issue in two different parts of the forum. Unless you updated/downgraded or removed something(qt) or something got corrupted on your drive, recompiling should just work.

Author:  phoenix221 [ Wed May 12, 2004 3:14 pm ]
Post subject: 

I was hoping that it would work, but it doesn't. I have not uninstalled qt, at least not to my knowledge. I manually checked the directories under /usr/shared/qt3 and they have files in them.

Re. something got corrupted on the drive... well that could be. fsck does not report errors, beyond that how would I check for the consistency of the install? "Something" as you say is broad and vague, can you be more specific?

Re. posting in multiple areas, I would have liked to move the thread rather than repost, I could not do that, so instead I updated the post in the "General" area to refer to this thread instead. Sorry for the confusion, I'll endeavour to better choose the location of my future posts from the outset.

Thanks,
M

Author:  cesman [ Wed May 12, 2004 9:46 pm ]
Post subject: 

Sorry, I cannot be more specific as it should just work. Perhaps backing up and doing an AutoUpgrade. You'll needed to manually backup and restore /home/mythtv/.mythtv.

Author:  phoenix221 [ Thu May 13, 2004 5:37 am ]
Post subject: 

Well, I did get it to compile last night once I did the following:

$apt-get install libqt3-mt-dev

The other issue now is whether the CVS version of mythtv could also be installed as is. As I understand it, mythtv installs into specific location(s) by default. Is the knoppmyth distro using the same location(s) for the mythtv deploy files or I need to install it into other locations?

This is especially important since knoppmyth comes with extra scripts that make life easier, they will only run correctly if I (re)install knoppmyth into the same location(s)...

Oh, and should I deinstall the 0.14 files first using:
$dpkg -r mythtv<tab> mythd<tab> mythgall<tab> mythgam<tab>.... or I can just install the newly compiled version on top?

Thanks,
M

Author:  cesman [ Thu May 13, 2004 3:57 pm ]
Post subject: 

You should remove the debs first. If you browse the forum, you'll see plenty of instructions on installing from source some from the past couple of days.

Author:  phoenix221 [ Thu May 13, 2004 6:59 pm ]
Post subject: 

I've found a post that contains comprehensive instructions for installing from source ( http://mysettopbox.tv/phpBB2/viewtopic. ... ce+install ). However the instructions refer to Mythtv 0.13.

Would the same install instructions apply to 0.14 (CVS) source based installs as well?

The instructions refer to a "backup". What backup is it talking about? Will this backup allow me to transfer my current mythtv settings?

Also, when I remove the debs, will this also remove the additional scripts that KnoppMyth uses to make the Mythtv experience user friendly?

Thanks,
M

Author:  cesman [ Fri May 14, 2004 9:54 am ]
Post subject: 

The process of installing MythTV from source hasn't changed. The docs on mythtv.org is the ultimate source, if you don't understand the brief instuctions, I highly suggest you read it. mythbackup is a script Dale and I wrote to facility upgrades between versions of KnoppMyth. No, removing the debs won't effect KnoppMyth(other than the fact you're removing Myth). I suggest you copy mysql.txt from /usr/share/mythtv to someplave safe and copy it back after install CVS. If you have problems with CVS, please check the MythTV archive.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/