[mythtv] Compiling trunk under OS X 10.6 (Snow Leopard)

Nigel Pearson nigel at ind.tansu.com.au
Tue Oct 27 06:37:26 UTC 2009

> That explains why your results are different from mine but not why  
> your build is failing.

I purged .osx-packager/build/include more thoroughly,
and got past Qt. Now up to the libavcodec build errors.
This change (basically reverting [20843], adding back
some earlier MMX )
may get you further:

Index: libs/libavcodec/libavcodec.pro
--- libs/libavcodec/libavcodec.pro	(revision 22605)
+++ libs/libavcodec/libavcodec.pro	(working copy)
@@ -665,6 +665,9 @@

  macx {
      QMAKE_LFLAGS_SHLIB += -read_only_relocs warning
+    # Prevent GCC running out of registers in libavcodec/*/*_mmx.c
+    contains( HAVE_MMX, yes ) : QMAKE_CFLAGS += -mdynamic-no-pic

> I don't know if I'll ever come up with anything useful on that  
> assembler failure but in general would you like to make the packager  
> build things universal or move to specific settings for 64 bit snow  
> leopard?

Universal, but if that isn't possible, new arguments
to osx-packager to specify ppc/32bit/64bit.

Ideally, configure would test all of this for us, but it is
probably a bit hard when Qt might never support both 32 & 64bit
builds from the one "install" of its libraries and headers.

Nigel Pearson, nigel at ind.tansu.com.au|"Gentlemen!              |
Telstra Net. Eng., Sydney, Australia | You can't fight in here-|
Office: 9202 3900    Fax:  9212 6348 |   this is the war room!"|
Mobile: 0408 664435  Home: 9792 6998 |     Dr Strangelove      |

More information about the mythtv-dev mailing list