[mythtv-users] mythplugins complile problem

scott at tbwifi.ca scott at tbwifi.ca
Mon Nov 17 08:21:48 UTC 2008


> scott at tbwifi.ca wrote:
>>> scott at tbwifi.ca wrote:
>>>
>>>>>  > I am running the Fixes Branch SVN on Mandriva 2008.1 64 bit.
>>>>>  > [...]
>>>>>  > /usr/local/include/mythtv/mythcontext.h:9:19: error: QObject: No
>>>>> such
>>>>> file
>>>>>  > or directory
>>>>>
>>>>> Looks like you played with trunk or installed something that had
>>>>> files
>>>>> from there. Your /usr/local/include/mythtv/mythcontext.h (and likely
>>>>> others) has Qt 4 includes. To build plugins you must install the
>>>>> associated mythtv build, you cannot reliably mix prefixes either (so
>>>>> no
>>>>> /usr and /usr/local, pick one).
>>>>>
>>>>> --
>>>>> Anduin Withers
>>>>> _______________________________________________
>>>>>
>>>>>
>>>> Thank you for picking up my key issue.  Yes, I did try a newer SVN
>>>> which
>>>> required QT4 and it didn't work with my mvpmc's.  I have reverted back
>>>> to
>>>> the Fixes Branch and QT3.  What I seem to be struggling with is how to
>>>> rid
>>>> my system of these sort of straggling problems.
>>>>
>>>> I was able to get mythtv working following some pointers here:
>>>>
>>>> http://www.gossamer-threads.com/lists/mythtv/users/356904?#356904
>>>>
>>>> I don't understand why plugins seems to still have issues however.
>>>>
>>>> Perhaps some of this may help sort things out:
>>>>
>>>> [mythtv[at]mythbox mythtv]$ echo $PATH
>>>> /usr/bin:/bin:/usr/local/bin:/usr/X11R6/bin/:/usr/games:/home/mythtv/bin
>>>> [mythtv[at]mythbox mythtv]$ echo $QTDIR
>>>> /usr/lib/qt3
>>>> [mythtv[at]mythbox mythtv]$ which qmake
>>>> /usr/bin/qmake
>>>>
>>>> my /etc/ld.so.conf is:
>>>>
>>>> include ld.so.conf.d/*.conf
>>>> /lib
>>>> /lib64
>>>> /usr/lib
>>>> /usr/lib64
>>>> /usr/X11R6/lib
>>>> /usr/lib/qt3/lib64
>>>>
>>>> I always build with ./configure --prefix=/usr which apparently is
>>>> required
>>>> with Mandriva and 64 bit using SVN.  Refer to a much earlier post
>>>> here:
>>>>
>>>> http://www.gossamer-threads.com/lists/mythtv/users/305455?#305455
>>>>
>>>> Refer to post number two of eight from Nick.
>>>> /usr/lib/qt3/lib
>>>>
>>>> Any other thoughts are really appreciated.
>>>>
>>>> Thx
>>>> Scott
>>>>
>>>>
>>>>
>>>>
>>> Did you 'make install' mythtv before trying to compile mythplugins?
>>>
>>> Paul H.
>>> _______________________________________________
>>>
>>
>>
>> The compile of mythtv is complete including make install.  It is up and
>> working fine.
>>
>> Thoughts on where to look next?
>>
>>
>
> What errors do you get now? Post some of the output from a failed compile.
>


Perhaps I wasn't clean before, but at the time of the original post my
main myth install was working fine.  I am not sure why the plugins are
giving me grief.

Here is some of my compile info:



[mythtv at mythbox mythplugins]$ ./configure --prefix=/usr
which: no sdl-config in
(/usr/bin:/bin:/usr/local/bin:/usr/X11R6/bin/:/usr/games:/usr/lib/qt3/bin:/home/mythtv/bin:/usr/lib/qt3/bin)
MythMusic requires libmad.
MythMusic requires vorbis.
MythMusic requires FLAC.
MythMusic requires libcdaudio.
MythMusic requires CDDA Paranoia.
./configure: line 484: taglib-config: command not found
MythMusic requires taglib 1.4 or later.
Disabling MythMusic due to missing dependencies.
Disabling MythGallery due to missing libtiff.

Configuration settings:

        MythArchive    plugin will be built
        MythBrowser    plugin will be built
        MythControls   plugin will be built
        MythFlix       plugin will be built
        MythGallery    plugin will not be built
        MythGame       plugin will be built
        MythMusic      plugin will not be built
        MythNews       plugin will be built
        MythPhone      plugin will be built
        MythVideo      plugin will be built
        MythWeather    plugin will be built
        MythZoneMinder plugin will be built
        MythMovies     plugin will be built
        DVD creation   support will be included in MythArchive
        Native Archive support will be included in MythArchive
        FESTIVAL       support will not be included in MythPhone

[mythtv at mythbox mythplugins]$ qmake mythplugins.pro
[mythtv at mythbox mythplugins]$ make
cd mytharchive && qmake mytharchive.pro -o Makefile
cd mytharchive && make -f Makefile
make[1]: Entering directory
`/home/mythtv/release-0-21-fixes/mythplugins/mytharchive'
cd mytharchive && qmake mytharchive.pro -o Makefile
cd mytharchive && make -f Makefile
make[2]: Entering directory
`/home/mythtv/release-0-21-fixes/mythplugins/mytharchive/mytharchive'
g++ -c -pipe -march=k8 -I/usr/include/artsc -pthread
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wno-switch
-Wpointer-arith -Wredundant-decls -Wno-non-virtual-dtor
-D__STDC_CONSTANT_MACROS -Wall -W -fomit-frame-pointer -O3
-fomit-frame-pointer -D_REENTRANT -DPIC -fPIC  -D_GNU_SOURCE
-DPREFIX=\"/usr\" -DMMX -D_FILE_OFFSET_BITS=64 -DQT_NO_DEBUG
-DQT_THREAD_SUPPORT -DQT_PLUGIN -DQT_SHARED
-I/usr/lib/qt3/mkspecs/default64 -I. -I/usr/include -I/usr/include
-I/usr/include -I/usr/include/mythtv -I/usr/include/mythtv/ffmpeg
-I/usr/include/mythtv/libmythtv -I/usr/lib/qt3/include -o main.o main.cpp
In file included from main.cpp:22:
/usr/local/include/mythtv/mythcontext.h:9:19: error: QObject: No such file
or directory
/usr/local/include/mythtv/mythcontext.h:10:19: error: QString: No such
file or directory
/usr/local/include/mythtv/mythcontext.h:11:18: error: QMutex: No such file
or directory
/usr/local/include/mythtv/mythcontext.h:12:17: error: QList: No such file
or directory
In file included from /usr/local/include/mythtv/mythobservable.h:5,
                 from /usr/local/include/mythtv/mythcontext.h:17,
                 from main.cpp:22:
/usr/local/include/mythtv/mythevent.h:5:23: error: QStringList: No such
file or directory
/usr/local/include/mythtv/mythevent.h:6:18: error: QEvent: No such file or
directory
In file included from /usr/local/include/mythtv/mythcontext.h:18,
                 from main.cpp:22:
/usr/local/include/mythtv/mythsocket.h:4:23: error: QTextStream: No such
file or directory
/usr/local/include/mythtv/mythsocket.h:8:19: error: QThread: No such file
or directory
In file included from /usr/local/include/mythtv/mythsocket.h:13,
                 from /usr/local/include/mythtv/mythcontext.h:18,
                 from main.cpp:22:





More information about the mythtv-users mailing list