Page 1 of 1

Conflicts installing Cell 3.1 on YDL 6.1

PostPosted: 14 Jan 2009, 17:55
by kbachim
Hi there!

Thanks for the your site and the tips on it. They really helped me a lot in my attempts getting yellow dog installed and set up.
But know I am really stucked:

I try to install the Cell SDK 3.1 on my ps3 with yellow dog 6.1 and after successful solving problems with the proxy (don't forget the "http://" even in front of an IP :D ) and missing dependencies (I had to install expat by myself) ...
... the cellsdk installer "/opt/cell/cellsdk --iso <isodir> install" still doesn't work and prints out

Code: Select all
 [...]
 spu-simdmath-devel      ppc        3.1-1            CellSDK-Devel-Fedora-cbea  192 k
 spu-xlmass-lib          noarch     5.0.0-0          CellSDK-Devel-Fedora-cbea  670 k

Transaction Summary
=============================================================================
Install     58 Package(s)         
Update       0 Package(s)         
Remove       0 Package(s)         

Total download size: 123 M
Is this ok [y/N]: y
Downloading Packages:
Running Transaction Test
Finished Transaction Test


Transaction Check Error:
  package ppu-gcc-4.1.1-166.ydl6.1 (which is newer than ppu-gcc-4.1.1-166) is already installed
  package ppu-gcc-c++-4.1.1-166.ydl6.1 (which is newer than ppu-gcc-c++-4.1.1-166) is already installed
  package ppu-binutils-2.18.50-21.ydl6.1 (which is newer than ppu-binutils-2.18.50-21) is already installed
  file /usr/powerpc64-linux/include/bfd.h from install of ppu-binutils-2.18.50-21 conflicts with file from package ppu-binutils-2.18.50-21.ydl6.1
  file /usr/powerpc64-linux/lib/libbfd.a from install of ppu-binutils-2.18.50-21 conflicts with file from package ppu-binutils-2.18.50-21.ydl6.1
  file /usr/powerpc64-linux/lib/libopcodes.a from install of ppu-binutils-2.18.50-21 conflicts with file from package ppu-binutils-2.18.50-21.ydl6.1
  file /usr/share/man/man1/ppu-addr2line.1.gz from install of ppu-binutils-2.18.50-21 conflicts with file from package ppu-binutils-2.18.50-21.ydl6.1
  file /usr/share/man/man1/ppu-ar.1.gz from install of ppu-binutils-2.18.50-21 conflicts with file from package ppu-binutils-2.18.50-21.ydl6.1
  file /usr/share/man/man1/ppu-as.1.gz from install of ppu-binutils-2.18.50-21 conflicts with file from package ppu-binutils-2.18.50-21.ydl6.1
  file /usr/share/man/man1/ppu-c++filt.1.gz from install of ppu-binutils-2.18.50-21 conflicts with file from package ppu-binutils-2.18.50-21.ydl6.1
  file /usr/share/man/man1/ppu-gprof.1.gz from install of ppu-binutils-2.18.50-21 conflicts with file from package ppu-binutils-2.18.50-21.ydl6.1
  file /usr/share/man/man1/ppu-ld.1.gz from install of ppu-binutils-2.18.50-21 conflicts with file from package ppu-binutils-2.18.50-21.ydl6.1
  file /usr/share/man/man1/ppu-nm.1.gz from install of ppu-binutils-2.18.50-21 conflicts with file from package ppu-binutils-2.18.50-21.ydl6.1
  file /usr/share/man/man1/ppu-objcopy.1.gz from install of ppu-binutils-2.18.50-21 conflicts with file from package ppu-binutils-2.18.50-21.ydl6.1
  file /usr/share/man/man1/ppu-objdump.1.gz from install of ppu-binutils-2.18.50-21 conflicts with file from package ppu-binutils-2.18.50-21.ydl6.1
  file /usr/share/man/man1/ppu-ranlib.1.gz from install of ppu-binutils-2.18.50-21 conflicts with file from package ppu-binutils-2.18.50-21.ydl6.1
  file /usr/share/man/man1/ppu-readelf.1.gz from install of ppu-binutils-2.18.50-21 conflicts with file from package ppu-binutils-2.18.50-21.ydl6.1
  file /usr/share/man/man1/ppu-size.1.gz from install of ppu-binutils-2.18.50-21 conflicts with file from package ppu-binutils-2.18.50-21.ydl6.1
  file /usr/share/man/man1/ppu-strings.1.gz from install of ppu-binutils-2.18.50-21 conflicts with file from package ppu-binutils-2.18.50-21.ydl6.1
  file /usr/share/man/man1/ppu-strip.1.gz from install of ppu-binutils-2.18.50-21 conflicts with file from package ppu-binutils-2.18.50-21.ydl6.1
  file /usr/bin/ppu-gdb from install of ppu-gdb-6.8.50-13 conflicts with file from package ppu-gdb-6.8.50-13
  file /usr/bin/ppu-gdbserver from install of ppu-gdb-6.8.50-13 conflicts with file from package ppu-gdb-6.8.50-13
  file /usr/bin/ppu-gdbtui from install of ppu-gdb-6.8.50-13 conflicts with file from package ppu-gdb-6.8.50-13

Error Summary
-------------

cellsdk ERROR-0053: Failed:  yum -c /opt/cell/yumcell.conf install  dacs.ppc dacs.ppc64 ppu-simdmath.ppc ppu-simdmath.ppc64 libfft.ppc libfft.ppc64 libmc-rand.ppc libmc-rand.ppc64 alf-devel.ppc alf-devel.ppc64 alf-spu-devel.ppc cell-documentation.noarch dacs-devel.ppc dacs-devel.ppc64 spu-xlmass-lib.noarch ppu-xlmass-lib.noarch ppu-mass-devel.ppc ppu-mass-devel.ppc64 spu-mass-devel.ppc ppu-simdmath-devel.ppc ppu-simdmath-devel.ppc64 spu-simdmath-devel.ppc libfft-devel.ppc libfft-devel.ppc64 libmc-rand-devel.ppc libmc-rand-devel.ppc64 alf-manpages.noarch blas-manpages.noarch dacs-manpages.noarch libfft-manpages.noarch libmc-rand-manpages.noarch libspe2-manpages.noarch simdmath-manpages.noarch spu-newlib-manpages.noarch alf-examples-source.noarch blas-examples-source.noarch cell-buildutils.noarch cell-tutorial.ppc cell-tutorial-source.noarch cell-demos.ppc64 cell-demos-source.noarch cell-examples.ppc64 cell-examples-source.noarch cell-libs.ppc cell-libs.ppc64 cell-libs-devel.ppc cell-libs-devel.ppc64 cell-libs-source.noarch dacs-examples-source.noarch lapack-examples-source.noarch libfft-examples-source.noarch libmc-examples-source.noarch cell-extras-documentation.noarch libspe.ppc libspe.ppc64 ppu-binutils.ppc ppu-gcc.ppc ppu-gcc-c++.ppc ppu-gdb.ppc spu-gdb.ppc (rc=1)
cellsdk INFO-2051: ENDING cellsdk --iso /tmp/cellsdkiso/ install

There seems to be conflicts with the installed development tools. However, after uninstalling them (ok, in fact I reinstalled ydl :P), the Cell SDK installation works pretty fine (except 3 rpms which seem to be already installed), but now I miss gcc, g++, .. , of course. bad, bad, bad ..

The Cell SDK is the one for Fedora 9.

1. Can anybody help me please?

2. Do I really need the Cell SDK to program the SPEs? Or does the yellow dog distribution gives me the neccessary libaries, etc, already? I read something about it, but i didn't know how and where to find them. (It's my first attempt in programming the Cell.)

