spu-medialib on YellowDog 6.0

"A collection of spu programs to accelerate media related applications for the CellBE ( PS3 ) platform" - unsolo

Moderator: unsolo

Locked
Ribs
Posts: 1
Joined: Tue Feb 12, 2008 9:05 am

spu-medialib on YellowDog 6.0

Post by Ribs »

Hi,

Been trying to get spu-medialib to install on my YellowDog 6.0 PS3 system. The end goal is to get the xf86 driver working so I can have smooth mythtv playback.

I get fairly far. After replacing autoconf and m4 with the newer versions medialib demands, I now have this problem:

Code: Select all

[ribs@ps3 spu-medialib]$ cd spu
[ribs@ps3 spu]$ ./configure
checking for spu-elf-gcc... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
Over-riding this with a CC variable gives me this:

Code: Select all

[ribs@ps3 spu]$ CC=/usr/bin/spu-gcc ./configure
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/bin/spu-gcc accepts -g... yes
checking for /usr/bin/spu-gcc option to accept ISO C89... none needed
checking build system type... powerpc64-yellowdog-linux-gnu
checking host system type... Invalid configuration `spu-elf': machine `spu' not recognized
configure: error: /bin/sh ./../config.sub spu-elf failed
[ribs@ps3 spu]$ 
At a loss of what to do here. I've installed everything I can think of. Anyone else have this problem, or a workaround?
unsolo
Posts: 155
Joined: Mon Apr 16, 2007 2:39 am
Location: OSLO Norway

Post by unsolo »

check and verify you have spu-elf-gcc and not just spu-gcc on your system and adjust according to that
Don't do it alone.
master-crown
Posts: 5
Joined: Fri Mar 14, 2008 6:20 am

Post by master-crown »

Hello Guys,

I got the same problem as above.
I installed ydl 6.0 with all compiler (spu-gcc)
i created a symbolic link in /usr/bin with:
ln /usr/bin/spu-gcc /usr/bin/spu-elf-gcc

but always the message appaers:
checking host system type... Invalid configuration `spu-elf': machine `spu' not recognized

i dont know what ich must to adjust ??
please help me ...
master-crown
Posts: 5
Joined: Fri Mar 14, 2008 6:20 am

Post by master-crown »

you must edit the config.sub file and change "spur" to "spu" then it works ...
User avatar
Skatox
Posts: 4
Joined: Fri Mar 21, 2008 10:27 am
Location: Venezuela
Contact:

Post by Skatox »

I had the same problem, but after i changed the configu.sub and started the config scrip, i doesnt fin the libspe2 (i've installed a version over 2.2.0)

Code: Select all

checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBSPE2... configure: error: Package requirements (libspe2 >= 2.2.0) were not met:

No package 'libspe2' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables LIBSPE2_CFLAGS
and LIBSPE2_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
What can i do?
Visit my website: http://www.skatox.com
User avatar
Skatox
Posts: 4
Joined: Fri Mar 21, 2008 10:27 am
Location: Venezuela
Contact:

Post by Skatox »

Problem solved,, putting the info of libps2.pc on /etc/pkgconfig
Visit my website: http://www.skatox.com
Locked