[mythtv] [RFC] MythMusic: use libcdio to play & rip CDs (Win32 & MacOSX too)

Lawrence Rust lvr at softsystem.co.uk
Wed Dec 1 16:20:02 UTC 2010


On Wed, 2010-12-01 at 16:40 +0100, Jonathan Martens wrote:
> On 1-12-2010 15:20, Lawrence Rust wrote:
> > Good news.  I am currently attempting the build on a clean XP SP3 system
> > using VirtualBox and the current trunk head (r27402).  It gets as far as
> > building FFmpeg and then mingw segfaults:
> >
> > CC      libswscale/rgb2rgb.o
> > In file included from libswscale/rgb2rgb.c:185:
> > libswscale/rgb2rgb_template.c: In function 'rgb24toyv12_3DNOW':
> > libswscale/rgb2rgb_template.c:1998: internal compiler error:
> > Segmentation fault
> > Please submit a full bug report,
> > with preprocessed source if appropriate.
> > See<http://gcc.gnu.org/bugs.html>  for instructions.
> >
> > Any idea?
> 
> Yes, in the past flac was build like this, that is one addition that was 
> already in my local tree, I forgot it might have been needed in your 
> case, see attached patch.

OK, simple fix, open an Msys box, cd mythtv && make.  Magically it
builds rgb2rgb.c but falls over on linking libswscale.  Then re-start
the installer script and it built everything.  Looks like there's some
kind of environment difference.

> [snip]
> 
> > Thanks, applied it and tried it with results noted above.  I also added
> > this:
> >
> > @@ -760,6 +760,30 @@
> >                 "make install"],
> >     comment =>  'building and installing: msys libvorbis' ],
> >
> > +# confirmed latest source version as at 01-12-2010:
> > +[ archive =>  $sources.'flac-1.2.1.tar.gz',
> > +  fetch   =>
> > 'http://mesh.dl.sourceforge.net/project/flac/flac-src/flac-1.2.1-src/flac-1.2.1.tar.gz'],
> > +[ dir     =>  $sources.'flac-1.2.1',
> > +  extract =>  $sources.'flac-1.2.1.tar' ],
> > +[ file    =>  $msys.'lib/libFLAC.a',
> > +  shell   =>  ["cd $unixsources/flac-1.2.1",
> > +              "./configure --prefix=/usr",
> > +              "make",
> > +              "make install"],
> > +  comment =>  'building and installing: msys libFLAC' ],
> >
> > to build libFLAC which is needed by mythmusic.  I also found that the
> > installed \bin\taglib-config has an error:
> 
> Yes, thanks for reminding me of that, please use attached patch for flac.

Thanks, applied.

> > -prefix=/usr/local
> > +prefix=/usr
> 
> Can't that be fixed by simply adding --prefix=/usr to the ./configure 
> statement, that is what I have in my local changes:

That would be preferable but unfortunately the script downloads a
pre-built taglib.  The comments are that cmake is needed to build from
source.  I don't believe this as I have just x-compiled 1.6.3 with only
make.

> [ archive => $sources.'taglib-1.6.3.tar.gz',

-- Lawrence




More information about the mythtv-dev mailing list