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

buzz davidbuzz at gmail.com
Tue Jan 1 23:35:06 UTC 2008


Thanks for your feedback Simon!
I've corrected all the issues you identified, and some others, and will be
uploading the newer version of it in a few minutes. (check here in 5
minutes: http://svn.mythtv.org/trac/ticket/4397 )
So far, I've had mostly typos/spelling errors (sorry), but I've added SVN
checkout/update code for mythtv code too:

* for some reason the sourceforge server 'intermap' is/was timing out last
night (I hit that problem too), so I changed all the servers like you did,
and added it as a declaration near the top of the script , so you can pick
one you like. ( to be closer to where you are, hopefully).
* In a number of places, I saved downloaded files as a .tar.gz instead of a
.tar.bz2 (oops) - may cause grief with "unknown gzip format"
* I put $msys or $sources variables inside single quited strings (derh!)  -
in a couple of places.
* I had some folder names blatently incorrect ( trying to save to a folder
that is possibly non-existant at that time) eg: qt tries to extract to a
folder that doesn't exist yet.
* for your fix, I did just this tiny change (note the extra slash), avoiding
adding them all over the rest of the script:
from: $t =~ s#^$msys##i;
  to:  $t =~ s#^$msys#/#i;
* I've added the ability to get/update mythtv code via SVN.

let's call this next one: alpha-release-2

Buzz


On Jan 2, 2008 5:43 AM, Simon Kenyon <simon at koala.ie> wrote:

> Simon Kenyon wrote:
> > buzz wrote:
> >  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
> >
>
> fixed it by removing the / at the end of the msys variable and adding
> appropriate /'s where required in the script
>
> also found another problemette.
>
> their is a typo in line #118
> the extensions for bash-3.1-MSYS-1.0.11.tar.bz2 don't line up
> their was a gz by mistake.
>  --
> simon
>
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-dev/attachments/20080102/b04673fb/attachment.htm 


More information about the mythtv-dev mailing list