[mythtv-users] Problems compiling CVS on debian (QT-Problem?)

Ray Olszewski ray at comarre.com
Fri Apr 25 10:32:46 EDT 2003


Replies below.

At 06:09 PM 4/25/2003 +0200, Florian Zierer wrote:
>Hi All,
>
>i hav Debian Testing/Unstable running.

Testing (Sarge) and Unstable (Sd) are different Debian versions. Do you 
mean you are running some mix of the two?

>When i try to compile mythtv i get a lot of errors like
>../../libs/libmyth/libmyth-0.9.so: undefined reference to
>`QButtonGroup::qt_emit(int, QUObject *)'
>../../libs/libmyth/libmyth-0.9.so: undefined reference to
>`QTextEdit::doKeyboardAction(QTextEdit::KeyboardAction)'
>../../libs/libmyth/libmyth-0.9.so: undefined reference to
>`QWidget::closeEvent(QCloseEvent *)'
>../../libs/libmyth/libmyth-0.9.so: undefined reference to
>`QCString::stripWhiteSpace(void) const'
>../../libs/libmyth/libmyth-0.9.so: undefined reference to `QLibrary type_info
>function'
>../../libs/libmyth/libmyth-0.9.so: undefined reference to
>`QScrollView::mouseReleaseEvent(QMouseEvent *)'
>
>I have these packages installed.
>
>libqt3-mt-dev
>libqt3c102-mt
>  libqt3c102-mt-mysql
>  libqwt-dev
>  libqwt0c102
>qt3-dev-tools
>qt3-dev-tools-compat
>
>QTDIR=/usr/share/qt3
>PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/share/qt3:/usr/share/qt3/bin
>LD_LIBRARY_PATH=/usr/share/qt3/lib:
>
>Do I need another package?

I can't be certain, but if you run "apt-cache search libqt |grep dev" on 
Sid, you should get the following:

         autovcr at kuryakin:~$ apt-cache search libqt |grep dev
         kde-devel - The K Desktop Environment (development files)
         libguile-dev - Development headers and static library for libguile.
         libqt-dev - Qt GUI development files
         libqt-mt-dev - Qt GUI development files (Threaded version)
         libqt3-dev - Qt development files
         libqt3-mt-dev - Qt development files (Threaded)
         libqtcups-dev - Qt interface library for CUPS (development files)
         libqte-mt3-dev - Qt/Embedded GUI (Threaded Version) development files
         libqte2-dev - Qt/Embedded GUI development headers

looking at this list and the example errors you posted, I'd suspect you 
need either libqt-dev or libqt3-dev (or both).

Also, while you list the libqwt-dev package, you do not list the 
corresponding runtime package ("libqwt0c102 - Qt widgets library for 
technical applications (runtime)"). A -dev package without the 
corresponding runtime library is pretty much useless (unless you are 
running on a different system from the one you compile on).





More information about the mythtv-users mailing list