[mythtv] setup problem

mythtv-dev@snowman.net mythtv-dev@snowman.net
Sun, 27 Oct 2002 12:46:43 -0800


Hi. I finally got mythtv compiled and installed. It had a lot of errors 
like below.  on make and make install. But I'm hoping those are not a 
problem, and I can't test for sure since there is no 'make test'. 
Anyway, it _did_ compile and install, so I gave it a whirl.

make errors
#######################################
cc1plus: warning:   as it has already been specified as a non-system 
directory
g++  -o setup main.o    -L/usr/lib/qt3-gcc3.2/lib  -L/usr/X11R6/lib 
-lmyth -L/usr/local/lib -L../libs/libmyth -lqt-mt -lpthread -lXext 
-lX11 -lm
make[1]: Leaving directory `/home/cedar/download/MC/setup'
[root@freevo MC]#


install errors
##########################################
strip "/usr/local/share/mythtv/themes/"
strip: /usr/local/share/mythtv/themes/: Is a directory
make[1]: *** [install_themes] Error 1
make[1]: Leaving directory `/home/cedar/download/MC/themes'
make[1]: Entering directory `/home/cedar/download/MC/setup'
make[1]: Nothing to be done for `install'.
make[1]: Leaving directory `/home/cedar/download/MC/setup'
[root@freevo MC]#



My real problem is this. I'm trying to do the setup. The mysql <mc.sql 
things seems to have worked because now I have a database called 
mythconverg. Now onto setup. It returns this error:

[root@freevo setup]# ./setup
QSqlDatabase warning: QMYSQL3 driver not loaded
QSqlDatabase: available drivers:
couldn't open db
[root@freevo setup]#

my best guess is that it is because the QT version that ships with Red 
Hat isn't compiled with mysql support (and perhaps thread support?). 
The problem is this, I can't test that because when I try to compile my 
own QT the compile fails (see below) and I can't find a pre-compiled 
rpm that includes mysql and thread support. So help 1) diagnosing the 
setup error above, 2)diagnosing the QT compile failure, or 3) finding a 
compiled version of QT with thread and mysql support  that will install 
on my Red Hat 8 machine would be really apreciated. I'm not the 
sharpest tool in the shed, and I have been bashing my head against 
trying to get mythtv installed for a week. I can't fail now!

Thanks in advance for your help!
Cedar



QT compile failure.
I do this:
./configure -qt-gif -qt-sql-mysql -plugin-sql-mysql -thread

then
gmake

then it compile for 45 minutes
then these errors:
#########################################3
/qt3-gcc3.2/mkspecs/linux-g++ -o 
.obj/release-shared-mt/moc_mainfilesettings.o 
.moc/release-shared-mt/moc_mainfilesettings.cpp
test -d ../../../../plugins/designer/ || mkdir -p 
../../../../plugins/designer/
rm -f libcppeditor.so
g++ -shared -Wl,-soname,libcppeditor.so.1 
-Wl,-rpath,../../../../plugins/designer/ -o libcppeditor.so 
.obj/release-shared-mt/cppeditor.o 
.obj/release-shared-mt/syntaxhighliter_cpp.o 
.obj/release-shared-mt/cppcompletion.o 
.obj/release-shared-mt/editorinterfaceimpl.o 
.obj/release-shared-mt/languageinterfaceimpl.o 
.obj/release-shared-mt/common.o 
.obj/release-shared-mt/preferenceinterfaceimpl.o 
.obj/release-shared-mt/yyreg.o .obj/release-shared-mt/cppbrowser.o 
.obj/release-shared-mt/projectsettingsinterfaceimpl.o 
.obj/release-shared-mt/sourcetemplateinterfaceimpl.o 
.obj/release-shared-mt/projectsettings.o 
.obj/release-shared-mt/mainfilesettings.o 
.obj/release-shared-mt/moc_cppeditor.o 
.obj/release-shared-mt/moc_cppcompletion.o 
.obj/release-shared-mt/moc_editorinterfaceimpl.o 
.obj/release-shared-mt/moc_cppbrowser.o 
.obj/release-shared-mt/moc_projectsettings.o 
.obj/release-shared-mt/moc_mainfilesettings.o   
-Wl,-rpath,/usr/lib/qt3-gcc3.2/lib  -L/usr/lib/qt3-gcc3.2/lib  
-L/usr/X11R6/lib  -L/usr/X11R6/lib -leditor -lqt-mt -lpthread -lGLU 
-lGL -lXmu -lICE -lSM -ldl -lXext -lX11 -lm -lXinerama -lXrender
/usr/bin/ld: cannot find -leditor
collect2: ld returned 1 exit status
gmake[5]: *** [../../../../plugins/designer/libcppeditor.so] Error 1
gmake[5]: Leaving directory 
`/usr/local/qt-x11-free-3.0.5/tools/designer/plugins/cppeditor'
gmake[4]: *** [sub-cppeditor] Error 2
gmake[4]: Leaving directory 
`/usr/local/qt-x11-free-3.0.5/tools/designer/plugins'
gmake[3]: *** [sub-plugins] Error 2
gmake[3]: Leaving directory 
`/usr/local/qt-x11-free-3.0.5/tools/designer'
gmake[2]: *** [sub-designer] Error 2
gmake[2]: Leaving directory `/usr/local/qt-x11-free-3.0.5/tools'
gmake[1]: *** [sub-tools] Error 2
gmake[1]: Leaving directory `/usr/local/qt-x11-free-3.0.5'
gmake: *** [init] Error 2
[root@freevo qt]#