Gentoo Archives: gentoo-amd64

From: Mark Knecht <markknecht@×××××.com>
To: gentoo-amd64@l.g.o
Subject: [gentoo-amd64] mythfrontend on AMD64 - will it work with qt-4? (cannot connect to database)
Date: Tue, 15 May 2007 03:02:02
Message-Id: 5bdc1c8b0705141959u3658eee1g21852225dda69a3c@mail.gmail.com
1 Hi,
2 I'm in the early stages of a complete MythTV update across my
3 network. I have the backend nearly working in an IA32 machine. It runs
4 fine but isn't getting all the channels correctly yet. In parallel
5 with that effort I'm trying to get the frontend working again on my
6 AMD64 machine. At this point I can connect to the mythconverg database
7 by hand:
8
9 mark@lightning ~ $ mysql -h 192.168.1.55 -u mythtv -p mythconverg
10 Enter password:
11 Reading table information for completion of table and column names
12 You can turn off this feature to get a quicker startup with -A
13
14 Welcome to the MySQL monitor. Commands end with ; or \g.
15 Your MySQL connection id is 43
16 Server version: 5.0.40 Gentoo Linux mysql-5.0.40
17
18 Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
19
20 mysql> exit
21 Bye
22 mark@lightning ~ $
23
24 However when I try to start the frontend it complains like this:
25
26 mark@lightning ~ $ mythfrontend --geometry 800x600
27 2007-05-14 19:56:19.577 Using runtime prefix = /usr
28 2007-05-14 19:56:19.585 DPMS is active.
29 QSqlDatabase: QMYSQL3 driver not loaded
30 QSqlDatabase: available drivers:
31 2007-05-14 19:56:19.595 New DB connection, total: 1
32 2007-05-14 19:56:19.595 Unable to connect to database!
33 2007-05-14 19:56:19.596 No error type from QSqlError? Strange...
34 QSqlQuery::exec: database not open
35 QSqlQuery::exec: database not open
36 2007-05-14 19:56:19.646 DB Error (KickDatabase):
37 Query was:
38 SELECT NULL;
39 No error type from QSqlError? Strange...
40
41
42 After doing some reading I find that the long time answer to this
43 question is compiling qt with mysql support. I believe I've done that
44 but it still didn't work. I noticed a new flag about qt3support so I
45 rebuilt qt with that turned on but it still fails to connect:
46
47 lightning ~ # emerge -pv qt
48
49 These are the packages that would be merged, in order:
50
51 Calculating dependencies... done!
52 [ebuild R ] x11-libs/qt-4.2.3-r1 USE="cups dbus gif jpeg mysql
53 opengl png qt3support zlib -accessibility -debug -doc -examples
54 (-firebird) -glib -mng -nas -nis -odbc -pch -postgres -sqlite -sqlite3
55 -xinerama" INPUT_DEVICES="-wacom" 0 kB
56
57 Total: 1 package (1 reinstall), Size of downloads: 0 kB
58 lightning ~ #
59
60 Is there a known problem with mythfrontend on AMD64? I'm pretty
61 lost for things to try right now.
62
63 Thanks in advance for any ideas.
64
65 Cheers,
66 Mark
67 --
68 gentoo-amd64@g.o mailing list

Replies