wobbly Tux's lil' helper
Joined: 23 Apr 2003 Posts: 146
|
Posted: Tue Apr 08, 2008 4:35 pm Post subject: HOWTO install Cell SDK 3.0 on gentoo |
|
|
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
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
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
|
|
|