PlaneShift

Support => Linux Specific Issues => Topic started by: kleodes on January 13, 2007, 12:10:58 am

Title: how do i install in a Ubuntu Powerpc?
Post by: kleodes on January 13, 2007, 12:10:58 am
Hi, I recently had to install Ubuntu on a PowerBook G4 15-inch and I was wondering if I can install Planeshift with the installer o if the configure script would be able to compile ithe source correctly for this architecture.

Thanks.
Title: Re: how do i install in a Ubuntu Powerpc?
Post by: miadon on January 13, 2007, 12:14:57 am
the linux binary is not for ppc you have to compile from source.
Title: Re: how do i install in a Ubuntu Powerpc?
Post by: josephoenix on January 13, 2007, 12:19:16 am
The compiled linux binary won't run on linux/ppc. You could try the native macosx version, if you have mac os installed.
As far as I know, nobody has compiled on linux/ppc (at least not recently)

In theory it should work with similar instructions to http://vaalnor.mine.nu/psdoc/?q=node/34 but you should make sure that those /etc/apt/sources.list lines will work with ppc linux (Induane in #planeshift-build or someone in #ubuntu-ppc on irc.freenode.net may know)

If you're averse to compiling, this might be worth a try but it seems quite out of date: http://www.maconlinux.org/

Edit: I suppose I should add that nobody I know in #planeshift-build has linux on ppc installed, so it may be hard to get help if something goes wrong.

josePhoenix
Title: Re: how do i install in a Ubuntu Powerpc?
Post by: kleodes on January 13, 2007, 01:49:24 pm
Unfortunately I can't ge Mac OS to install on the machine, it says the HD has reported a terrible error and won't let me do anything. But Ubuntu recognised the HD and formatted it and everything...

I'll give a try at compiling... maybe, or maconlinux. Thanks.
Title: Re: how do i install in a Ubuntu Powerpc?
Post by: Jannis on January 14, 2007, 06:20:03 pm
If you don't get the compiling stuff done, you *could* try to cross-compile on another linux-machine for a PPC-arch and use the binary on your MacBook
Title: Re: how do i install in a Ubuntu Powerpc?
Post by: Ewelan on January 15, 2007, 01:12:04 am
[Just get the sources and compile.  It shouldn't be too hard, as the process is similar to other architectures.]

[No IC contents in this post.]
Title: Re: how do i install in a Ubuntu Powerpc?
Post by: Induane on January 15, 2007, 06:01:17 am
Actually the sources.list file in my ubuntu guide should work.  Apt detects architecture and connects to the ppc x86 64 etc folder in each repository.  A few people have now confirmed my guides work for PPC.  Basically though if you're worried about my sources.list file, just open your sources.list file and enable universe and multiverse repositories.

sudo gedit /etc/apt/sources.list

remove the ## from the beginnings of all lines that start with "deb"

Then follow my guide as usual.  One word of caution. read the instructions!! when it comes to downloading the nvidia toolkit download it manually! do NOT download the x86 one - it will cause problems.
Title: Re: how do i install in a Ubuntu Powerpc?
Post by: Ewelan on January 15, 2007, 03:30:22 pm
[Compiling should always work, but if there is a(n official) binary for the PPC,  I guess its fine to use that, as long as you trust the source.]
[No IC contents]