Re: Conflicts installing Cell 3.1 on YDL 6.1

PostPosted: 14 Jan 2009, 18:50
by billb
Cell SDK 3.1 is already supposed to be installed on YDL 6.1 ... and gcc should be installed if you installed with "Software Development" checked during install. However, I have no experience with programming for the SPEs. I just did a re-install on one of my PS3's and haven't added anything yet -- let me check and see if I can compile an application that uses the SPEs (SPE Scaler) without adding anything and report back ...

Re: Conflicts installing Cell 3.1 on YDL 6.1

PostPosted: 15 Jan 2009, 13:17
by kbachim
You are right, the conflicts seem to mean, that in fact some ps3-special libaries are installed.

I tried to compile some examples caming with the redbook for the Cell SDK programming, but it had to fail because of the uncompleted installation of the SDK, and the missing xlc compiler. And using gcc without the included Makefiles wasn't crowned with success, either.

I will go back one step and try a simple example program I found in a tutoial-link at the corresponding ibm-forum:
http://www.ibm.com/developerworks/power/library/pa-linuxps3-1/. I will see, if it really need the extra SDK installation.

Re: Conflicts installing Cell 3.1 on YDL 6.1

PostPosted: 15 Jan 2009, 15:27
by kbachim
yep,

Although a lit bit out-dated the link is extremely useful for writing your first spe programm, if you consider replacing the commandos:
    embedspu --> ppu-embedspu
    gcc --> ppu-gcc

Re: Conflicts installing Cell 3.1 on YDL 6.1

PostPosted: 16 Jan 2009, 23:05
by kengreen
In theory, you should install the RHEL 5.2 version of CellSDK 3.1. However, when I tried to install RHEL version of 3.0, it required a lot of manual installation of programs with rpm. I also installed the Fedora 7 version on a Fedora 7 system x86_64. That went better. YDL 6.1 contains the "public" parts of the CellSDK, so you should be able to compile programs written for the SDK. However, you need files like "make.footer" for many makefiles to work. You may also need the Eclipse SDK addons for some programs produced by Eclipse to compile. I wish I could be more specific but I just "fooled around" until something worked.