forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

problems with ubuntu install

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS3 Development
View previous topic :: View next topic  
Author Message
cloudboy



Joined: 10 Mar 2006
Posts: 14

PostPosted: Fri Jun 29, 2007 1:39 pm    Post subject: problems with ubuntu install Reply with quote

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
View user's profile Send private message
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Fri Jun 29, 2007 2:13 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
cloudboy



Joined: 10 Mar 2006
Posts: 14

PostPosted: Fri Jun 29, 2007 3:02 pm    Post subject: Reply with quote

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
View user's profile Send private message
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Fri Jun 29, 2007 5:27 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
cloudboy



Joined: 10 Mar 2006
Posts: 14

PostPosted: Sat Jun 30, 2007 6:56 am    Post subject: Reply with quote

it says that ppu-gcc is not a valid command...
Back to top
View user's profile Send private message
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Sat Jun 30, 2007 7:11 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS3 Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group