[mythtv] [RFC v2] New Win32 build script

Lawrence Rust lvr at softsystem.co.uk
Fri Jan 21 09:23:18 UTC 2011


On Thu, 2011-01-20 at 23:14 -0800, Dan Wilson wrote:
> On 01/20/2011 01:37 PM, Lawrence Rust wrote:
> > I checked this on a clean Fedora 14,32-bit install on VirtualBox and it
> > appears that it's down to mingw g++ not being installed.  I've now added
> > an explicit check for that in the script.  To clarify, on a clean system
> > you need these additional packages:
> >
> > yum install gcc.i686 gcc-c++.i686 mingw32-gcc.i686 mingw32-gcc-g++.i686 wget patch git-core
> >
> > How times have changed, until now I had assumed that all Linux distros
> > had a c/c++ compiler by default.
> >
> I have all of those packages installed except for g++, and I can't find 
> it via yum:

Apologies, I wasn't totally clear.  [prefix-]g++ and [prefix-]c++ are
aliased to the program but are found in the mingw32-gcc-g++.i686 package
listed above.  So you have it installed.

> $ sudo yum search mingw | grep gcc
> mingw32-gcc.i686 : MinGW Windows cross-compiler (GCC) for C
> mingw32-gcc-c++.i686 : MinGW Windows cross-compiler for C++

The above package is the C++ compiler.

[snip]
> So I went to a fedora mirror site (mirrors.kernel.org) and searched - 
> and can't find that package there either.  Do you know where you found it?

On my VirtualBox installation of Fedora 14 I see:

$ yum list *gcc*
...
Installed Packages
gcc.i686                        4.5.1-4.fc14                 @fedora            
gcc-c++.i686                    4.5.1-4.fc14                 @fedora            
libgcc.i686                     4.5.1-4.fc14                 @fedora/$releasever
mingw32-gcc.i686                4.5.0-1.fc14                 @fedora            
mingw32-gcc-c++.i686            4.5.0-1.fc14                 @fedora            
Available Packages
...


> FYI, I successfully built a windows installer on ubuntu and installed 
> mythfrontend onto a windows PC.

Good news.

>  It came up and connected to the backend, 
> looked great - but segfaulted as soon as I tried to watch a recorded 
> program. I haven't had time to look further into that.

This isn't uncommon if you don't explicitly set some important
configuration settings to sensible values e.g. Audio and TV playback
profile.  It shouldn't happen, so a gdb backtrace would be useful.

Is this on branch master?  Various recent changes have added to Windows
instabilities.  It would be nice to get these ironed out.  The
fixes/0.24 branch works OK on most Windows systems I have tried.

Thanks for your feedback.

-- Lawrence




More information about the mythtv-dev mailing list