Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Other Things Gentoo
  • Search

HOWTO install Cell SDK 3.0 on gentoo

Still need help with Gentoo, and your question doesn't fit in the above forums? Here is your last bastion of hope.
Post Reply
Advanced search
1 post • Page 1 of 1
Author
Message
wobbly
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 146
Joined: Wed Apr 23, 2003 8:21 pm

HOWTO install Cell SDK 3.0 on gentoo

  • Quote

Post by wobbly » Tue Apr 08, 2008 4:35 pm

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/h ... in-gentoo/ with current files, etc.

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

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

Code: Select all

emerge glut libXmu libXext
Get needed tools

Code: Select all

emerge rpm rpm2tar
Get the iso's from ibm by registering here http://www.ibm.com/developerworks/power ... 6&S_CMP=LP

The files as of 4/7/2008:

Code: Select all

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: Select all

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: Select all

sh getCellSDKrpms
getCellSDKrpms:

Code: Select all

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: Select all

cd ../unpack
for x in /root/CellSDK/rpms/*.rpm
do
        rpm2tar $x
done
Now switch to / and install the files

Code: Select all

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: Select all

cd /opt/ibm/systemsim-cell/run/cell
chown root.users linux/
chmod g+rwX linux/
Then to run as a user:

Code: Select all

cd /opt/ibm/systemsim-cell/run/cell/linux/
../run_gui
Top
Post Reply
1 post • Page 1 of 1

Return to “Other Things Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy