[mythtv] Errors in win32 build script
Don Kitchen
don at n2.net
Thu Apr 1 17:30:42 UTC 2010
I am trying to build a win32 version of myth 0.21 (prebuilt binaries aren't
working for me) I retrieved the perl build script out of svn and found it
quit building at a number of points. Here are several corrections. Many
sourcefiles have changed locations, given are new locations where I
happened to find the files. I would appreciate it if someone with commit
access to 0.21-fixes branch would make whatever fixes they can.
unz552xN.exe from
ftp://tug.ctan.org/tex-archive/tools/zip/info-zip/WIN32/unz552xN.exe
to
ftp://ftp.info-zip.org/pub/infozip/win32/unz552xn.exe
mysql-essential-5.0.45-win32.msi from
http://mirror.services.wisc.edu/mysql/Downloads/MySQL-5.0/mysql-essential-5.0.45-win32.msi
to
ftp://ftp.ntut.edu.tw/MySQL/Downloads/MySQL-5.0/mysql-essential-5.0.45-win32.msi
DX9SDK_dsound_Include_subset.zip from
http://davidbuzz.googlepages.com/DX9SDK_dsound_Include_subset.zip
to
https://sites.google.com/site/davidbuzz/mythtv-files/DX9SDK_dsound_Include_subset.zip?attredirects=0&d=1
fftw-3.1.2.tar.gz from
http://www.fftw.org/fftw-3.1.2.tar.gz
to
ftp://ftp.fftw.org/pub/fftw/old/fftw-3.1.2.tar.gz
Then there are a couple of errors in the build process itself. The ones I
were able to remedy and continue are as follows:
1. The mysql.h patch doesn't get applied. I made changes manually.
2. at the point of building freetype, MinGW(gcc) can't be found. One
solution is to copy c:\MinGW directory to under MSys.
3. After freetype is built, MinGW can't find libfreetype.a. I copied.
4. During the build of QT, src/kernel/qsound_win.cpp can't find qsound_win.moc.
This is a known problem that is discussed on the wiki. The fix works.
However, there is one problem I have not yet been able to get past...
During the compile of qt, the undefined references to mysql_errno. This is
specifically mentioned in the wiki page. However the mysql.h patch (if it
was the same one) doesn't resolve the problem as claimed. There's reference
to the 'reimp' section, but msys says it's not there, and mingw-utils package
doesn't have it. So I'm not really sure what to do to finish building.
Thanks
More information about the mythtv-dev
mailing list