public inbox for gentoo-amd64@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-amd64] mythfrontend on AMD64 - will it work with qt-4? (cannot connect to database)
@ 2007-05-15  2:59 Mark Knecht
  2007-05-15  7:37 ` Raffaele BELARDI
  2007-05-15 12:29 ` Brett Johnson
  0 siblings, 2 replies; 6+ messages in thread
From: Mark Knecht @ 2007-05-15  2:59 UTC (permalink / raw
  To: gentoo-amd64

Hi,
   I'm in the early stages of a complete MythTV update across my
network. I have the backend nearly working in an IA32 machine. It runs
fine but isn't getting all the channels correctly yet. In parallel
with that effort I'm trying to get the frontend working again on my
AMD64 machine. At this point I can connect to the mythconverg database
by hand:

mark@lightning ~ $ mysql -h 192.168.1.55 -u mythtv -p mythconverg
Enter password:
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 43
Server version: 5.0.40 Gentoo Linux mysql-5.0.40

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> exit
Bye
mark@lightning ~ $

   However when I try to start the frontend it complains like this:

mark@lightning ~ $ mythfrontend --geometry 800x600
2007-05-14 19:56:19.577 Using runtime prefix = /usr
2007-05-14 19:56:19.585 DPMS is active.
QSqlDatabase: QMYSQL3 driver not loaded
QSqlDatabase: available drivers:
2007-05-14 19:56:19.595 New DB connection, total: 1
2007-05-14 19:56:19.595 Unable to connect to database!
2007-05-14 19:56:19.596 No error type from QSqlError?  Strange...
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2007-05-14 19:56:19.646 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError?  Strange...


   After doing some reading I find that the long time answer to this
question is compiling qt with mysql support. I believe I've done that
but it still didn't work. I noticed a new flag about qt3support so I
rebuilt qt with that turned on but it still fails to connect:

lightning ~ # emerge -pv qt

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] x11-libs/qt-4.2.3-r1  USE="cups dbus gif jpeg mysql
opengl png qt3support zlib -accessibility -debug -doc -examples
(-firebird) -glib -mng -nas -nis -odbc -pch -postgres -sqlite -sqlite3
-xinerama" INPUT_DEVICES="-wacom" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB
lightning ~ #

   Is there a known problem with mythfrontend on AMD64? I'm pretty
lost for things to try right now.

   Thanks in advance for any ideas.

Cheers,
Mark
-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-05-15 23:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-15  2:59 [gentoo-amd64] mythfrontend on AMD64 - will it work with qt-4? (cannot connect to database) Mark Knecht
2007-05-15  7:37 ` Raffaele BELARDI
2007-05-15 12:29 ` Brett Johnson
2007-05-15 14:23   ` Mark Knecht
2007-05-15 15:12     ` Mark Knecht
2007-05-15 23:22       ` Drake Donahue

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox