[mythtv] Question on compile!!!

Andrew Deponte mythtv-dev@snowman.net
Tue, 23 Jul 2002 09:35:25 -0700


K. I got that SQL QT thing compiled and installed and now when I run
mythtv I get the following. I think I need to set the proper
permisions for the database. Would somone please tell me what they are.
Either that or give me an idea of what they think is wrong!!

[adeponte@redtux adeponte]$ mythtv
Couldn't open database
Probed: Television
Probed: Composite1
Probed: S-Video
QSqlQuery::exec: database not open
Changing from None to WatchingLiveTV
open video:: Is a directory
VIDIOCSAUDIO: Bad file descriptor

[adeponte@redtux adeponte]$ 


On (07/23/02 15:54), Chris Kleeschulte wrote:
> Delivered-To: adeponte@localhost.cyph.org
> From: "Chris Kleeschulte" <kleeschu@mindspring.com>
> To: <mythtv-dev@snowman.net>
> Subject: Re: [mythtv] Question on compile!!!
> X-Priority: 3
> X-MSMail-Priority: Normal
> X-Mailer: Microsoft Outlook Express 6.00.2600.0000
> X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
> Errors-To: mythtv-dev-admin@snowman.net
> X-BeenThere: mythtv-dev@snowman.net
> X-Mailman-Version: 2.0.11
> Precedence: bulk
> Reply-To: mythtv-dev@snowman.net
> X-Reply-To: "Chris Kleeschulte" <kleeschu@corp.earthlink.net>
> List-Help: <mailto:mythtv-dev-request@snowman.net?subject=help>
> List-Post: <mailto:mythtv-dev@snowman.net>
> List-Subscribe: <http://www.snowman.net/mailman/listinfo/mythtv-dev>,
> 	<mailto:mythtv-dev-request@snowman.net?subject=subscribe>
> List-Id: Development of mythtv <mythtv-dev.snowman.net>
> List-Unsubscribe: <http://www.snowman.net/mailman/listinfo/mythtv-dev>,
> 	<mailto:mythtv-dev-request@snowman.net?subject=unsubscribe>
> List-Archive: <http://www.snowman.net/pipermail/mythtv-dev/>
> Date: Tue, 23 Jul 2002 15:54:26 -0700
> 
> you need to add the path to your mysql.h in your INCLUDEPATH....mine would be this:
> 
> 
> 
> INCLUDEPATH+=/usr/local/mysql/include
> 
> 
> hope that does it!!
> 
> Chris
>   ----- Original Message ----- 
>   From: Andrew Deponte 
>   To: mythtv-dev@snowman.net 
>   Sent: Monday, July 22, 2002 5:14 PM
>   Subject: Re: [mythtv] Question on compile!!!
> 
> 
>   When I do what the link tolled me to do I get the following.
> 
>   [root@redtux mysql]# qmake -o Makefile "INCLUDEPATH+=/usr/local/include"
>   "LIBS+=-L/usr/local/lib -lmysqlclient" mysql.pro
>   [root@redtux mysql]# make
>   g++ -c -pipe -Wall -W -O2 -fPIC  -DQT_NO_DEBUG -DQT_PLUGIN
>   -I/usr/include/freetype2 -I/usr/local/include -I/usr/local/qt/include
>   -I.moc/release-shared/ -I/usr/local/qt/mkspecs/linux-g++ -o .obj/main.o
>   main.cpp
>   In file included from main.cpp:38:
>   ../../../../src/sql/drivers/mysql/qsql_mysql.h:49:19: mysql.h: No such
>   file or directory
>   In file included from main.cpp:38:
>   ../../../../src/sql/drivers/mysql/qsql_mysql.h:69: syntax error before
>   `*'
>   ../../../../src/sql/drivers/mysql/qsql_mysql.h:107: syntax error before
>   `*'
>   make: *** [.obj/main.o] Error 1
>   [root@redtux mysql]# 
> 
> 
>   On (07/21/02 21:17), Chris Kleeschulte wrote:
>   > Delivered-To: adeponte@localhost.cyph.org
>   > From: "Chris Kleeschulte" <kleeschu@mindspring.com>
>   > To: <mythtv-dev@snowman.net>
>   > Subject: Re: [mythtv] Question on compile!!!
>   > X-Priority: 3
>   > X-MSMail-Priority: Normal
>   > X-Mailer: Microsoft Outlook Express 6.00.2600.0000
>   > X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
>   > Errors-To: mythtv-dev-admin@snowman.net
>   > X-BeenThere: mythtv-dev@snowman.net
>   > X-Mailman-Version: 2.0.11
>   > Precedence: bulk
>   > Reply-To: mythtv-dev@snowman.net
>   > X-Reply-To: "Chris Kleeschulte" <kleeschu@corp.earthlink.net>
>   > List-Help: <mailto:mythtv-dev-request@snowman.net?subject=help>
>   > List-Post: <mailto:mythtv-dev@snowman.net>
>   > List-Subscribe: <http://www.snowman.net/mailman/listinfo/mythtv-dev>,
>   > <mailto:mythtv-dev-request@snowman.net?subject=subscribe>
>   > List-Id: Development of mythtv <mythtv-dev.snowman.net>
>   > List-Unsubscribe: <http://www.snowman.net/mailman/listinfo/mythtv-dev>,
>   > <mailto:mythtv-dev-request@snowman.net?subject=unsubscribe>
>   > List-Archive: <http://www.snowman.net/pipermail/mythtv-dev/>
>   > Date: Sun, 21 Jul 2002 21:17:01 -0700
>   > 
>   > check this page out...it will explain how to get that Qt module loaded 
>   > 
>   > 
>   > 
>   > http://doc.trolltech.com/3.0/sql-driver.html#QMYSQL3
>   > 
>   > 
>   > 
>   > peace
>   > 
>   > Chris
>   > 
>   > 
>   >   ----- Original Message ----- 
>   >   From: Andrew Deponte 
>   >   To: mythtv-dev@snowman.net 
>   >   Sent: Sunday, July 21, 2002 12:23 PM
>   >   Subject: Re: [mythtv] Question on compile!!!
>   > 
>   > 
>   >   K, I got it all compiled with 0 errors. The problem now is that when I
>   >   run mythtv it says
>   > 
>   >   [adeponte@redtux adeponte]$ mythtv
>   >   mythtv: error while loading shared libraries: libmp3lame.so.0: cannot
>   >   open shared object file: No such file or directory
>   > 
>   >   If I make a symlink to /usr/local/lib/libmp3lame.so.0 in my home
>   >   directory then when I run mythtv it finds it libmp3lame.so.0 but then I
>   >   get the following. It also does the following if I just add
>   >   /usr/local/lib to my LD_LIBRARY_PATH environment variable. It looks
>   >   like I have got it to find the library using LD_LIBRARY_PATH but the
>   >   problem seems to be the permissions for the database in MySQL. Can
>   >   someone tell me the proper permissions that are required by the software
>   >   and the fact that the QMYSQL3 driver is not loaded and please help me
>   >   with why its not loaded or where it is. I am some what familiar with
>   >   MySQL in Perl but not in QMYSQL3. Please Help!
>   > 
>   >   [adeponte@redtux adeponte]$ mythtv
>   >   QSqlDatabase warning: QMYSQL3 driver not loaded
>   >   QSqlDatabase: available drivers: 
>   >   Couldn't open database
>   >   Probed: Television
>   >   Probed: Composite1
>   >   Probed: S-Video
>   >   QSqlQuery::exec: database not open
>   >   Changing from None to WatchingLiveTV
>   >   Cannot open output.nuv for writing
>   > 
>   > 
>   > 
>   > 
>   >   On (07/21/02 11:46), Andrew Deponte wrote:
>   >   > Delivered-To: adeponte@localhost.cyph.org
>   >   > From: Andrew Deponte <cyphactor@socal.rr.com>
>   >   > To: mythtv-dev@snowman.net
>   >   > Subject: Re: [mythtv] Question on compile!!!
>   >   > In-Reply-To: <20020721175907.GA17005@ns.cyph.org>
>   >   > User-Agent: Mutt/1.3.25i
>   >   > Errors-To: mythtv-dev-admin@snowman.net
>   >   > X-BeenThere: mythtv-dev@snowman.net
>   >   > X-Mailman-Version: 2.0.11
>   >   > Precedence: bulk
>   >   > Reply-To: mythtv-dev@snowman.net
>   >   > List-Help: <mailto:mythtv-dev-request@snowman.net?subject=help>
>   >   > List-Post: <mailto:mythtv-dev@snowman.net>
>   >   > List-Subscribe: <http://www.snowman.net/mailman/listinfo/mythtv-dev>,
>   >   > <mailto:mythtv-dev-request@snowman.net?subject=subscribe>
>   >   > List-Id: Development of mythtv <mythtv-dev.snowman.net>
>   >   > List-Unsubscribe: <http://www.snowman.net/mailman/listinfo/mythtv-dev>,
>   >   > <mailto:mythtv-dev-request@snowman.net?subject=unsubscribe>
>   >   > List-Archive: <http://www.snowman.net/pipermail/mythtv-dev/>
>   >   > Date: Sun, 21 Jul 2002 11:46:12 -0700
>   >   > 
>   >   > I figured it out myself. The problem was that the libqt-mt.so.3 file had
>   >   > the tailing 3 so I symlinked it with libqt-mt.so and then ran the
>   >   > Makefile and it compiled that subdir but other subdirs use that lib
>   >   > as well so other subdir needed the -L/usr/lib/qt-3.0.3/lib added too.
>   >   > 
>   >   > On (07/21/02 10:59), cyphactor@socal.rr.com wrote:
>   >   > > Delivered-To: adeponte@localhost.cyph.org
>   >   > > From: cyphactor@socal.rr.com
>   >   > > To: mythtv-dev@snowman.net
>   >   > > User-Agent: Mutt/1.3.25i
>   >   > > Subject: [mythtv] Question on compile!!!
>   >   > > Errors-To: mythtv-dev-admin@snowman.net
>   >   > > X-BeenThere: mythtv-dev@snowman.net
>   >   > > X-Mailman-Version: 2.0.11
>   >   > > Precedence: bulk
>   >   > > Reply-To: mythtv-dev@snowman.net
>   >   > > List-Help: <mailto:mythtv-dev-request@snowman.net?subject=help>
>   >   > > List-Post: <mailto:mythtv-dev@snowman.net>
>   >   > > List-Subscribe: <http://www.snowman.net/mailman/listinfo/mythtv-dev>,
>   >   > > <mailto:mythtv-dev-request@snowman.net?subject=subscribe>
>   >   > > List-Id: Development of mythtv <mythtv-dev.snowman.net>
>   >   > > List-Unsubscribe: <http://www.snowman.net/mailman/listinfo/mythtv-dev>,
>   >   > > <mailto:mythtv-dev-request@snowman.net?subject=unsubscribe>
>   >   > > List-Archive: <http://www.snowman.net/pipermail/mythtv-dev/>
>   >   > > Date: Sun, 21 Jul 2002 10:59:07 -0700
>   >   > > 
>   >   > > Hey, again I think my e-mail should work from my member enty in the list
>   >   > > this time. Here is the problem. In the make process it gets to
>   >   > > mythdialog and runs the make file and then on the first g++ line it
>   >   > > barfs saying that /usr/bin/ld: cannot find -lqt-mt, I looked through
>   >   > > the qt3 that i just installed in /usr/local/qt and the file is not in
>   >   > > there. So then I ran updatedb, and locate to find it. It shows up in
>   >   > > /usr/lib/qt-3.0.3/lib/libqt-mt.so.3
>   >   > > /usr/lib/qt-3.0.3/lib/libqt-mt.so.3.0
>   >   > > /usr/lib/qt-3.0.3/lib/libqt-mt.so.3.0.3
>   >   > > So I added another -L to the mythdialog Makefile to fix it and put
>   >   > > -L/usr/lib/qt-3.0.3/lib/
>   >   > > It still gives me the error though when I run make that /usr/bin/ld
>   >   > > cannot find it. Please Assist me!!.
>   >   > > Thanks,
>   >   > > Andrew
>   >   > > _______________________________________________
>   >   > > mythtv-dev mailing list
>   >   > > mythtv-dev@snowman.net
>   >   > > http://www.snowman.net/mailman/listinfo/mythtv-dev
>   >   > _______________________________________________
>   >   > mythtv-dev mailing list
>   >   > mythtv-dev@snowman.net
>   >   > http://www.snowman.net/mailman/listinfo/mythtv-dev
>   >   _______________________________________________
>   >   mythtv-dev mailing list
>   >   mythtv-dev@snowman.net
>   >   http://www.snowman.net/mailman/listinfo/mythtv-dev
>   _______________________________________________
>   mythtv-dev mailing list
>   mythtv-dev@snowman.net
>   http://www.snowman.net/mailman/listinfo/mythtv-dev