[mythtv-users] Trying to get UK silence detect Commflagging to work
Anthony Giggins
seven at seven.dorksville.net
Sat Mar 16 06:59:35 UTC 2013
On 16 March 2013 00:10, Roger Siddons <dizygotheca at ntlworld.com> wrote:
> **
> On Fri, 15 Mar 2013 13:07:35 -0000, Anthony Giggins <
> seven at seven.dorksville.net> wrote:
>
> On 7 March 2013 11:37, Roger Siddons <dizygotheca at ntlworld.com> wrote:
>
>> On Wed, 06 Mar 2013 18:40:05 -0000, Chris Lewis <chrislewis915 at gmail.com>
>> wrote:
>>
>> Well I'm just following the advice above. I have downloaded the Mythtv
>> source code and added the location in the Makefile but it still doesnt
>> compile.
>>
>> To be honest the makefile includes lots of stuff in /usr/local/qt4 which
>> also doesnt exist on my system so it seems that even solving my problem
>> wouldnt make the compile complete successfully.
>>
>> Chris
>>
>>
>> Chris,
>>
>> Good point. It hadn't occurred to me that package-users won't have all
>> the include files.
>> Have replied to your PM.
>>
>>
> Silly question will this also work with 0.25?
>
>
> I haven't tried it personally but it should & I haven't heard anything to
> suggest otherwise.
>
>
>
> Also would you mind replying to the list with the eventual solution to
> this error?
>
> Cheers,
>
> Anthony
>
>
> I updated the wiki to describe how distro users should install the headers
> and released v2, which makes them optional.
> http://www.gossamer-threads.com/lists/mythtv/users/540454
>
> Chris had other issues as well, which we were dealing with by PM.
>
> However, it's all a bit dated now - I've managed to solve the python
> niggles and will shortly be putting up v3, which removes the need for any
> headers. So I advise anyone thinking of trying it now to wait a few days
> for that.
>
> Sorry for the confusion. With hindsight I should have indicated that
> versions 1 & 2 were 'pre-releases' of a work-in-progress..
>
>
>
> Thanks Roger,
I was missing the header packages libmyth-dev and libqt4-dev
$ sudo make
g++ -c -Wall -std=c++0x -I/usr/include/qt4/QtCore
-I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtSql -I/usr/include/qt4
-I/usr/include/mythtv silence.cpp -o silence.o
g++ silence.o -o /usr/local/bin/silence -L/usr/lib
-L/usr/lib/i386-linux-gnu -lsndfile -lQtCore -lmythbase-0.26 -lmyth-0.26
/usr/bin/ld: cannot find -lmythbase-0.26
/usr/bin/ld: cannot find -lmyth-0.26
collect2: ld returned 1 exit status
make: *** [silence] Error 1
however looks like the Makefile is hardcoded to 0.26
Seems to compile if I change
LIBS = -lsndfile -lQtCore -lmythbase-0.25 -lmyth-0.25
will do some further testing to confirm compatibiliy as you may be able to
change the make file to detect the mythtv version in your next update. also
maybe guthub would be a better place to store the code rather than the wiki?
Cheers,
Anthony
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20130316/111b932f/attachment.html>
More information about the mythtv-users
mailing list