Hello all,

Am compiling the frontend for OSX, and have followed the instructions found here:

http://www.mythtv.info/moin.cgi/MythOnMacOsx

to the letter. I've tried 3 different versions - official 0.18.1 source from the website, CVS and SVN - all have the same problem. I want to use the SVN version as I need to use a patch with MythTV that will only patch on SVN. And yes, I still get the same problem *without* the patch. Anyway, after following the instructions, the compile finishes fine, I'm able to install the software and then run it, but it keep failing to connect to the database:

piers-kittels-mac-mini:~ pierskittel$ /usr/local/bin/mythfrontend.app/Contents/MacOS/mythfrontend
QSqlDatabase: QMYSQL3 driver not loaded
QSqlDatabase: available drivers:
2005-07-06 20:01:36.858 New DB connection, total: 1
2005-07-06 20:01:36.860 Unable to connect to database!
2005-07-06 20:01:36.860 No error type from QSqlError?  Strange...
2005-07-06 20:01:36.883 Unable to connect to database!
2005-07-06 20:01:36.883 No error type from QSqlError?  Strange...
2005-07-06 20:01:36.883 Database not open while trying to load setting: GuiVidModeResolution
2005-07-06 20:01:36.883 Unable to connect to database!
2005-07-06 20:01:36.883 No error type from QSqlError?  Strange...
<many more errors like the above here>

Looking around, the missing drivers seems to point to the fact QT isn't installed, but I've compiled QT and set up the environment variable as per the instructions, even tried to install it even the instructions didn't require for it to be installed. I had another look at the compile, and at the end, there are some warnings related to QT:

distcc g++ -c -pipe -faltivec -Wall -W -O3 -Wall -Wno-switch -no-cpp-precomp -pipe -fomit-frame-pointer -force_cpusubtype_ALL -Wno-sign-compare -fno-inline-functions -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\" -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_ACCESSIBILITY_SUPPORT -I/Users/pierskittel/src/qt-mac-free-3.3.3/mkspecs/default -I. -I/usr/local/include -I../libs/libmythtv -I../libs -I../libs/libmyth -I../libs/libmythtv/dvbdev -I/Users/pierskittel/src/qt-mac-free-3.3.3/include -o checksetup.o checksetup.cpp test -d mythtv-setup.app/Contents/MacOS/ || mkdir -p mythtv-setup.app/Contents/MacOS/ distcc g++ -headerpad_max_install_names -prebind -o mythtv-setup.app/Contents/MacOS/mythtv-setup main.o backendsettings.o checksetup.o -L/Users/pierskittel/src/qt-mac-free-3.3.3/lib -L../libs/libmyth -L../libs/libmythtv -L../libs/libavcodec -L../libs/libavformat-lmythtv-0.18 -lmythavformat-0.18 -lmythavcodec-0.18 -lmyth-0.18 -lfreetype -lmp3lame -lqt-mt
ld: warning multiple definitions of symbol _dlsym
/usr/lib/libSystem.dylib(dyldAPIsInLibSystem.o) definition of _dlsym
/Users/pierskittel/src/qt-mac-free-3.3.3/lib/libqt-mt.dylib(single module) definition of _dlsym
ld: warning multiple definitions of symbol _dlopen
/usr/lib/libSystem.dylib(dyldAPIsInLibSystem.o) definition of _dlopen
/Users/pierskittel/src/qt-mac-free-3.3.3/lib/libqt-mt.dylib(single module) definition of _dlopen
ld: warning multiple definitions of symbol _dlclose
/usr/lib/libSystem.dylib(dyldAPIsInLibSystem.o) definition of _dlclose
/Users/pierskittel/src/qt-mac-free-3.3.3/lib/libqt-mt.dylib(single module) definition of _dlclose
ld: warning multiple definitions of symbol _dlerror
/usr/lib/libSystem.dylib(dyldAPIsInLibSystem.o) definition of _dlerror
/Users/pierskittel/src/qt-mac-free-3.3.3/lib/libqt-mt.dylib(single module) definition of _dlerror
ld: warning multiple definitions of symbol _dladdr
/usr/lib/libSystem.dylib(dyldAPIsInLibSystem.o) definition of _dladdr
/Users/pierskittel/src/qt-mac-free-3.3.3/lib/libqt-mt.dylib(single module) definition of _dladdr ld: warning suggest use of -bind_at_load, as lazy binding may result in errors or different symbols being used symbol _dladdr used from dynamic library /usr/lib/libSystem.dylib(dyldAPIsInLibSystem.o) not from earlier dynamic library libqt-mt.3.dylib(single module) symbol _dlclose used from dynamic library /usr/lib/libSystem.dylib(dyldAPIsInLibSystem.o) not from earlier dynamic library libqt-mt.3.dylib(single module) symbol _dlerror used from dynamic library /usr/lib/libSystem.dylib(dyldAPIsInLibSystem.o) not from earlier dynamic library libqt-mt.3.dylib(single module) symbol _dlopen used from dynamic library /usr/lib/libSystem.dylib(dyldAPIsInLibSystem.o) not from earlier dynamic library libqt-mt.3.dylib(single module) symbol _dlsym used from dynamic library /usr/lib/libSystem.dylib(dyldAPIsInLibSystem.o) not from earlier dynamic library libqt-mt.3.dylib(single module)
piers-kittels-mac-mini:~/src/mythtv-svn-6763-dvb-2 pierskittel$

I've also tried installing the precompiled binary of QT to no avail. I'm tearing out the hair out of my head trying to figure out why the compile is finishing but having problems - does anyone have any idea how can I make MythTV for OSX to compile with the proper MySQL drivers?

Thanks very much for your help in advance

Cheers - Piers
_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev

Reply via email to