[mythtv-users] error compiling myth

Ivor Hewitt ivor at ivor.org
Wed Dec 24 01:24:29 EST 2003


On Tuesday 23 December 2003 23:41, David Lodeiro wrote:
> On Wed, 24 Dec 2003 12:16 am, Ivor Hewitt wrote:
> > On Tuesday 23 December 2003 13:43, David Lodeiro wrote:
> > > Hi,
> > >
> > > 	I'm trying to build mythtv on RedHat 9 with DVB support built in.
> > > However I am getting some errors when doing make.
> > >
> > > Following is what it ends on
> > >
> > > cddevice.h:251: 'QString' is used as a type, but is not defined as a
> > > type.
> >
> > [snip]
> >
> > Do you have qt-devel installed? Do you have an env  var "QTDIR" pointing
> > to your QT source?
>
> Thanks for your reply
>
> I had originally placed the variables in .profile not realising that it
> wouldnt take affect, I had to place it in .bash_profile. Now it is set and
> it does seem to progress further. However now it comes up with an error as
> it cannot find -lqt-mt
>
> I did a search and the only libqt-mt that show up are in /usr/lib/qt-3.1
> This must have come as part of the original redhat 9 install, because the
> version of qt that I installed is 3.3.0b1 that I obtained from the qt
> website.
>
> Should I be using an older version of qt?
>
> Following is the error
>

Recompile the copy of qt you downloaded but add "-thread" to configure.

e.g.

/usr/lib/qt-copy/configure -system-zlib -qt-gif -system-libpng -system-libjpeg 
-plugin-imgfmt-mng -thread -no-exceptions -plugin-sql-mysql 
-I/usr/include/mysql -L/usr/lib/mysql

Regards,

-- 
Ivor Hewitt.
http://www.ivor.it - Wireless networking and techie bits.
http://www.ivor.org - The leylandii hedge pages


More information about the mythtv-users mailing list