View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 8 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Wed May 12, 2004 11:12 am 
Offline
Joined: Sun Mar 07, 2004 4:44 pm
Posts: 24
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


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 12, 2004 12:42 pm 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
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.

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 12, 2004 3:14 pm 
Offline
Joined: Sun Mar 07, 2004 4:44 pm
Posts: 24
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


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 12, 2004 9:46 pm 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
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.

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 13, 2004 5:37 am 
Offline
Joined: Sun Mar 07, 2004 4:44 pm
Posts: 24
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


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 13, 2004 3:57 pm 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
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.

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 13, 2004 6:59 pm 
Offline
Joined: Sun Mar 07, 2004 4:44 pm
Posts: 24
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


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 14, 2004 9:54 am 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
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.

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu