← Back to team overview

mythbuntu-bugs team mailing list archive

[Bug 559614] Re: mythtv fails to build on powerpc under lucid

 

This fix prevents MythTV from running on any PowerPC without AltiVec
support.  This includes Macintosh G3's, which are supported by the
Ubuntu PowerPC port.

For better PowerPC coverage I would suggest this fix instead:

diff rules.orig rules
47c47
< CONFIGURE_OPTS += --enable-altivec
---
> CONFIGURE_OPTS += --disable-altivec

Alternatively a runtime test for AltiVec capabilty and dynamic loading
of AltiVec specific modules.

-- 
mythtv fails to build on powerpc under lucid
https://bugs.launchpad.net/bugs/559614
You received this bug notification because you are a member of Mythbuntu
Bug Team, which is subscribed to mythtv in ubuntu.

Status in “mythtv” package in Ubuntu: Fix Released

Bug description:
Binary package hint: mythtv

When trying to compile mythtv from the source package mythtv_0.23.0+fixes23820 under powerpc, I get the following error:

In file included from yuv2rgb.cpp:44:
/usr/lib/gcc/powerpc-linux-gnu/4.4.3/include/altivec.h:34:2: error: #error Use the "-maltivec" flag to enable PowerPC AltiVec support

To fix this I updated the debian/rules file with cxx option "-maltivec", as per:

diff rules.orig rules
47c47
<     CONFIGURE_OPTS += --enable-altivec
---
>     CONFIGURE_OPTS += --enable-altivec --extra-cxxflags="-maltivec"

After this fix mythtv builds cleanly under powerpc





References