[mythtv] [RFC v2] New Win32 build script

Dan Wilson dwilson at solidstatesoftware.com
Fri Feb 11 16:13:43 UTC 2011


On 02/11/2011 02:49 AM, Lawrence Rust wrote:
> Thanks for pointing this out. Looks like mysql-noinstall-5.0.89-win32
> has been pulled from all mysql mirrors.  It may be a mistake but it
> could be a push to move on.  The current release is 5.5.9 and the only
> previous release available on the website is 5.1.55.
>

Actually, I found 5.0.89 on mysql website in the "archives". 
Nonetheless, I agree with you, we should move to a newer version.
> So I have updated the script:
> http://www.softsystem.co.uk/download/mythtv/mythbuild-CURRENT.zip
>
> with the new URL for 5.1.55 and updated the patches for the new version
> of mysql.h.  Consequently you will need to grab the latest patches and
> rebuild Qt, which depends on the version of mysql.  Simplest way is to
> do a clean build:
> ./mythbuild.sh -C
>
> which will clean out mythinstall and mythbuild but keep any downloaded
> archives (apart from the patches).
>
> This is also a big hint that the libs should be hosted on
> mythtv-for-windows.googlecode.com ASAP.
>

Indeed.

Running the (previous, not the newest script that uses 5.1.55) script, I 
see an error during myth compilation:

ccache i686-pc-mingw32-gcc -c -pipe -D_ISOC99_SOURCE 
-D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE 
-I/home/dwilson/mythbuildw32/mythinstall/include -std=c99 -fno-common 
-fomit-frame-pointer -g -Wall -Wno-parentheses -Wno-switch 
-Wdisabled-optimization -Wpointer-arith -Wredundant-decls 
-Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef 
-Wmissing-prototypes -O3 -fno-math-errno -fno-signed-zeros 
-fno-tree-vectorize -Wno-missing-prototypes -DQT_LARGEFILE_SUPPORT 
-DWIN32 -DUSING_MINGW -DMMX -Di386 -D_GNU_SOURCE 
-I'../../../../mythinstall/include' -I'../../../../mythinstall' 
-I'../../libs/libmythtv' -I'../../libs/libmythdb' 
-I'../../external/FFmpeg' -I'../../libs/libmythtv' 
-I'../../../../mythinstall/mkspecs/win32-g++linux' -o filter_force.o 
filter_force.c
In file included from ../../libs/libmythtv/filter.h:12:0,
                  from filter_force.c:6:
../../libs/libmythtv/frame.h:43:5: error: expected 
specifier-qualifier-list before 'int64_t'
make[2]: *** [filter_force.o] Error 1



More information about the mythtv-dev mailing list