Gentoo Archives: gentoo-amd64

From: Mark Knecht <markknecht@×××××.com>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] mythfrontend on AMD64 - will it work with qt-4? (cannot connect to database)
Date: Tue, 15 May 2007 15:14:59
Message-Id: 5bdc1c8b0705150812i5fce2733rf0792a4cde0d989f@mail.gmail.com
In Reply to: Re: [gentoo-amd64] mythfrontend on AMD64 - will it work with qt-4? (cannot connect to database) by Mark Knecht
1 It seems that re-emerging qt3 solved this problem. My remote frontend
2 is working fine.
3
4 Now to solve the remaining problems on the backend.....
5
6 thanks all!
7
8 Cheers,
9 Mark
10
11 On 5/15/07, Mark Knecht <markknecht@×××××.com> wrote:
12 > On 5/15/07, Brett Johnson <brett@××××.com> wrote:
13 > > On Mon, May 14, 2007 at 07:59:52PM -0700, Mark Knecht wrote:
14 > > > Hi,
15 > > > I'm in the early stages of a complete MythTV update across my
16 > > > network. I have the backend nearly working in an IA32 machine. It runs
17 > > > fine but isn't getting all the channels correctly yet. In parallel
18 > > > with that effort I'm trying to get the frontend working again on my
19 > > > AMD64 machine.
20 > > >
21 > > > However when I try to start the frontend it complains like this:
22 > > >
23 > > > mark@lightning ~ $ mythfrontend --geometry 800x600
24 > > > 2007-05-14 19:56:19.577 Using runtime prefix = /usr
25 > > > 2007-05-14 19:56:19.585 DPMS is active.
26 > > > QSqlDatabase: QMYSQL3 driver not loaded
27 > > > QSqlDatabase: available drivers:
28 > > > 2007-05-14 19:56:19.595 New DB connection, total: 1
29 > > > 2007-05-14 19:56:19.595 Unable to connect to database!
30 > > > 2007-05-14 19:56:19.596 No error type from QSqlError? Strange...
31 > > > QSqlQuery::exec: database not open
32 > > > QSqlQuery::exec: database not open
33 > > > 2007-05-14 19:56:19.646 DB Error (KickDatabase):
34 > > > Query was:
35 > > > SELECT NULL;
36 > > > No error type from QSqlError? Strange...
37 > > >
38 > > >
39 > > First, I believe MythTV still required QT3. The QT package is slotted,
40 > > so you should be able to have both 3 and 4 installed. If you upgraded
41 > > MySQL on the AMD64 box, you may want to rebuild QT3 with something like
42 > > emerge -av =dev-libs/qt3*
43 > >
44 > > If that doesn't fix it, it sounds like it could be a password encryption
45 > > problem. I had a similar problem when I tried using a RHEL box as a
46 > > front end. The RHEL distribution only supported MySQL 4.0.x and my back
47 > > end DB is MySQL 5.x. I could connect fine from the command line, but the
48 > > front end could not. After a bit of research I determined it was a
49 > > password encryption problem. I decided the easiest solution for me was to
50 > > create a second account for the mythconverg DB and encrypt the password
51 > > using the old_password function. You can also upgrade the client to 5.x.
52 > > If it's already at 5.x you may need to re-encrypt the password for the
53 > > account.
54 > >
55 > > You may want to look at
56 > > http://dev.mysql.com/doc/refman/5.0/en/old-client.html
57 > > and try some of the suggestions.
58 > >
59 > > Hope this helps.
60 > >
61 > > Brett
62 > > --
63 > > gentoo-amd64@g.o mailing list
64 > >
65 > >
66 >
67 > Hi Brett.
68 > Thanks for responding.
69 >
70 > I have both qt3 and qt4 installed:
71 >
72 > mark@lightning ~ $ eix -I x11-libs/qt
73 > [I] x11-libs/qt
74 > Available versions:
75 > (3) 3.3.4-r8 3.3.8-r2
76 > (4) 4.2.3-r1 ~*4.3.0_beta1 ~4.3.0_rc1
77 > {accessibility cups dbus debug doc examples firebird gif glib
78 > immqt immqt-bc input_devices_wacom ipv6 jpeg mng mysql nas nis odbc
79 > opengl pch png postgres qt3support sqlite sqlite3 ssl tiff xinerama
80 > zlib}
81 > Installed versions: 3.3.8-r2(3)(09:05:22 PM 04/18/2007)(cups
82 > -debug -doc -examples -firebird gif -immqt -immqt-bc ipv6 mysql -nas
83 > -nis -odbc opengl -postgres -sqlite -xinerama)
84 > 4.2.3-r1(4)(07:42:10 PM
85 > 05/14/2007)(-accessibility cups dbus -debug -doc -examples -firebird
86 > gif -glib -input_devices_wacom jpeg -mng mysql -nas -nis -odbc opengl
87 > -pch png -postgres qt3support -sqlite -sqlite3 -xinerama zlib)
88 > Homepage: http://www.trolltech.com/
89 > Description: The Qt toolkit is a comprehensive C++
90 > application development framework.
91 >
92 >
93 > As far as I can tell Myth and most everything else does depend on qt3:
94 >
95 > mark@lightning ~ $ equery depends =x11-libs/qt-3.3.8-r2
96 > [ Searching for packages depending on =x11-libs/qt-3.3.8-r2... ]
97 > app-cdr/k3b-1.0.1 (=x11-libs/qt-3.3*)
98 > app-crypt/qca-1.0-r2 (=x11-libs/qt-3.3*)
99 > app-text/poppler-bindings-0.5.4 (qt3? =x11-libs/qt-3*)
100 > dev-libs/dbus-qt3-old-0.70 (=x11-libs/qt-3*)
101 > kde-base/kdebase-3.5.5-r4 (=x11-libs/qt-3.3*)
102 > kde-base/kdelibs-3.5.5-r10 (=x11-libs/qt-3.3.8-r2)
103 > kde-misc/filelight-1.0_rc2 (=x11-libs/qt-3.3*)
104 > media-sound/qjackctl-0.2.22 (=x11-libs/qt-3*)
105 > media-tv/mythtv-0.20.1_p13344 (=x11-libs/qt-3.3*)
106 > x11-themes/mythtv-themes-0.20.1 (=x11-libs/qt-3.3*)
107 > mark@lightning ~ $ equery depends =x11-libs/qt-4.2.3-r1
108 > [ Searching for packages depending on =x11-libs/qt-4.2.3-r1... ]
109 > app-text/poppler-bindings-0.5.4 (qt4? =x11-libs/qt-4*)
110 > mark@lightning ~ $
111 >
112 > I did upgrade mysql to version 5 so I'll try rebuilding qt3 using
113 > this command:
114 >
115 > emerge -av =x11-libs/qt-3*
116 >
117 > If the info above suggests other ideas please post back when you
118 > get a chance.
119 >
120 > thanks,
121 > Mark
122 >
123 --
124 gentoo-amd64@g.o mailing list

Replies