| View previous topic :: View next topic |
| Author |
Message |
cloudboy
Joined: 10 Mar 2006 Posts: 14
|
Posted: Fri Jun 29, 2007 1:39 pm Post subject: problems with ubuntu install |
|
|
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: | | 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?
[/code] |
|
| Back to top |
|
 |
ooPo Site Admin
Joined: 17 Jan 2004 Posts: 2032 Location: Canada
|
Posted: Fri Jun 29, 2007 2:13 pm Post subject: |
|
|
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: | $ 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. |
|
| Back to top |
|
 |
cloudboy
Joined: 10 Mar 2006 Posts: 14
|
Posted: Fri Jun 29, 2007 3:02 pm Post subject: |
|
|
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--
oh - just out of curiosity, how long does it take to create a toolchain on average? |
|
| Back to top |
|
 |
ooPo Site Admin
Joined: 17 Jan 2004 Posts: 2032 Location: Canada
|
Posted: Fri Jun 29, 2007 5:27 pm Post subject: |
|
|
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. |
|
| Back to top |
|
 |
cloudboy
Joined: 10 Mar 2006 Posts: 14
|
Posted: Sat Jun 30, 2007 6:56 am Post subject: |
|
|
| it says that ppu-gcc is not a valid command... |
|
| Back to top |
|
 |
ooPo Site Admin
Joined: 17 Jan 2004 Posts: 2032 Location: Canada
|
Posted: Sat Jun 30, 2007 7:11 am Post subject: |
|
|
| Quote: | ==================
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? |
|
| Back to top |
|
 |
|