[mythtv-users] qt and mysql in gentoo

Daniel Paessler paessler at gmx.de
Mon Sep 22 19:26:26 EDT 2003


i too use gentoo and had the same problem. christian hoenig had an
idea and i tried this. it works great for me on qt 3.2.1.
did you try the settings mentioned by christian? see below.

quote christian:

    Hi,

    as discussed off-list, and to make it available to list readers...

    > QSqlDatabase warning: QMYSQL3 driver not loaded
    > QSqlDatabase: available drivers:

    A possible sollution is to add '/usr/qt/3/plugins' to 'library
    paths' using qtconfig.

    Hope that helps the others, too

/quote


daniel

Am Mon, 2003-09-22 um 03.47 schrieb Curtis Stanford:
> I tried upgrading qt (I don't use kde on the frontend, big waste of time) to 
> 3.2.1 and it was tits up as well. Went back to 3.1.4 (I think) and all is 
> well.
> 
> On September 21, 2003 07:13 pm, Paul Peltz, Jr. wrote:
> > I upgraded as well and still have the same problem.  I guess I'll have
> > to downgrade to kde-3.1.3 and qt-3.2.0.  I thought there were more than
> > two gentoo users on this list that might of upgraded kde and qt.  Oh
> > well, a couple days from now maybe it will all be done compiling.
> >
> > Paul
> >
> > On Sat, 2003-09-20 at 07:19, Daniel Paessler wrote:
> > > i did an "emerge sync" and saw, that a new update to qt is available...
> > > maybe the problem is known...so let's see if it is solved too...
> > > he's compiling it right now...report follows.
> > >
> > > Am Fre, 2003-09-19 um 23.01 schrieb Paul Peltz, Jr.:
> > > > I just recently upgraded to kde-3.1.4 and in that upgrade qt was also
> > > > upgraded.  As you can see I am compiling qt with mysql support:
> > > >
> > > > [ebuild   R   ] dev-db/mysql-4.0.15  -static +readline +innodb +berkdb
> > > > +tcpd +ssl +perl -debug
> > > > [ebuild   R   ] x11-libs/qt-3.2.1  +cups -nas -postgres +opengl +mysql
> > > > +odbc +gif
> > > >
> > > > But when I try to start mythbackend I get the normal:
> > > >
> > > > QSqlDatabase warning: QMYSQL3 driver not loaded
> > > > QSqlDatabase: available drivers:
> > > > QSqlDatabase warning: QMYSQL3 driver not loaded
> > > > QSqlDatabase: available drivers:
> > > > Unable to connect to database!
> > > > No error type from QSqlError?  Strange...
> > > > couldn't open db
> > > >
> > > > Here is my emerge info:
> > > > Portage 2.0.49-r4 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r1,
> > > > 2.4.20-gentoo-r6)
> > > > =================================================================
> > > > System uname: 2.4.20-gentoo-r6 i686 AMD Athlon(tm) Processor
> > > > distcc 2.10 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
> > > > [enabled]
> > > > ccache version 2.2 [enabled]
> > > > ACCEPT_KEYWORDS="x86 ~x86"
> > > > AUTOCLEAN="yes"
> > > > CFLAGS="-march=athlon -O3 -pipe -fomit-frame-pointer"
> > > > CHOST="i686-pc-linux-gnu"
> > > > COMPILER="gcc3"
> > > > CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
> > > > /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb
> > > > /usr/kde/3.1/share/config /usr/share/config"
> > > > CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
> > > > CXXFLAGS="-march=athlon -O3 -pipe -fomit-frame-pointer"
> > > > DISTDIR="/usr/portage/distfiles"
> > > > FEATURES="sandbox autoaddcvs ccache distcc userpriv fixpackages"
> > > > GENTOO_MIRRORS="ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo
> > > > ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://gentoo.mirrors.pair.com/
> > > > ftp://gentoo.mirrors.pair.com/ http://adelie.polymtl.ca/"
> > > > MAKEOPTS="-j6"
> > > > PKGDIR="/usr/portage/packages"
> > > > PORTAGE_TMPDIR="/var/tmp"
> > > > PORTDIR="/usr/portage"
> > > > PORTDIR_OVERLAY=""
> > > > SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
> > > > USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ mad
> > > > mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2
> > > > xmms xv zlib directfb gtkhtml alsa gdbm berkdb slang readline arts
> > > > aalib nas bonobo svga ggi tcltk java guile X sdl gpm tcpd pam libwww
> > > > ssl perl python esd imlib oggvorbis gtk motif opengl gphoto2 snmp cdr
> > > > apache2 dga dvd evo fbcon gb gd gtk2 imap innodb kde lcms libgda lirc
> > > > maildir mysql nocardbus oav odbc offensive pda qt radeon samba sasl slp
> > > > tiff usb v4l -gnome -mozilla -ldap -scanner"
> > > >
> > > > Are there any other gentoo users out there that have upgraded to the
> > > > latest qt?
> > > >
> > > > Thanks,
> > > >
> > > > Paul
> 
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
-- 
Daniel Paessler <paessler at gmx.de>



More information about the mythtv-users mailing list