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

Jonathan Martens jonathan at snetram.nl
Wed Dec 1 15:40:10 UTC 2010


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.


[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.

> -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:

[ archive => $sources.'taglib-1.6.3.tar.gz',
   fetch   => 
'http://developer.kde.org/~wheeler/files/src/taglib-1.6.3.tar.gz'],
[ dir     => $sources.'taglib-1.6.3',
   extract => $sources.'taglib-1.6.3.tar' ],

[ file    => $msys.'lib/libtag.dll.a',
   shell  => ["cd $unixsources/taglib-1.6.3",
              "./configure --prefix=/usr",
              "make",
              "make install"],
   comment => 'building and installing: msys TagLib' ],

Kind regards,

Jonathan
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: win32-packager.pl-flac.patch
URL: <http://mythtv.org/pipermail/mythtv-dev/attachments/20101201/01f56b03/attachment.txt>


More information about the mythtv-dev mailing list