[mythtv] OSX compile problem
Piers Kittel
mythtv at biased.org
Thu Jul 7 14:04:17 EDT 2005
What you said made lots of sense, but did everything you said, and no
luck - still can't find the SQL driver :/
Any other ideas?
Thanks very much for your help again
Cheers - Piers
Nigel Pearson wrote:
>
> Hi Piers.
>
> ...
>
>> $ /usr/local/bin/mythfrontend.app/Contents/MacOS/mythfrontend
>> QSqlDatabase: QMYSQL3 driver not loaded
>> QSqlDatabase: available drivers:
>
> ...
>
>> 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
>
>
>
> I think this is the second error I got when
> trying to build a frontend, all those months ago.
> (first one was that -O3 was causing virtual thunk
> errors due to stripping out the moc_* methods).
>
>
> I asked:
>
>> % setup/setup -qws
>> Creating mouse: Auto
>> QSqlDatabase: QMYSQL3 driver not loaded
>> QSqlDatabase: available drivers:
>> QSqlDatabase: QMYSQL3 driver not loaded
>> QSqlDatabase: available drivers:
>
>
> and J. Donavan Stanley replied:
>
>> The database driver isn't being loaded note the line "QSqlDatabase:
>> available drivers: ", you need to have the MySQL driver built with
>> your Qt (it's not by default).
>
>
>
> Basically, when you configure Qt, you need to
> make sure that it is something like:
>
> configure -system-zlib -thread -stl -freetype -qvfb -plugin-sql-mysql \
> -I/usr/local/mysql-max-4.0.20-apple-darwin6.8-powerpc/include \
> -L/usr/local/mysql-max-4.0.20-apple-darwin6.8-powerpc/lib
>
> (note the -plugin-sql-mysql).
>
> If it was in there, then that isn't it, and it probably
> means something strange with LD_LIBRARY_PATH or QTDIR.
>
> (libqt-mt.dylib needs to open something like
> $QTDIR/plugins/sqldrivers/libsqlmysql.dylib)
>
>
> Bonne chance.
>
> --
> Nigel Pearson, nigel at ind.tansu.com.au | "Now the world has gone to bed,
> Telstra BI&D, Sydney, Australia | Darkness won't engulf my head,
> Office: 8255 4222 Fax: 8255 3153 | I can see by infrared,
> Mobile: 0408 664435 Home: 9792 6998 | How I hate the night." -Marvin
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
More information about the mythtv-dev
mailing list