All times are UTC-06:00




Post new topic  Reply to topic  [ 1 post ] 
Author Message
PostPosted: Fri Feb 04, 2005 5:09 pm 
Offline

Joined: Fri Feb 04, 2005 4:36 pm
Posts: 14
After much effort I've managed to get the latest CVS version of MythTV to compile on my Pegasos II. I'm running Debian Sarge and used gcc 3.5.5 for the builds.

There is still a bit of work done to polish it all off, like getting mplayer installed. But generally completing the following should work.

$ mkdir mythtv
$ cd mythtv
$ cvs -d :pserver:mythtv@cvs.mythtv.org:/var/lib/mythcvs login
Logging in to :pserver:mythtv@cvs.mythtv.org:/var/lib/mythcvs
CVS password: mythtv
$ cvs -z3 -d :pserver:mythtv@cvs.mythtv.org:/var/lib/mythcvs checkout mythtv

(as stated in the documentation, you can replace mythtv during cvs checkout with some of the other modules, ie mythgame, mythvideo etc, and follow the rest of the procedure)

Once you have the source code down, you will need to modify the settings.pro file for the build to succeed.

1) Open settings.pro and where the is a line that states the following

-march=pentiumpro -fomit-frame-pointer

replace this with

-mcpu=7450 -fomit-frame-pointer -mabi=altivec -maltivec


I've assumed a G4 here, so it is possible that gcc builds in altivec stuff anyhow :) If you are running a pegI/II with a G3 you might want to spec a different cpu type.

2) Locate any source files that have the following

<Accelerate/Accelerate.h>

replace this with

<altivec.h>


Once you have made changes to the two files that currently have this header file included you can follow the build process documented on the mythtv website like so;

qmake mythtv.pro
make
make install


I also had to add the following to line to /etc/ld.so.conf (you may or may not have this line)

/usr/local/lib/


This should compile fine now, but there are a large number of dependencies on getting mythtv to fully function, such as

mysql, lirc, mame, mplayer etc....


What we really need now, is to get the mythtv devs to correct the oversight that there may actually be people that run linux on PPC. The source code seems to assume that all ppc developers are using macosx or darwin.

Failing that it should be straight forward to make a patch we can apply.

If anyone is able to assist in creating regular debian packages then that would be great also.

re

Francois






:)


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 1 post ] 

All times are UTC-06:00


Who is online

Users browsing this forum: No registered users and 16 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
PowerDeveloper.org: Copyright © 2004-2012, Genesi USA, Inc. The Power Architecture and Power.org wordmarks and the Power and Power.org logos and related marks are trademarks and service marks licensed by Power.org.
All other names and trademarks used are property of their respective owners. Privacy Policy
Powered by phpBB® Forum Software © phpBB Group