[mythtv-users] myth compilation errors

gary lists at lazygranch.com
Sun May 27 21:10:12 UTC 2007


I must be missing a package that the gui needs. Suggestions?

Error portion of install log follows:
----------------------------------------------------------

In file included from dialogbox.h:6,
                  from dialogbox.cpp:11:
mythdialogs.h:7:18: error: qdom.h: No such file or directory
mythdialogs.h:8:22: error: qptrlist.h: No such file or directory
mythdialogs.h:13:26: error: qvaluevector.h: No such file or directory
mythdialogs.h:14:25: error: qscrollview.h: No such file or directory
In file included from ../libmythui/mythmainwindow.h:12,
                  from mythdialogs.h:48,
                  from dialogbox.h:6,
                  from dialogbox.cpp:11:
../libmythui/mythuitype.h:6:25: error: qobjectlist.h: No such file or 
directory
In file included from dialogbox.cpp:12:
mythcontext.h:13:23: error: qnetwork.h: No such file or directory
In file included from mythobservable.h:5,
                  from mythcontext.h:21,
                  from dialogbox.cpp:12:
mythevent.h:7:23: error: qdeepcopy.h: No such file or directory
In file included from mythcontext.h:22,
                  from dialogbox.cpp:12:
mythsocket.h:4:27: error: qsocketdevice.h: No such file or directory
In file included from dialogbox.cpp:13:
mythwidgets.h:4:21: error: qbutton.h: No such file or directory
mythwidgets.h:14:21: error: qheader.h: No such file or directory
mythwidgets.h:15:20: error: qtable.h: No such file or directory
mythwidgets.h:17:22: error: qlistbox.h: No such file or directory
../libmythui/xmlparsebase.h:15: error: ‘QDomElement’ has not been 
declared
../libmythui/xmlparsebase.h:17: error: ‘QDomElement’ has not been 
declared
../libmythui/xmlparsebase.h:19: error: ‘QDomElement’ has not been 
declared
../libmythui/xmlparsebase.h:21: error: ‘QDomElement’ has not been 
declared
../libmythui/xmlparsebase.h:23: error: ‘QDomElement’ has not been 
declared
../libmythui/xmlparsebase.h:29: error: expected ‘;’ before ‘(’ token
../libmythui/xmlparsebase.h:32: error: expected ‘;’ before ‘(’ token
../libmythui/mythuitype.h:33: error: ISO C++ forbids declaration of 
‘QValueVector’ with no type
../libmythui/mythuitype.h:33: error: expected ‘;’ before ‘<’ token
../libmythui/mythuitype.h:81: error: ‘QCustomEvent’ has not been 
declared
../libmythui/mythuitype.h:106: error: ‘QPtrList’ has not been declared
../libmythui/mythuitype.h:106: error: expected ‘,’ or ‘...’ 
before ‘<’ token
../libmythui/mythuitype.h:119: error: ‘QDomElement’ has not been 
declared
../libmythui/mythuitype.h:124: error: ISO C++ forbids declaration of 
‘QValueVector’ with no type
../libmythui/mythuitype.h:124: error: expected ‘;’ before ‘<’ token
../libmythui/mythscreenstack.h:22: error: ‘QValueVector’ has not 
been declared
../libmythui/mythscreenstack.h:22: error: expected ‘,’ or ‘...’ 
before ‘<’ token
../libmythui/mythscreenstack.h:33: error: ISO C++ forbids declaration of 
‘QValueVector’ with no type
../libmythui/mythscreenstack.h:33: error: expected ‘;’ before 
‘<’ token
../libmythui/mythscreenstack.h:34: error: ISO C++ forbids declaration of 
‘QValueVector’ with no type
../libmythui/mythscreenstack.h:34: error: expected ‘;’ before 
‘<’ token
../libmythui/mythscreenstack.h:42: error: ISO C++ forbids declaration of 
‘QValueVector’ with no type
../libmythui/mythscreenstack.h:42: error: expected ‘;’ before 
‘<’ token
../libmythui/mythmainwindow.h:21: error: expected class-name before 
‘{’ token
../libmythui/mythmainwindow.h: In constructor 
‘ExternalKeycodeEvent::ExternalKeycodeEvent(int)’:
../libmythui/mythmainwindow.h:24: error: class 
‘ExternalKeycodeEvent’ does not have any field named ‘QCustomEvent’
../libmythui/mythmainwindow.h: At global scope:
../libmythui/mythmainwindow.h:33: error: expected class-name before 
‘{’ token
../libmythui/mythmainwindow.h: In constructor 
‘ExitToMainMenuEvent::ExitToMainMenuEvent()’:
../libmythui/mythmainwindow.h:35: error: class ‘ExitToMainMenuEvent’ 
does not have any field named ‘QCustomEvent’
../libmythui/mythmainwindow.h: At global scope:
../libmythui/mythmainwindow.h:129: error: ‘QCustomEvent’ has not 
been declared
mythdialogs.h:115: error: ISO C++ forbids declaration of ‘QButton’ 
with no type
mythdialogs.h:115: error: expected ‘;’ before ‘*’ token
mythdialogs.h:204: error: ISO C++ forbids declaration of ‘QPtrList’ 
with no type
mythdialogs.h:204: error: expected ‘;’ before ‘<’ token
mythdialogs.h:264: error: ‘QDomElement’ has not been declared
mythdialogs.h:265: error: ‘QDomElement’ has not been declared
mythdialogs.h:266: error: ‘QDomElement’ has not been declared
mythdialogs.h:267: error: ‘QDomElement’ has not been declared
mythdialogs.h:313: error: ISO C++ forbids declaration of 
‘QDomElement’ with no type
mythdialogs.h:313: error: expected ‘;’ before ‘&’ token
mythdialogs.h:315: error: expected `;' before ‘QPixmap’
mythdialogs.h:323: error: ‘QDomElement’ does not name a type
mythdialogs.h:326: error: ISO C++ forbids declaration of ‘QPtrList’ 
with no type
mythdialogs.h:326: error: expected ‘;’ before ‘<’ token
mythdialogs.h:327: error: ISO C++ forbids declaration of ‘QPtrList’ 
with no type
mythdialogs.h:327: error: expected ‘;’ before ‘<’ token
mythdialogs.h:394: error: ISO C++ forbids declaration of ‘QButton’ 
with no type
mythdialogs.h:394: error: expected ‘;’ before ‘*’ token
mythdialogs.h:395: error: ISO C++ forbids declaration of ‘QButton’ 
with no type
mythdialogs.h:395: error: expected ‘;’ before ‘*’ token
mythdialogs.h:409: error: ISO C++ forbids declaration of 
‘QValueVector’ with no type
mythdialogs.h:409: error: expected ‘;’ before ‘<’ token
mythdialogs.h:422: error: ‘IntVector’ has not been declared
mythdialogs.h:423: error: ‘IntVector’ has not been declared
mythdialogs.h:446: error: expected class-name before ‘{’ token
mythdialogs.h:446: warning: ‘class MythScrollDialog’ has virtual 
functions but non-virtual destructor
mythevent.h:16: error: expected class-name before ‘{’ token
mythevent.h:18: error: ‘User’ was not declared in this scope
mythevent.h: In constructor ‘MythEvent::MythEvent(int)’:
mythevent.h:20: error: class ‘MythEvent’ does not have any field 
named ‘QCustomEvent’
mythevent.h: In constructor ‘MythEvent::MythEvent(QString)’:
mythevent.h:23: error: class ‘MythEvent’ does not have any field 
named ‘QCustomEvent’
mythevent.h:25: error: ‘QDeepCopy’ was not declared in this scope
mythevent.h:25: error: expected primary-expression before ‘>’ token
mythevent.h:26: error: no match for ‘operator=’ in 
‘((MythEvent*)this)->MythEvent::extradata = "empty"’
/usr/include/QtCore/qstringlist.h:47: note: candidates are: QStringList& 
QStringList::operator=(const QStringList&)
mythevent.h: In constructor ‘MythEvent::MythEvent(QString, const 
QStringList&)’:
mythevent.h:30: error: class ‘MythEvent’ does not have any field 
named ‘QCustomEvent’
mythevent.h:32: error: ‘QDeepCopy’ was not declared in this scope
mythevent.h:32: error: expected primary-expression before ‘>’ token
mythobservable.h: At global scope:
mythobservable.h:112: error: ISO C++ forbids declaration of 
‘QPtrList’ with no type
mythobservable.h:112: error: expected ‘;’ before ‘<’ token
mythobservable.h:136: error: ISO C++ forbids declaration of 
‘QPtrList’ with no type
mythobservable.h:136: error: expected ‘;’ before ‘<’ token
mythsocket.h:24: error: expected class-name before ‘{’ token
mythsocket.h:46: error: expected ‘,’ or ‘...’ before ‘error’
mythsocket.h:46: error: ISO C++ forbids declaration of ‘Error’ with 
no type
mythsocket.h:48: error: ‘Type’ has not been declared
mythsocket.h:51: error: ‘Q_LONG’ does not name a type
mythsocket.h:52: error: ‘Q_LONG’ does not name a type
mythsocket.h:56: error: ‘Q_ULONG’ has not been declared
mythsocket.h:58: error: ‘Q_UINT16’ has not been declared
mythsocket.h:59: error: ‘Q_UINT16’ has not been declared
mythsocket.h:71: error: field ‘m_addr’ has incomplete type
mythsocket.h:72: error: ‘Q_UINT16’ does not name a type
mythsocket.h:85: error: ISO C++ forbids declaration of ‘QPtrList’ 
with no type
mythsocket.h:85: error: expected ‘;’ before ‘<’ token
mythsocket.h:86: error: ISO C++ forbids declaration of ‘QPtrList’ 
with no type
mythsocket.h:86: error: expected ‘;’ before ‘<’ token
mythsocket.h:87: error: ISO C++ forbids declaration of ‘QPtrList’ 
with no type
mythsocket.h:87: error: expected ‘;’ before ‘<’ token
mythsocket.h:98: error: ‘QPtrList’ is not a template
mythsocket.h:48: error: ‘QSocketDevice’ has not been declared
mythsocket.h: In member function ‘QString MythSocket::errorToString()’:
mythsocket.h:45: error: ‘error’ was not declared in this scope
mythcontext.h: At global scope:
mythcontext.h:303: error: ISO C++ forbids declaration of 
‘QValueList’ with no type
mythcontext.h:303: error: expected ‘;’ before ‘<’ token
mythcontext.h:439: error: ISO C++ forbids declaration of 
‘QValueList’ with no type
mythcontext.h:439: error: expected ‘;’ before ‘<’ token
mythwidgets.h: In constructor ‘MythComboBox::MythComboBox(bool, 
QWidget*, const char*)’:
mythwidgets.h:44: error: no matching function for call to 
‘QComboBox::QComboBox(bool&, QWidget*&, const char*&)’
/usr/include/QtGui/qcombobox.h:281: note: candidates are: 
QComboBox::QComboBox(const QComboBox&)
/usr/include/QtGui/qcombobox.h:277: note: 
QComboBox::QComboBox(QComboBoxPrivate&, QWidget*)
/usr/include/QtGui/qcombobox.h:70: note: 
QComboBox::QComboBox(QWidget*)
mythwidgets.h: In member function ‘void MythComboBox::insertItem(const 
QString&)’:
mythwidgets.h:57: error: no matching function for call to 
‘MythComboBox::insertItem(const QString&)’
/usr/include/QtGui/qcombobox.h:303: note: candidates are: void 
QComboBox::insertItem(int, const QString&, const QVariant&)
/usr/include/QtGui/qcombobox.h:180: note:                 void 
QComboBox::insertItem(int, const QIcon&, const QString&, const QVariant&)
mythwidgets.h: In constructor ‘MythSpinBox::MythSpinBox(QWidget*, 
const char*, bool)’:
mythwidgets.h:78: error: no matching function for call to 
‘QSpinBox::QSpinBox(QWidget*&, const char*&)’
/usr/include/QtGui/qspinbox.h:101: note: candidates are: 
QSpinBox::QSpinBox(const QSpinBox&)
/usr/include/QtGui/qspinbox.h:49: note: 
QSpinBox::QSpinBox(QWidget*)
mythwidgets.h:78: error: ‘setLineStep’ was not declared in this scope
mythwidgets.h: In constructor ‘MythSlider::MythSlider(QWidget*, const 
char*)’:
mythwidgets.h:103: error: no matching function for call to 
‘QSlider::QSlider(QWidget*&, const char*&)’
/usr/include/QtGui/qslider.h:103: note: candidates are: 
QSlider::QSlider(const QSlider&)
/usr/include/QtGui/qslider.h:65: note: 
QSlider::QSlider(Qt::Orientation, QWidget*)
/usr/include/QtGui/qslider.h:64: note: 
QSlider::QSlider(QWidget*)
mythwidgets.h: In constructor ‘MythLineEdit::MythLineEdit(QWidget*, 
const char*)’:
mythwidgets.h:125: error: no matching function for call to 
‘QLineEdit::QLineEdit(QWidget*&, const char*&)’
/usr/include/QtGui/qlineedit.h:235: note: candidates are: 
QLineEdit::QLineEdit(const QLineEdit&)
/usr/include/QtGui/qlineedit.h:65: note: 
QLineEdit::QLineEdit(const QString&, QWidget*)
/usr/include/QtGui/qlineedit.h:64: note: 
QLineEdit::QLineEdit(QWidget*)
mythwidgets.h: In constructor ‘MythLineEdit::MythLineEdit(const 
QString&, QWidget*, const char*)’:
mythwidgets.h:130: error: no matching function for call to 
‘QLineEdit::QLineEdit(const QString&, QWidget*&, const char*&)’
/usr/include/QtGui/qlineedit.h:235: note: candidates are: 
QLineEdit::QLineEdit(const QLineEdit&)
/usr/include/QtGui/qlineedit.h:65: note: 
QLineEdit::QLineEdit(const QString&, QWidget*)
/usr/include/QtGui/qlineedit.h:64: note: 
QLineEdit::QLineEdit(QWidget*)
mythwidgets.h: At global scope:
mythwidgets.h:247: error: expected class-name before ‘{’ token
mythwidgets.h: In constructor ‘MythTable::MythTable(QWidget*)’:
mythwidgets.h:249: error: class ‘MythTable’ does not have any field 
named ‘QTable’
mythwidgets.h: In constructor 
‘MythPushButton::MythPushButton(QWidget*, const char*, bool)’:
mythwidgets.h:267: error: no matching function for call to 
‘QPushButton::QPushButton(QWidget*&, const char*&)’
/usr/include/QtGui/qpushbutton.h:89: note: candidates are: 
QPushButton::QPushButton(const QPushButton&)
/usr/include/QtGui/qpushbutton.h:47: note: 
QPushButton::QPushButton(const QIcon&, const QString&, QWidget*)
/usr/include/QtGui/qpushbutton.h:46: note: 
QPushButton::QPushButton(const QString&, QWidget*)
/usr/include/QtGui/qpushbutton.h:45: note: 
QPushButton::QPushButton(QWidget*)
mythwidgets.h:268: error: ‘WindowOrigin’ was not declared in this scope
mythwidgets.h:268: error: ‘setBackgroundOrigin’ was not declared in 
this scope
mythwidgets.h: In constructor ‘MythPushButton::MythPushButton(const 
QString&, QWidget*, bool)’:
mythwidgets.h:272: error: ‘WindowOrigin’ was not declared in this scope
mythwidgets.h:272: error: ‘setBackgroundOrigin’ was not declared in 
this scope
mythwidgets.h: In constructor ‘MythCheckBox::MythCheckBox(QWidget*, 
const char*)’:
mythwidgets.h:299: error: no matching function for call to 
‘QCheckBox::QCheckBox(QWidget*&, const char*&)’
/usr/include/QtGui/qcheckbox.h:84: note: candidates are: 
QCheckBox::QCheckBox(const QCheckBox&)
/usr/include/QtGui/qcheckbox.h:43: note: 
QCheckBox::QCheckBox(const QString&, QWidget*)
/usr/include/QtGui/qcheckbox.h:42: note: 
QCheckBox::QCheckBox(QWidget*)
mythwidgets.h: In constructor 
‘MythRadioButton::MythRadioButton(QWidget*, const char*)’:
mythwidgets.h:319: error: no matching function for call to 
‘QRadioButton::QRadioButton(QWidget*&, const char*&)’
/usr/include/QtGui/qradiobutton.h:59: note: candidates are: 
QRadioButton::QRadioButton(const QRadioButton&)
/usr/include/QtGui/qradiobutton.h:41: note: 
QRadioButton::QRadioButton(const QString&, QWidget*)
/usr/include/QtGui/qradiobutton.h:40: note: 
QRadioButton::QRadioButton(QWidget*)
mythwidgets.h: At global scope:
mythwidgets.h:340: error: expected ‘,’ or ‘...’ before ‘*’ token
mythwidgets.h:340: error: ISO C++ forbids declaration of 
‘QListViewItem’ with no type
mythwidgets.h:347: error: expected class-name before ‘{’ token
mythwidgets.h:347: warning: ‘class MythListBox’ has virtual 
functions but non-virtual destructor
mythwidgets.h: In member function ‘void 
MythListBox::setCurrentItem(int)’:
mythwidgets.h:364: error: ‘QListBox’ has not been declared
dialogbox.cpp: In constructor ‘DialogBox::DialogBox(MythMainWindow*, 
const QString&, const char*, const char*)’:
dialogbox.cpp:21: error: ‘class QLabel’ has no member named 
‘setBackgroundOrigin’
dialogbox.cpp:21: error: ‘WindowOrigin’ was not declared in this scope
dialogbox.cpp:22: error: ‘WordBreak’ is not a member of ‘Qt’
dialogbox.cpp:24: error: no matching function for call to 
‘QVBoxLayout::QVBoxLayout(DialogBox* const, int, int)’
/usr/include/QtGui/qboxlayout.h:138: note: candidates are: 
QVBoxLayout::QVBoxLayout(const QVBoxLayout&)
/usr/include/QtGui/qboxlayout.h:126: note: 
QVBoxLayout::QVBoxLayout(QWidget*)
/usr/include/QtGui/qboxlayout.h:125: note: 
QVBoxLayout::QVBoxLayout()
dialogbox.cpp:33: error: ‘class QCheckBox’ has no member named 
‘setBackgroundOrigin’
dialogbox.cpp:40: error: ‘class QButtonGroup’ has no member named 
‘insert’
dialogbox.cpp: In member function ‘void DialogBox::AddButton(const 
QString&)’:
dialogbox.cpp:48: error: ‘class QButtonGroup’ has no member named 
‘count’
dialogbox.cpp:49: error: ‘class QButtonGroup’ has no member named 
‘count’
dialogbox.cpp:54: error: ‘class QButtonGroup’ has no member named 
‘insert’
dialogbox.cpp: In member function ‘void DialogBox::buttonPressed(int)’:
dialogbox.cpp:61: error: ‘class QButtonGroup’ has no member named 
‘find’
make[2]: *** [dialogbox.o] Error 1
make[2]: Leaving directory `/usr/local/src/myth/mythtv-0.20/libs/libmyth'
make[1]: *** [sub-libmyth-install_subtargets-ordered] Error 2
make[1]: Leaving directory `/usr/local/src/myth/mythtv-0.20/libs'
make: *** [sub-libs-install_subtargets-ordered] Error 2
linux-a3o6:/usr/local/src/myth/mythtv-0.20 #


More information about the mythtv-users mailing list