[mythtv-users] Myth Compile Problem?

scott at tbwifi.ca scott at tbwifi.ca
Sun Nov 9 17:37:04 UTC 2008


> scott at tbwifi.ca wrote:
>> Hi, I am trying to do an upgrade to the 0.21 fixes branch.  I am running
>> Mandriva 2008.1 on a 64 bit box, which used to run fine with an older
>> build
>> on 2008.  My current kernel is 2.6.25.11-tmb-desktop-2mdv.  What is odd
>> is
>> that some things appear to be working okay.  I can record and watch
>> recordings on the local frontend, but can't access anything via my
>> mvpmc's.
>> I also can't get the archive plugins to work.
>>
>> Here are some errors I get at the end of the mythtv make:
>>
>> In file included from httprequest.cpp:11:
>> httprequest.h:15:22: error: qptrlist.h: No such file or directory
>> httprequest.h:19:21: error: qsocket.h: No such file or directory
> Seems you don't have qt3-devel installed
>> In file included from httprequest.h:21,
>>                  from httprequest.cpp:11:
>> bufferedsocketdevice.h:15:27: error: qsocketdevice.h: No such file or
>> directory
>> bufferedsocketdevice.h:18:33: error: private/qinternal_p.h: No such file
>> or
>> directory
>> In file included from httprequest.cpp:38:
>> ../libmyth/mythcontext.h:13:23: error: qnetwork.h: No such file or
>> directory
>> In file included from ../libmyth/mythobservable.h:6,
>>                  from ../libmyth/mythcontext.h:22,
>>                  from httprequest.cpp:38:
>> ../libmyth/mythevent.h:7:23: error: qdeepcopy.h: No such file or
>> directory
>> In file included from upnp.h:17,
>>                  from httprequest.cpp:39:
>> configuration.h:14:18: error: qdom.h: No such file or directory
>> In file included from upnp.h:25,
>>                  from httprequest.cpp:39:
>> httpserver.h:24:27: error: qserversocket.h: No such file or directory
>> In file included from ssdp.h:21,
>>                  from upnp.h:26,
>>                  from httprequest.cpp:39:
>> ssdpcache.h:17:19: error: qdict.h: No such file or directory
>> In file included from httprequest.h:20,
>>                  from httprequest.cpp:11:
>> upnputil.h:44: error: expected template-name before ‘<’ token
>> upnputil.h:44: error: expected `{' before ‘<’ token
>> upnputil.h:44: error: expected unqualified-id before ‘<’ token
>> make[2]: *** [httprequest.o] Error 1
>> make[2]: Leaving directory
>> `/home/mythtv/release-0-21-fixes/mythtv/libs/libmythupnp'
>> make[1]: *** [sub-libmythupnp-make_default-ordered] Error 2
>> make[1]: Leaving directory `/home/mythtv/release-0-21-fixes/mythtv/libs'
>> make: *** [sub-libs-make_default-ordered] Error 2
>>
>>
>> Here are some errors at the beginning of the mythplugins make:
>>
>> cd mytharchive/ && /usr/bin/qmake mytharchive.pro -unix -o Makefile
>> cd mytharchive/ && make -f Makefile
>> make[1]: Entering directory
>> `/home/mythtv/release-0-21-fixes/mythplugins/mytharchive'
>> cd mytharchive/ && /usr/bin/qmake mytharchive.pro -unix -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 -funit-at-a-time
>> -D__STDC_CONSTANT_MACROS -fomit-frame-pointer -O3 -fomit-frame-pointer
>> -D_REENTRANT -Wall -W -DPIC -fPIC -D_GNU_SOURCE -DPREFIX="/usr" -DMMX
>> -D_FILE_OFFSET_BITS=64 -DQT_NO_DEBUG -DQT_PLUGIN -DQT_GUI_LIB
>> -DQT_CORE_LIB -DQT_SHARED -I/usr/lib/qt4/mkspecs/linux-g++ -I.
>> -I/usr/lib/qt4/include/QtCore -I/usr/lib/qt4/include/QtCore
>> -I/usr/lib/qt4/include/QtGui -I/usr/lib/qt4/include/QtGui
>> -I/usr/lib/qt4/include -I/usr/include -I/usr/include -I/usr/include
>> -I/usr/include/mythtv -I/usr/include/mythtv/ffmpeg
>> -I/usr/include/mythtv/libmythtv -I. -I. -o
>> main.o main.cpp
>> In file included from main.cpp:24:
>> /usr/local/include/mythtv/dialogbox.h:6:25: error: Q3ButtonGroup: No
>> such
>> file
>> or directory
>> /usr/local/include/mythtv/dialogbox.h:7:24: error: Q3VBoxLayout: No such
>> file
>> or directory
>> In file included from /usr/local/include/mythtv/dialogbox.h:9,
>>                  from main.cpp:24:
>> /usr/local/include/mythtv/mythdialogs.h:9:25: error: Q3ProgressBar: No
>> such
>> file or directory
>> /usr/local/include/mythtv/mythdialogs.h:12:21: error: Q3PtrList: No such
>> file
>> or directory
>> In file included from
>> /usr/local/include/mythtv/libmythui/mythuitype.h:11,
>>                  from
>> /usr/local/include/mythtv/libmythui/mythmainwindow.h:10,
>>                  from /usr/local/include/mythtv/mythdialogs.h:46,
>>                  from /usr/local/include/mythtv/dialogbox.h:9,
>>                  from main.cpp:24:
>> /usr/local/include/mythtv/libmythui/xmlparsebase.h:4:23: error:
>> QDomElement:
>> No such file or directory
>> In file included from /usr/local/include/mythtv/settings.h:15,
>>                  from archivesettings.h:8,
>>                  from main.cpp:30:
>> /usr/local/include/mythtv/mythwidgets.h:8:24: error: q3textedit.h: No
>> such
>> file or directory
>> /usr/local/include/mythtv/mythwidgets.h:12:24: error: q3listview.h: No
>> such
>> file or directory
>> /usr/local/include/mythtv/mythwidgets.h:13:22: error: q3header.h: No
>> such
>> file
>> or directory
>> /usr/local/include/mythtv/mythwidgets.h:14:27: error: q3buttongroup.h:
>> No
>> such
>> file or directory
>> /usr/local/include/mythtv/mythwidgets.h:15:23: error: q3listbox.h: No
>> such
>> file or directory
>> In file included from /usr/local/include/mythtv/settings.h:17,
>>                  from archivesettings.h:8,
>>                  from main.cpp:30:
>> /usr/local/include/mythtv/mythdbcon.h:7:26: error: qsqldatabase.h: No
>> such
>> file or directory
>> /usr/local/include/mythtv/mythdbcon.h:9:18: error: qsql.h: No such file
>> or
>> directory
>> /usr/local/include/mythtv/mythdbcon.h:10:23: error: qsqlquery.h: No such
>> file
>> or directory
>> /usr/local/include/mythtv/mythdbcon.h:12:23: error: qsqlerror.h: No such
>> file
>> or directory
>> /usr/local/include/mythtv/mythdbcon.h:13:23: error: qsqlfield.h: No such
>> file
>> or directory
>> In file included from main.cpp:31:
>> logviewer.h:6:19: error: qhbox.h: No such file or directory
>> In file included from /usr/local/include/mythtv/uilistbtntype.h:25,
>>                  from fileselector.h:12,
>>                  from main.cpp:32:
>> /usr/local/include/mythtv/uitypes.h:18:23: error: q3ptrlist.h: No such
>> file or
>> directory
>> /usr/local/include/mythtv/uitypes.h:19:20: error: q3dict.h: No such file
>> or
>> directory
>> In file included from
>> /usr/local/include/mythtv/libmythui/mythuitype.h:11,
>>                  from
>> /usr/local/include/mythtv/libmythui/mythmainwindow.h:10,
>>                  from /usr/local/include/mythtv/mythdialogs.h:46,
>>                  from /usr/local/include/mythtv/dialogbox.h:9,
>>                  from main.cpp:24:
>> /usr/local/include/mythtv/libmythui/xmlparsebase.h:16: error:
>> ‘QDomElement’
>> has not been declared
>> /usr/local/include/mythtv/libmythui/xmlparsebase.h:18: error:
>> ‘QDomElement’
>> has not been declared
>> /usr/local/include/mythtv/libmythui/xmlparsebase.h:20: error:
>> ‘QDomElement’
>> has not been declared
>> /usr/local/include/mythtv/libmythui/xmlparsebase.h:22: error:
>> ‘QDomElement’
>> has not been declared
>> /usr/local/include/mythtv/libmythui/xmlparsebase.h:24: error:
>> ‘QDomElement’
>> has not been declared
>> /usr/local/include/mythtv/libmythui/xmlparsebase.h:26: error:
>> ‘QDomElement’
>> has not been declared
>> /usr/local/include/mythtv/libmythui/xmlparsebase.h:31: error:
>> ‘QDomElement’
>> has not been declared
>> /usr/local/include/mythtv/libmythui/xmlparsebase.h:34: error: expected
>> ‘;’
>> before ‘(’ token
>> In file included from
>> /usr/local/include/mythtv/libmythui/mythmainwindow.h:10,
>>                  from /usr/local/include/mythtv/mythdialogs.h:46,
>>                  from /usr/local/include/mythtv/dialogbox.h:9,
>>                  from main.cpp:24:
>> /usr/local/include/mythtv/libmythui/mythuitype.h:129: error:
>> ‘QDomElement’
>> has
>> not been declared
>> In file included from /usr/local/include/mythtv/dialogbox.h:9,
>>                  from main.cpp:24:
>> /usr/local/include/mythtv/mythdialogs.h:213: error: expected ‘;’ before
>> ‘*’
>> token
>> /usr/local/include/mythtv/mythdialogs.h:276: error: expected ‘;’ before
>> ‘*’
>> token
>> /usr/local/include/mythtv/mythdialogs.h:356: error: ‘QDomElement’ has
>> not
>> been
>> declared
>> /usr/local/include/mythtv/mythdialogs.h:357: error: ‘QDomElement’ has
>> not
>> been
>> declared
>> /usr/local/include/mythtv/mythdialogs.h:358: error: ‘QDomElement’ has
>> not
>> been
>> declared
>> /usr/local/include/mythtv/mythdialogs.h:359: error: ‘QDomElement’ has
>> not
>> been
>> declared
>> /usr/local/include/mythtv/mythdialogs.h:411: error: expected ‘;’ before
>> ‘&’
>> token
>> /usr/local/include/mythtv/mythdialogs.h:413: error: expected `;'
>> before ‘QPixmap’
>> /usr/local/include/mythtv/mythdialogs.h:423: error: ‘QDomElement’ does
>> not
>> name a type
>> /usr/local/include/mythtv/mythdialogs.h:426: error: expected ‘;’ before
>> ‘<’
>> token
>> /usr/local/include/mythtv/mythdialogs.h:427: error: expected ‘;’ before
>> ‘<’
>> token
>> In file included from main.cpp:24:
>> /usr/local/include/mythtv/dialogbox.h:31: error: expected ‘;’ before ‘*’
>> token
>> /usr/local/include/mythtv/dialogbox.h:32: error: expected ‘;’ before ‘*’
>> token
>> In file included from
>> /usr/local/include/mythtv/libmythui/myththemedmenu.h:4,
>>                  from main.cpp:26:
>> /usr/local/include/mythtv/libmythui/mythscreentype.h:55: error:
>> ‘QDomElement’
>> has not been declared
>> In file included from /usr/local/include/mythtv/settings.h:15,
>>                  from archivesettings.h:8,
>>                  from main.cpp:30:
>>
>>

I had upgraded to qt4 at an attempt to use the latest SVN.  When that
posed problems for the mvpmc's I opted to go back to the fixes branch. 
Now it appears that I am having trouble gettings things to revert back to
qt3.  What do I have to set in the background to fix things?  I am running
Mandriva 2008.1 64 bit.

Here is the output of a make

[mythtv at mythbox mythtv]$ qmake mythtv.pro
[mythtv at mythbox mythtv]$ make
cd libs && qmake libs.pro -o Makefile
cd libs && make -f Makefile
make[1]: Entering directory `/home/mythtv/release-0-21-fixes/mythtv/libs'
cd libavutil && make -f Makefile
make[2]: Entering directory
`/home/mythtv/release-0-21-fixes/mythtv/libs/libavutil'
make[2]: *** No rule to make target
`/usr/lib/qt4/mkspecs/linux-g++/qmake.conf', needed by `Makefile'.  Stop.
make[2]: Leaving directory
`/home/mythtv/release-0-21-fixes/mythtv/libs/libavutil'
make[1]: *** [sub-libavutil] Error 2
make[1]: Leaving directory `/home/mythtv/release-0-21-fixes/mythtv/libs'
make: *** [sub-libs] Error 2

Here is some other info that may help:

[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

I don't know how to fix these to reflect the qt3 directories that need to
show up.

Note that I have removed everything associated with qt4 now and I believe
that I have reinstalled lib64qt3-devel and lib64qt3-mysql using urpmi
--replacepkgs.

Theories?

Thx
Scott



More information about the mythtv-users mailing list