From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1HnnIY-0007TY-7B for garchives@archives.gentoo.org; Tue, 15 May 2007 03:02:02 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l4F2xsFM002183; Tue, 15 May 2007 02:59:54 GMT Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.236]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l4F2xrRB002178 for ; Tue, 15 May 2007 02:59:54 GMT Received: by wr-out-0506.google.com with SMTP id 60so1842212wri for ; Mon, 14 May 2007 19:59:53 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=BQSPDHD+LQ5puy+Cg3OPI4QJZuPe0jMY/0IS/hXl1FqjmA+f4+2lT7/X32wU1dyDwLoAb+7bkP6iqzy1DxDnh5BGPWfMd5uvs777jLTbuJ124xkCSdDCvAK0Wxnc6Do4ypFUqXoZbvXUJJuygIdCyHjX6tlffStMh6M88AouGvY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=CfFygSgiseMRL0mtUM+11zuUjQxZ87c2f4ivYwFEhwqlMZEFUEHG5yc4LfIoDzelbxUABI1iaEFc1c41nGEsrSsubtWxmbzugkeLcSZPx9niAM5mmN5+RiypIqpGjqxbZNcC3lCeIfdXd7bHwpuTwyHILEy3eWd+JSWaJFQJfrk= Received: by 10.114.26.1 with SMTP id 1mr1298380waz.1179197993005; Mon, 14 May 2007 19:59:53 -0700 (PDT) Received: by 10.115.17.14 with HTTP; Mon, 14 May 2007 19:59:52 -0700 (PDT) Message-ID: <5bdc1c8b0705141959u3658eee1g21852225dda69a3c@mail.gmail.com> Date: Mon, 14 May 2007 19:59:52 -0700 From: "Mark Knecht" To: gentoo-amd64@lists.gentoo.org Subject: [gentoo-amd64] mythfrontend on AMD64 - will it work with qt-4? (cannot connect to database) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-amd64@gentoo.org Reply-to: gentoo-amd64@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Archives-Salt: f798eff5-6788-42ba-83be-b1d1d6bed089 X-Archives-Hash: 2fc92bc84cb2889cef812ba5c25eed38 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