Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-amd64
Navigation:
Lists: gentoo-amd64: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-amd64@g.o
From: "Mark Knecht" <markknecht@...>
Subject: mythfrontend on AMD64 - will it work with qt-4? (cannot connect to database)
Date: Mon, 14 May 2007 19:59:52 -0700
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@g.o mailing list


Replies:
Re: mythfrontend on AMD64 - will it work with qt-4? (cannot connect to database)
-- Brett Johnson
Re: mythfrontend on AMD64 - will it work with qt-4? (cannot connect to database)
-- Raffaele BELARDI
Navigation:
Lists: gentoo-amd64: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
sound problems on startup
Next by thread:
Re: mythfrontend on AMD64 - will it work with qt-4? (cannot connect to database)
Previous by date:
Re: Gentoo crashing?
Next by date:
Re: Gentoo crashing?


Updated Jun 17, 2009

Summary: Archive of the gentoo-amd64 mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.