← Back to team overview

mythbuntu-bugs team mailing list archive

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

 

** Changed in: mythtv (Ubuntu)
       Status: Triaged => Fix Committed

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

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