[mythtv-users] Compiling mythtv stops at mythmediamonitor.cpp due to QtDBus: No such file or directory

John Pilkington J.Pilk at tesco.net
Sun Jun 22 15:27:59 UTC 2014


On 22/06/14 14:38, mailings at abcinit.nl wrote:
> Hi,
>
> I enjoyed mythtv 0.21 for more than 9 years, which has been built up
> from packages.
> Now, I want to build it up again, but now from source, which is
> completely new for me.
>
> I get this error when compiling mythtv (0.27):
>
> g++ -c -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -DNDEBUG
> -fomit-frame-pointer -fPIC -pthread -g -Wall -Wpointer-arith
> -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS
> -fvisibility-inlines-hidden -Wmissing-declarations -Wno-switch
> -Woverloaded-virtual -funit-at-a-time -fvisibility=hidden -D_REENTRANT
> -fPIC -DMMX -D_GNU_SOURCE -DMYTH_API -DUSING_OSS -Dlinux -DQT_SCRIPT_LIB
> -DQT_SQL_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB
> -DQT_SHARED -I/usr/local/Trolltech/Qt-4.8.6/mkspecs/linux-g++ -I.
> -I/usr/local/Trolltech/Qt-4.8.6/include/QtCore
> -I/usr/local/Trolltech/Qt-4.8.6/include/QtNetwork
> -I/usr/local/Trolltech/Qt-4.8.6/include/QtGui
> -I/usr/local/Trolltech/Qt-4.8.6/include/QtXml
> -I/usr/local/Trolltech/Qt-4.8.6/include/QtSql
> -I/usr/local/Trolltech/Qt-4.8.6/include/QtScript
> -I/usr/local/Trolltech/Qt-4.8.6/include
> -I/usr/local/Trolltech/Qt-4.8.6/include/QtDBus -I/usr/local
> -I../../external/qjson/include -I../../external/zeromq/include
> -I../../external/nzmqt/include/nzmqt -I../../external/libsamplerate
> -I../libmythsoundtouch -I../libmythfreesurround -I../libmythbase -I../..
> -I.. -I. -I../libmythupnp -I../libmythui -I../../external/FFmpeg -I. -o
> mythmediamonitor.o mythmediamonitor.cpp
>
> It is  the same error as (
> http://www.gossamer-threads.com/lists/mythtv/users/554551#554551 )
>
> a-j at a-j wrote: */Update: my fault. QtDBus was missing, which caused
> the issue. /*
>
>
> My environment:
> CenOS6.4
> I installed qt-everywhere-opensource-src-4.8.6.tar.gz in
> /usr/local/Trolltech/Qt-4.8.6/,
> I created a file /etc/ld.so.conf.d/Trolltech.conf with content:
> /usr/local/Trolltech/Qt-4.8.6/lib,
> I ran ldconfig as root,
> LD_LIBRARY_PATH=/usr/lib64::/usr/local/Trolltech/Qt-4.8.6/lib/
>
>
> My question is:
>
> What exactly am I missing? Is it an object file, a library? And where
> must it be placed?
> Thanks in advance.
>

I'm not at all clear about this, but with ScientificLinux6 I have  qt 
and qt-devel packages installed.  The versions I have (4.8.5) seem to be 
no longer in the repos that I use, but I think they must have been from 
kde-unstable in October 2013. qt puts modules in /usr/lib/libQt/, 
qt-devel in /usr/include/Qt/

HTH

John P




More information about the mythtv-users mailing list