[mythtv] Fwd: Ticket #4397: win32 dependancy resolver and build script

Simon Kenyon simon at koala.ie
Tue Jan 1 14:48:00 UTC 2008


buzz wrote:
> FYI - for those not on the -commits list, I just updated the win32 
> build script again...
>  
> see: http://svn.mythtv.org/trac/ticket/4397
>  
>  version 4 of the script ( win32-packager4.zip ) now has the following
>  additions:
>  * builds QT, including necessary patches ( which are downloaded
>  automatically)
>  * attempt to build mythtv, including necessary patches (delete
>  c:\mythtv\no_build.txt and re-execute this script to re-try building the
>  myth source code)
>  * [write] keyword supports writing config/shell/text/patch files on-the-
>  fly, allowing the environment and utility tools to be created and used.
>  * more , and clearer commenting
>  * build macro's now follow along in the same order as the
>  http://www.mythtv.org/wiki/index.php/Windows_Port 
> <http://www.mythtv.org/wiki/index.php/Windows_Port> wiki page (which 
> is the
>  definitive instruction set still)
>  making it easier to see differences in logic between the two
>  * supports actions that need to occur everytime the script is executed,
>  irrespective of dependancies (ie always-trigger actions)
>  * creates batch script for building QT (and uses it)
>  * creates shell script/s for building mythtv (and uses it)
>  * patches the mysql.h file automatically according to requirements.
>  * other stuff of less significance.
>
>  Apart from the requirement to download/update the mythtv SVN code
>  automatically ( shouldn't be hard), this build script SHOULD be an almost
>  complete run-and-wait-a-few-hours methodology for getting a win32
>  developer build off the ground.
>
>  I'd consider this code now alpha, testers welcome...but expect bugs.
>
>  Next version will allow a "virgin" Win32 PC to get everything it needs
>  automatically, and will be more thoroughly tested.
>
> Ticket URL: <http://svn.mythtv.org/trac/ticket/4397
>
> Buzz.
just tried the script.
for whatever reason the download of the MSYS release hung.
so i went into the script and replaced all the "random" sf sites with 
the one closest to me.
maybe make that a tunable parameter at the top of the script.
anyway, restarted it and it picks up where it left off (good).

problems:

mingw postinstall script fails because of this stuff about cygwin.
the update needs to be applied and the script reexecuted.

mysys install seemed to fail and then the cmd window disappears
ran from a command window and the message was "EFFECT FAILED: 
file,C::/MinGW/bin/g77.exe,exec

not sure why it is trying to:

a) install mingw twice
b) install G77

will continue to try to get through this
--
simon



More information about the mythtv-dev mailing list