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

Simon Kenyon simon at koala.ie
Tue Jan 1 19:25:20 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.
on line 573 you strip off the msys prefix with

$t =~ s#^$msys##i;

and then later on

$cmd = "chdir $d2 && $msys/bin/tar.exe -jxvpf $t";

but this generates an error:

cmd:cddir C:\\MinGW\\ && C:/msys/1.0//bin/tar.exe -zxvph 
sources/mingw-utils-0.3.tar.gz

not the missing / on the file passed to tar
it then gets a file not found error

regards
--
simon



More information about the mythtv-dev mailing list