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 

newest toolchain not working

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



Joined: 11 Dec 2005
Posts: 121

PostPosted: Mon Mar 13, 2006 12:13 am    Post subject: newest toolchain not working Reply with quote

when i try to build the psp and ps2 dev toolchain i get these errors

ps2
Code:
jordan@jordan:~/newtoolchain$ ./toolchain.pl PS2

Dependencies:
 gcc:           Found!
 make:          Found!
 wget:          Found!
 patch:         Found!
 svn:           Found!
 $PS2DEV:       Found!
 $PS2SDK:       Found!
 path:          Found!
 privs:         Error!

=====================
== ERROR DETECTED! ==
=====================


##
## Executing the following command:
##
## { env | grep 'PS2DEV=';                                           }
##
PS2DEV=/usr/local/ps2dev

##
## Executing the following command:
##
## { env | grep 'PS2SDK=';                                           }
##
PS2SDK=/usr/local/ps2dev/ps2sdk

##
## Executing the following command:
##
## { env | grep 'PATH=' | grep '/usr/local/ps2dev';                            }
##


ERROR: Please read README.PS2 for information.

jordan@jordan:~/newtoolchain$   


and i have added everything to my profile...

psp
Code:

jordan@jordan:~/newtoolchain$ ./toolchain.pl PSP

Dependencies:
 gcc:           Found!
 make:          Found!
 wget:          Found!
 patch:         Found!
 svn:           Found!
 automake:      Found!
 autoconf:      Found!
 $PSPDEV:       Error!

=====================
== ERROR DETECTED! ==
=====================


##
## Executing the following command:
##
## { env | grep 'PS2DEV=';                                           }
##
PS2DEV=/usr/local/ps2dev

##
## Executing the following command:
##
## { env | grep 'PS2SDK=';                                           }
##
PS2SDK=/usr/local/ps2dev/ps2sdk

##
## Executing the following command:
##
## { env | grep 'PATH=' | grep '/usr/local/ps2dev';                            }
##


ERROR: Please read README.PSP for information.

jordan@jordan:~/newtoolchain$       

and i have once again added everything to my profile
Back to top
View user's profile Send private message
TyRaNiD



Joined: 18 Jan 2004
Posts: 918

PostPosted: Mon Mar 13, 2006 1:20 am    Post subject: Reply with quote

Looks like you do not have permissions on the install directories, you either need to run the toolchain.pl file as root or create the directories /usr/local/ps2dev and/or /usr/local/pspdev and set them to be owned by your normal user with full read/write/execute permissions for user.
Back to top
View user's profile Send private message
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Mon Mar 13, 2006 4:00 am    Post subject: Reply with quote

It is telling you that your path is set incorrectly. There's two usual reasons for this:

1) You didn't set the path as stated in the readme.

2) You're running ubuntu and using sudo to run the script.

As sudo is compiled to contain a hardcoded path it will ignore any custom path you have set. The only solution for that is to create the directory manually, change it to be owned by your normal user account and rerun the script as non-root.

Code:
sudo mkdir /usr/local/pspdev
sudo chown jordan:jordan /usr/local/pspdev
./toolchain.pl PSP

Enjoy.
Back to top
View user's profile Send private message Visit poster's website
JorDy



Joined: 11 Dec 2005
Posts: 121

PostPosted: Wed Mar 15, 2006 7:35 am    Post subject: Reply with quote

nope im running knoppix... ive set the profile perfectly and i have set it for the root bash file and then tried it as root this new toolchain just will not work :(
Back to top
View user's profile Send private message
Sharkus



Joined: 19 Jun 2005
Posts: 27

PostPosted: Thu Mar 16, 2006 4:13 am    Post subject: Reply with quote

A temporary way to become root (without having to set a root password) in Ubuntu:

"sudo su"

You can then set your paths (for root user) and run the toolchain script...
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP 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