Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
HOWTO install Cell SDK 3.0 on gentoo
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
wobbly
Tux's lil' helper
Tux's lil' helper


Joined: 23 Apr 2003
Posts: 146

PostPosted: Tue Apr 08, 2008 4:35 pm    Post subject: HOWTO install Cell SDK 3.0 on gentoo Reply with quote

The following is how I got the Cell SDK 3.0 to install on my gentoo x86 box. All I know as of now is that the simulator comes up. I haven't tried to run anything. Also, I can't vouch for my system stability yet. I'm not sure if there will be issues. Time will tell.

YMMV. Please post back here with successes and failures.

These instructions are modified from http://www.kunxi.org/archives/2007/04/howto-install-cell-environment-in-gentoo/ with current files, etc.

======================================================================================================================================

Get dependencies if you don't have them (from http://www.kunxi.org/archives/2007/04/howto-install-cell-environment-in-gentoo/ I can't vouch for the necessity)
Code:

emerge glut libXmu libXext


Get needed tools
Code:

emerge rpm rpm2tar


Get the iso's from ibm by registering here http://www.ibm.com/developerworks/power/cell/downloads.html?S_TACT=105AGX16&S_CMP=LP

The files as of 4/7/2008:
Code:

CellSDK-Devel-Fedora_3.0.0.1.0.iso
CellSDK-Extras-Fedora_3.0.0.1.0.iso


For the following to work, loop device support needs to be in your kernel, and you need to be root. Also, change occurrences of "x86" to your platform as needed.

Code:

