Installing Cell SDK 2.0 on Debian etch (x86)
Warning: Technical stuff ahead.
Yesterday I have installed IBM Cell SDK 2.0 on Debian etch RC1 (x86). I followed the steps outlined in Daniel's page loosely (Daniel's page is for installing SDK v1.1).
- Download SDK v2.0
- Download additional RPMs from BSC:
ppu-binutils-3.3-72.i686.rpm
ppu-gcc-3.3-72.i686.rpm
ppu-gcc-c++-3.3-72.i686.rpm
ppu-gdb-3.3-72.i686.rpm
ppu-sysroot-3.3-6.noarch.rpm
ppu-sysroot64-3.3-6.noarch.rpm
spu-binutils-3.3-72.i686.rpm
spu-gcc-3.3-72.i686.rpm
spu-gcc-c++-3.3-72.i686.rpm
spu-gdb-3.3-72.i686.rpm
spu-newlib-3.3-72.i686.rpm
sysroot_image-2.0-7.noarch.rpm
- mount the iso image (CellSDK20.iso): mount -o loop CellSDK20.iso /directory/for/mounted/image.
- Copy the RPMs from the mounted image (/directory/for/mounted/image/software/):
cell-alf-2.0-3.noarch.rpm
cell-sdk-lib-samples-2.0-5.noarch.rpm
cell-spu-timing-2.0-3.i686.rpm
systemsim-cell-2.0-12.i386.rpm
xlc.cmp-8.1.0-12.i386.rpm
xlc.lib-8.1.0-12.i386.rpm
xlcpp.cmp-8.1.0-12.i386.rpm
xlcpp.help-8.1.0-12.i386.rpm
xlcpp.lib-8.1.0-12.i386.rpm
- (Optional) Copy the contents of the mounted image to another location for future access: cp -R /directory/for/mounted/image/ /directory/for/future/access/.
- Use apt-get or aptitude to install the following packages:
- For converting from rpm to deb, can be removed after installation:
alien
- Prerequisites:
freeglut3
freeglut3-dev
gcc
gcc
make
rsync
flex
byacc
tk8.4
tk8.4-dev
tcl8.4
tcl8.4-dev
- X Window System:
xbase-clients
for X11 forwarding, or;x-window-system
for local X server.
- For converting from rpm to deb, can be removed after installation:
- Convert the RPMs to DEBs: alien -k --to-deb *.rpm
- Install the DEBs: dpkg -i *.deb
- Apply the following patch to a local copy of /directory/for/mounted/image/software/cellsdk:
--- cd/software/cellsdk 2007-01-04 08:24:29.000000000 +0800 +++ cellsdk 2007-01-04 22:11:49.000000000 +0800 @@ -2487,7 +2487,7 @@ shift case $TASK in - install|depend|uninstall|build|synch|version|verify) + debian|install|depend|uninstall|build|synch|version|verify) ;; -?|-h|--help|--usage) @@ -2519,6 +2519,11 @@ case $TASK in + debian) + install_self + integrate + ;; + install) check_first_install install
- Run the install script (as root) to complete the installation: ./cellsdk debian
- Test your installation (courtesy of Daniel's tutorial):
mkdir sandbox cd sandbox cp /opt/ibm/systemsim-cell/run/cell/linux/.systemsim.tcl . export PATH=/opt/ibm/systemsim-cell/bin:$PATH systemsim -g
This should be it, and use the above instructions at your own risk :). Hopefully it does not format your hard drive or produces smoke from your computer.
* * *
(Edited on 5 Jan 2007) You will need to run the following commands to copy the headers and libraries for libspe in order to compile SPE sample codes. (A ugly hack, but it works)
mount -o loop /opt/ibm/systemsim-cell/images/cell/sysroot_disk /mnt/cell-sdk-sysroot mkdir -p /opt/ibm/cell-sdk/prototype/sysroot/usr/include mkdir -p /opt/ibm/cell-sdk/prototype/sysroot/usr/lib cp /mnt/cell-sdk-sysroot/usr/include/libspe.h /opt/ibm/cell-sdk/prototype/sysroot/usr/include cp /mnt/cell-sdk-sysroot/usr/include/cbea_map.h /opt/ibm/cell-sdk/prototype/sysroot/usr/include cp /mnt/cell-sdk-sysroot/usr/lib/libspe* /opt/ibm/cell-sdk/prototype/sysroot/usr/lib umount /mnt/cell-sdk-sysroot
* * *
(Edited again on 5 Jan 2007) You will also need to install a newer version of GNU C Libary to run the compiler, you can install it from experimental using the following steps.
- Add this line to
/etc/apt/sources.list
: deb http://www.hk.debian.org/debian/ experimental main (Please choose your own mirror) - apt-get update
- apt-get -t experimental install libc6
38 Comments:
At 4:33 AM, Daniel Lélis Baggio said…
Hi Alan!
I've updated my site with a link to your article. My site is located at http://debiancell.sourceforge.net/.
I know that installing to a different distro gives a lot of work, but makes you understand the simulator much better.
Congratulations!
Make sure to try out the eclipse plugins for fast development for the CellBE!
Good luck and congrats!
At 1:10 PM, Shridhar Jayanthi said…
Hi... I'm trying to install the CBE SDK on a x86_64 ubuntu (debian) and I'm not being able to run the script (cellsdk). Do you know what that script does (eg. set environment variables and stuff...
Thanks for the help!
At 5:26 AM, Unknown said…
I am trying to install the Cell SDK 2.0 on Ubuntu 6.10. I completed all the steps. When I run systemsim -g I get the following error:
/opt/ibm/systemsim-cell/bin/systemsim: 104: Syntax error: Bad substitution
Any help would be appreciated
At 11:27 PM, Anonymous said…
The error on Ubuntu with /opt/ibm/systemsim-cell/bin/systemsim
seems to go away if you replace the first line
#!/bin/sh
with
#!/bin/bash
it seems that Ubuntu is switching to a stricter /bin/sh that doesn't support some of the bash features. Of course, I get different error after that - "could not find linux image file".
At 11:39 PM, Anonymous said…
Interesting blog you got here. I'd like to read something more about this matter. The only thing it would also be great to see here is some pictures of any gadgets.
David Kripke
Phone Blocker
At 4:27 PM, Anonymous said…
Hello,
I keep coming to this website[url=http://www.weightrapidloss.com/lose-10-pounds-in-2-weeks-quick-weight-loss-tips].[/url]snowbig.blogspot.com is filled with quality info. Do you pay attention towards your health?. In plain english I must warn you that, you are not serious about your health. Research points that closely 80% of all USA adults are either chubby or weighty[url=http://www.weightrapidloss.com/lose-10-pounds-in-2-weeks-quick-weight-loss-tips].[/url] Therefore if you're one of these individuals, you're not alone. In fact, most of us need to lose a few pounds once in a while to get sexy and perfect six pack abs. Now next question is how you can achive quick weight loss? [url=http://www.weightrapidloss.com/lose-10-pounds-in-2-weeks-quick-weight-loss-tips]Quick weight loss[/url] is really not as tough as you think. You need to improve some of you daily habbits to achive weight loss in short span of time.
About me: I am webmaster of [url=http://www.weightrapidloss.com/lose-10-pounds-in-2-weeks-quick-weight-loss-tips]Quick weight loss tips[/url]. I am also mentor who can help you lose weight quickly. If you do not want to go under hard training program than you may also try [url=http://www.weightrapidloss.com/acai-berry-for-quick-weight-loss]Acai Berry[/url] or [url=http://www.weightrapidloss.com/colon-cleanse-for-weight-loss]Colon Cleansing[/url] for effortless weight loss.
At 4:18 PM, adult xxx free stories said…
I just couldnt handle that kids energy. It was.
interracial breeding stories
pre puberty masturbation stories
lesbian sister stories
public spanking stories
femdom stories
I just couldnt handle that kids energy. It was.
At 6:53 PM, sexy indian stories said…
Now, I want you to know that this has nothing to do with punishingyou. ``Way I see it, no one has broken any laws.
hot steamy sex stories
male porn stories
gay blowjob stories
handjob bondage stories
child erotica bestiality stories
Now, I want you to know that this has nothing to do with punishingyou. ``Way I see it, no one has broken any laws.
At 12:45 AM, women bestiality stories said…
Very gently he pulled on my dress andtugged the top over my shoulders. Do what.
search nifty stories
fifty nifty stories
sex stories teen
stories young sex
free gay first time stories
Very gently he pulled on my dress andtugged the top over my shoulders. Do what.
At 11:22 PM, Anonymous said…
viagra online without prescription how to buy viagra online in australia - buy viagra jakarta
At 6:28 PM, Anonymous said…
order soma online watch argento soma online free - soma drug facts
At 6:06 AM, Anonymous said…
buy tramadol tramadol for dogs high - buy tramadol online in usa
At 5:28 AM, Anonymous said…
tadalafil 20mg cialis online daily - order cialis from us
At 10:25 AM, Anonymous said…
Legal Drugs Information Homemade Drugs ciprofloxacin price - cipro no prescription http://www.cheapcipromed.net/#cipro-no-prescription , [url=http://www.cheapcipromed.net/#order-cipro-online ]order cipro online [/url]
At 11:10 AM, Anonymous said…
List Of Subcutaneous Drugs finasteride no prescription - buy propecia online http://www.propeciahowtosave.net/#buy-propecia-online , [url=http://www.propeciahowtosave.net/#buy-propecia ]buy propecia [/url]
At 8:27 AM, Anonymous said…
generic tadalafil cialis online fast shipping - buy cialis online fast delivery
At 1:00 PM, Anonymous said…
tramadol no prescription buy tramadol online by cod - tramadol hcl 325 mg
At 9:47 AM, Anonymous said…
xanax no rx difference between xanax generic xanax - xanax pill shapes
At 12:21 PM, Anonymous said…
generic xanax overdose on xanax death - 2mg xanax effects erowid
At 3:19 AM, Anonymous said…
generic xanax xanax vs lexapro - xanax withdrawal newborn
At 4:42 AM, Anonymous said…
buy tramadol tramadol dosage and dogs - can someone overdose tramadol
At 10:26 PM, Anonymous said…
alprazolam medication what is xanax used for yahoo - xanax generic cost walmart
At 6:51 PM, Anonymous said…
buy cialis online cheap cialis reviews - cialis 20 mg cost
At 5:25 AM, Anonymous said…
6, sumatriptan no prescription - imitrex without prescription http://www.imitrexonlinebuy.com/#sumatriptan-no-prescription, [url=http://www.imitrexonlinebuy.com/#imitrex-for-sale]sumatriptan without prescription[/url]
At 11:43 PM, Anonymous said…
http://landvoicelearning.com/#21906 buy tramadol dogs usa - tramadol overdose risk
At 8:47 PM, Anonymous said…
buy tramadol buy tramadol 100mg - tramadol high how much
At 10:36 PM, Anonymous said…
http://buytramadolonlinecool.com/#59473 tramadol no prescription overnight cod - how to buy tramadol online
At 6:47 AM, Anonymous said…
http://landvoicelearning.com/#62431 tramadol online apotheke - can you buy tramadol over counter spain
At 1:39 AM, Anonymous said…
http://landvoicelearning.com/#30896 tramadol hcl or tramadol - tramadol overdose much
At 6:52 AM, Anonymous said…
tramadol online tramadol 100mg buy online - buy tramadol online no prescription needed
At 11:38 AM, Anonymous said…
http://landvoicelearning.com/#74967 buy 200 mg tramadol online - order tramadol online forum
At 8:38 PM, Anonymous said…
buy klonopin online klonopin withdrawal nausea - klonopin dosage opiate withdrawal
At 10:33 AM, Anonymous said…
buy klonopin online klonopin withdrawal after 2 weeks - klonopin zoloft together
At 1:41 AM, Anonymous said…
klonopin pill klonopin youtube - klonopin 2 mg teva
At 2:53 AM, Anonymous said…
buy tramadol online buy cheap tramadol online usa - where can i buy tramadol for my dog
At 9:21 PM, Anonymous said…
buy tramadol overnight shipping tramadol hcl shelf life - order tramadol online next day
At 9:47 PM, Anonymous said…
klonopin online klonopin user reviews - klonopin side effects kids
At 4:26 AM, Anonymous said…
http://southcarolinaaccidentattorney.com/#54632 carisoprodol 350 mg vs flexeril - carisoprodol vs hydrocodone
Post a Comment
<< Home