Gentoo Archives: gentoo-amd64

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