[mythtv] win32 win32-packager.pl problems

J. Dale Gonzalez dale.gonzalez at gmail.com
Wed May 27 01:07:10 UTC 2009


On Tue, May 26, 2009 at 8:52 PM, Jeff Lu <jll544 at yahoo.com> wrote:

>
> > started trying to compile a .21 patches version.  That
> > process has been much less successfull.
>
> For 0.21, you need MinGW 3.14 -
> If using the MinGW auto-installer, you have to tell it to grab the Previous
> packages, not Current (even if the auto-installer itself is an old version).
>  Check for "runtime=mingw-runtime-3.14.tar.gz" in /mingw/installed.ini
>
>
>
I've managed to complete  the compile.  I had to comment out usleep in
os_support.h and compat.h.  I also had to change the fetch in
win32-packager.pl of fftw-3.1.2.tar.gz to fftw-3.2.1.tar.gz and comment out
the mysql fetch and change the references to serer 5.0 to server 5.1.  I
already had the mysql 5.1 and the fetch of 5.0 was failing.

After the compile, the packager tried to make install, which failed.
However, I was able to copy:

libfreetype-6.dll
libmyth-0.21.dll
libmythavcodec-0.21.dll
libmythavformat-0.21.dll
libmythavutil-0.21.dll
libmythfreemheg-0.21.dll
libmythtv-0.21.dll
libmythui-0.21.dll
libmythupnp-0.21.dll
libqsqlmysql.dll
libqt-mt3.dll
mingwm10.dll
pthreadGC2.dll
qsqlmysql4.dll
qsqlmysqld4.dll

into the programs/mythfrontend directory and get mythfrontend.exe to
launch.  Immediately after launch, it GPFs.  The output in the terminal
window immediately before the blow up is:

2009-05-26 21:05:56.328 Relative PREFIX! (..)
                appDir=C:/mythtv/mythtv/programs/mythfrontend
2009-05-26 21:05:56.328 Using runtime prefix = C:/mythtv/mythtv/programs
2009-05-26 21:05:56.328 QMulticastSocket: setsockopt - IP_ADD_MEMBERSHIP
Error
2009-05-26 21:05:56.343 QMulticastSocket: setsockopt - IP_ADD_MEMBERSHIP
Error
2009-05-26 21:05:56.343 Empty LocalHostName.
2009-05-26 21:05:56.343 Using localhost value of gamebox
2009-05-26 21:05:56.343 Testing network connectivity to 192.168.1.109
2009-05-26 21:05:56.437 QMulticastSocket: setsockopt - IP_ADD_MEMBERSHIP
Error
QSqlDatabase: QMYSQL3 driver not loaded
QSqlDatabase: available drivers:
2009-05-26 21:05:59.343 New DB connection, total: 1
2009-05-26 21:05:59.343 Unable to connect to database!
2009-05-26 21:05:59.343 No error type from QSqlError?  Strange...
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2009-05-26 21:05:59.390 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError?  Strange...


So, my current theories are either:

1) The fact that I had MingGW QT4 and MingQW QT3 was an issue
2) The fact that I went after MySQL 5.1 instead of MySQL 5.0 was an issue.
3) Something I haven't figured out.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-dev/attachments/20090526/d19c6624/attachment.htm>


More information about the mythtv-dev mailing list