| View previous topic :: View next topic |
| Author |
Message |
zabbyh
Joined: 15 Jul 2005 Posts: 13
|
Posted: Mon Jul 02, 2007 7:56 am Post subject: HowTo Setup Toolchain |
|
|
The Readme states:
====================
What does this do?
====================
This program will automatically build and install a compiler and other
tools used in the creation of homebrew software for the Sony Playstation 3
videogame system.
==================
How do I use it?
==================
1) Set up your environment by installing the following software:
autoconf, automake, bison, flex, gcc, make, ncurses, patch, subversion, terminfo, 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
==========================
Where do I go from here?
==========================
Visit the following sites to learn more:
http://www.ps2dev.org
http://forums.ps2dev.org
-------------------------------------------------------------------------------------
Where to get the following software?
autoconf, automake, bison, flex, gcc, make, ncurses, patch, subversion, terminfo, wget
Answer: www.gnu.org, http://subversion.tigris.org/ |
|
| Back to top |
|
 |
zabbyh
Joined: 15 Jul 2005 Posts: 13
|
Posted: Mon Jul 02, 2007 8:45 am Post subject: |
|
|
| Can someone post a link to the correct terminfo prog required I managed to find something called termtypes but that is related to linux? |
|
| Back to top |
|
 |
ooPo Site Admin
Joined: 17 Jan 2004 Posts: 2032 Location: Canada
|
Posted: Tue Jul 03, 2007 9:39 am Post subject: |
|
|
The latest version of ps3toolchain has different requirements:
| Quote: | 1) Set up your environment by installing the following software:
autoconf, automake, bison, flex, gcc, make, patch, subversion, wget |
You don't need terminfo, so you don't need to worry about it. |
|
| Back to top |
|
 |
zabbyh
Joined: 15 Jul 2005 Posts: 13
|
Posted: Fri Jul 06, 2007 5:49 am Post subject: |
|
|
@ooPo
Hi m8 in what order should these be installed, as the installation instructions are really vague and I am unable to install successfully.
For e.g. the autoconf instructions state to run configure but how.. Command prompt in Windows XP/Vista does not run anything.
Thanks for update |
|
| Back to top |
|
 |
ooPo Site Admin
Joined: 17 Jan 2004 Posts: 2032 Location: Canada
|
Posted: Fri Jul 06, 2007 6:22 am Post subject: |
|
|
| The cygwin installation program should allow you to select which packages to install and it will do it in the right order for you. |
|
| Back to top |
|
 |
zabbyh
Joined: 15 Jul 2005 Posts: 13
|
Posted: Sun Jul 08, 2007 9:25 am Post subject: |
|
|
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
@ooPo where do I put this, I have placed in Environment Variables doesn't seem to do anything.
Also placed a file called ps3dev.sh file containing above in C:\cygwin\etc\profile.d
When I run cygwin I get:-
': not a valid identifier
': not a valid identifier
': not a valid identifier
': not a valid identifier
Still I have run ./toolchain & it seems to be installing..
How long does it take to install? I had it left running overnight and someone went and switched off my machine so don't know if it is fully installed.
Also when I open cygwin I get:-
Your group is currently "mkgroup". This indicates that the the /etc/group (and possibly the /etc/passwd) files should be rebuilt.
If I run
mkgroup -l it does something.
If I run mkgroup -l /etc/passwd
I get the message the domain name is only accepted when -d is given.
Then is I use mkgroup -d /etc/passwd
The format of the specified domain is invalid. |
|
| Back to top |
|
 |
ooPo Site Admin
Joined: 17 Jan 2004 Posts: 2032 Location: Canada
|
Posted: Mon Jul 09, 2007 2:49 am Post subject: |
|
|
| zabbyh wrote: | | @ooPo where do I put this, I have placed in Environment Variables doesn't seem to do anything. |
Ask google, I don't know. I do not run cygwin.
| Quote: | | Also placed a file called ps3dev.sh file containing above in C:\cygwin\etc\profile.d |
What part of the readme told you to do that?
| Quote: | | How long does it take to install? I had it left running overnight and someone went and switched off my machine so don't know if it is fully installed. |
My machine takes maybe half an hour to build the toolchain, but again I'm not running cygwin.
| Quote: | Also when I open cygwin I get:-
Your group is currently "mkgroup". This indicates that the the /etc/group (and possibly the /etc/passwd) files should be rebuilt.
If I run
mkgroup -l it does something.
If I run mkgroup -l /etc/passwd
I get the message the domain name is only accepted when -d is given.
Then is I use mkgroup -d /etc/passwd
The format of the specified domain is invalid. |
It sounds like you've really done a hackjob on your installation of cygwin. Are you sure you know what you're doing? |
|
| Back to top |
|
 |
Jim

Joined: 02 Jul 2005 Posts: 487 Location: Sydney
|
Posted: Sat Jul 14, 2007 4:27 pm Post subject: |
|
|
| Quote: | | If I run mkgroup -l /etc/passwd |
The command it tells you to type is
mkgroup -l > /etc/passwd
there's a redirection in there.
Jim _________________ http://www.dbfinteractive.com |
|
| Back to top |
|
 |
|