mkdir /root/CellSDK/unpack
cd /root/CellSDK/unpack
mkdir /mnt/loop
mount -o loop /root/CellSDK/CellSDK-Devel-Fedora_3.0.0.1.0.iso /mnt/loop
for x in /mnt/loop/x86/*.rpm
do
        rpm2tar $x
done
umount /mnt/loop
mount -o loop /root/CellSDK/CellSDK-Extras-Fedora_3.0.0.1.0.iso /mnt/loop/
do
        rpm2tar $x
done
umount /mnt/loop

cd ../
mkdir rpms
cd rpms


Then download files from www.bsc.es. You can make the following a script and execute with
Code:

sh getCellSDKrpms


getCellSDKrpms:
Code:

wget -c http://www.bsc.es/projects/deepcomputing/linuxoncell/cellsimulator/sdk3.0/CellSDK-Open-Fedora/x86/libspe2-cross-devel-2.2.0-91.noarch.rpm
wget -c http://www.bsc.es/projects/deepcomputing/linuxoncell/cellsimulator/sdk3.0/CellSDK-Open-Fedora/x86/netpbm-cross-devel-10.35-12.fc7.noarch.rpm
wget -c http://www.bsc.es/projects/deepcomputing/linuxoncell/cellsimulator/sdk3.0/CellSDK-Open-Fedora/x86/numactl-0.9.10-1.i686.rpm
wget -c http://www.bsc.es/projects/deepcomputing/linuxoncell/cellsimulator/sdk3.0/CellSDK-Open-Fedora/x86/numactl-cross-devel-0.9.10-1.noarch.rpm
wget -c http://www.bsc.es/projects/deepcomputing/linuxoncell/cellsimulator/sdk3.0/CellSDK-Open-Fedora/x86/ppu-binutils-2.17.50-32.i686.rpm
wget -c http://www.bsc.es/projects/deepcomputing/linuxoncell/cellsimulator/sdk3.0/CellSDK-Open-Fedora/x86/ppu-binutils-debuginfo-2.17.50-32.i686.rpm
wget -c http://www.bsc.es/projects/deepcomputing/linuxoncell/cellsimulator/sdk3.0/CellSDK-Open-Fedora/x86/ppu-gcc-4.1.1-57.i686.rpm
wget -c http://www.bsc.es/projects/deepcomputing/linuxoncell/cellsimulator/sdk3.0/CellSDK-Open-Fedora/x86/ppu-gcc-c++-4.1.1-57.i686.rpm
wget -c http://www.bsc.es/projects/deepcomputing/linuxoncell/cellsimulator/sdk3.0/CellSDK-Open-Fedora/x86/ppu-gcc-debuginfo-4.1.1-57.i686.rpm
wget -c http://www.bsc.es/projects/deepcomputing/linuxoncell/cellsimulator/sdk3.0/CellSDK-Open-Fedora/x86/ppu-gcc-fortran-4.1.1-57.i686.rpm
wget -c http://www.bsc.es/projects/deepcomputing/linuxoncell/cellsimulator/sdk3.0/CellSDK-Open-Fedora/x86/ppu-gcc-gnat-4.1.1-57.i686.rpm
wget -c http://www.bsc.es/projects/deepcomputing/linuxoncell/cellsimulator/sdk3.0/CellSDK-Open-Fedora/x86/ppu-gdb-6.6.50-28.i686.rpm
wget -c http://www.bsc.es/projects/deepcomputing/linuxoncell/cellsimulator/sdk3.0/CellSDK-Open-Fedora/x86/ppu-gdb-debuginfo-6.6.50-28.i686.rpm
wget -c http://www.bsc.es/projects/deepcomputing/linuxoncell/cellsimulator/sdk3.0/CellSDK-Open-Fedora/x86/ppu-sysroot-f7-2.noarch.rpm
wget -c http://www.bsc.es/projects/deepcomputing/linuxoncell/cellsimulator/sdk3.0/CellSDK-Open-Fedora/x86/ppu-sysroot64-f7-2.noarch.rpm
wget -c http://www.bsc.es/projects/deepcomputing/linuxoncell/cellsimulator/sdk3.0/CellSDK-Open-Fedora/x86/spu-binutils-2.17.50-33.i686.rpm
wget -c http://www.bsc.es/projects/deepcomputing/linuxoncell/cellsimulator/sdk3.0/CellSDK-Open-Fedora/x86/spu-binutils-debuginfo-2.17.50-33.i686.rpm
wget -c http://www.bsc.es/projects/deepcomputing/linuxoncell/cellsimulator/sdk3.0/CellSDK-Open-Fedora/x86/spu-gcc-4.1.1-107.i686.rpm
wget -c http://www.bsc.es/projects/deepcomputing/linuxoncell/cellsimulator/sdk3.0/CellSDK-Open-Fedora/x86/spu-gcc-c++-4.1.1-107.i686.rpm
wget -c http://www.bsc.es/projects/deepcomputing/linuxoncell/cellsimulator/sdk3.0/CellSDK-Open-Fedora/x86/spu-gcc-debuginfo-4.1.1-107.i686.rpm
wget -c http://www.bsc.es/projects/deepcomputing/linuxoncell/cellsimulator/sdk3.0/CellSDK-Open-Fedora/x86/spu-gcc-fortran-4.1.1-107.i686.rpm
wget -c http://www.bsc.es/projects/deepcomputing/linuxoncell/cellsimulator/sdk3.0/CellSDK-Open-Fedora/x86/spu-gdb-6.6.50-12.i686.rpm
wget -c http://www.bsc.es/projects/deepcomputing/linuxoncell/cellsimulator/sdk3.0/CellSDK-Open-Fedora/x86/spu-gdb-debuginfo-6.6.50-12.i686.rpm
wget -c http://www.bsc.es/projects/deepcomputing/linuxoncell/cellsimulator/sdk3.0/CellSDK-Open-Fedora/x86/spu-newlib-1.15.0-82.i686.rpm
wget -c http://www.bsc.es/projects/deepcomputing/linuxoncell/cellsimulator/sdk3.0/CellSDK-Open-Fedora/x86/spu-newlib-debuginfo-1.15.0-82.i686.rpm
wget -c http://www.bsc.es/projects/deepcomputing/linuxoncell/cellsimulator/sdk3.0/CellSDK-Open-Fedora/x86/sysroot_image-3.0-7.noarch.rpm


Unpack the files from www.bsc.es
Code:

cd ../unpack
for x in /root/CellSDK/rpms/*.rpm
do
        rpm2tar $x
done


Now switch to / and install the files
Code:

cd /
BUILDDIR=`pwd` #from http://www.kunxi.org/archives/2007/04/howto-install-cell-environment-in-gentoo/, I'm not sure if this is needed
for x in /root/CellSDK/unpack/*.tar
do
   tar xvf $x
done


For users to be able to run:
Code:

cd /opt/ibm/systemsim-cell/run/cell
chown root.users linux/
chmod g+rwX linux/


Then to run as a user:
Code:

cd /opt/ibm/systemsim-cell/run/cell/linux/
../run_gui
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
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
You cannot vote in polls in this forum