problems with ubuntu install

Technical discussion on the newly released and hard to find PS3.

Moderators: cheriff, emoon

Post Reply
cloudboy
Posts: 14
Joined: Fri Mar 10, 2006 11:02 am

problems with ubuntu install

Post by cloudboy »

it goes for about 3 hrs. (my computer is not slow, im just running win. xp with vmware server under it with ubuntu x86 64 bit) i have used

Code: Select all

sudo apt-get install *insert .deb package here*
on all the required packages in the toolchain readme. ncurses and terminfo will not download b/c there is none apparantly. what should i do?

Image[/code]
ooPo
Site Admin
Posts: 2023
Joined: Sat Jan 17, 2004 9:56 am
Location: Canada
Contact:

Post by ooPo »

Not to worry. It looks like the script ran without error and you should be okay.

The part about needing ncurses and terminfo was copied over from psptoolchain, which I used as a base for ps3toolchain. They aren't actually needed at present as the toolchain is still very new.

For future reference, you can use synaptic to search for packages with a nice gui, or search on the command line:

Code: Select all

$ apt-cache search ncurses | grep dev
lib64ncurses5-dev - Developer's libraries for ncurses (64-bit)
libncurses5-dev - Developer's libraries and docs for ncurses
libncursesw5-dev - Developer's libraries for ncursesw
btscanner - ncurses-based scanner for Bluetooth devices
libaca-dev - The Advanced nCurses API
libaca0 - The Advanced nCurses API -- development files
librote-dev - a simple C library for VT102 terminal emulation - development
libtexttools-dev - Ada and C++ library for writing console applications
You'll find that in ubuntu development packages end in '-dev'. In this case you'd install libncurses5-dev.
cloudboy
Posts: 14
Joined: Fri Mar 10, 2006 11:02 am

Post by cloudboy »

thanks oopo! im glad to hear it looks okay!

one thing though-- when i try to compile that otheros demo program with the smiley face it does this--

Image

oh - just out of curiosity, how long does it take to create a toolchain on average?
ooPo
Site Admin
Posts: 2023
Joined: Sat Jan 17, 2004 9:56 am
Location: Canada
Contact:

Post by ooPo »

1 - Open the makefile in a text editor.
2 - Change 'gcc' to 'ppu-gcc'.
3 - Change 'objcopy' to 'ppu-objcopy'.
4 - Save the makefile.
5 - Grab a book on developing with unix tools.

My machine, running Ubuntu 7.04, can compile a complete PS3 toolchain in 15 minutes or so. I haven't timed it yet.
cloudboy
Posts: 14
Joined: Fri Mar 10, 2006 11:02 am

Post by cloudboy »

it says that ppu-gcc is not a valid command...
ooPo
Site Admin
Posts: 2023
Joined: Sat Jan 17, 2004 9:56 am
Location: Canada
Contact:

Post by ooPo »

==================
How do I use it?
==================

1) Set up your environment by installing the following software:

autoconf, automake, bison, flex, gcc, make, patch, subversion, wget

2) Add the following to your login script:

export PS3DEV=/usr/local/ps3dev
export PATH=$PATH:$PS3DEV/bin
export PATH=$PATH:$PS3DEV/ppu/bin
export PATH=$PATH:$PS3DEV/spu/bin

3) Run the toolchain script:

./toolchain.sh
I know you read step 1, but did you do step 2?
Post Reply