| View previous topic :: View next topic |
| Author |
Message |
JorDy
Joined: 11 Dec 2005 Posts: 121
|
Posted: Mon Mar 13, 2006 12:13 am Post subject: newest toolchain not working |
|
|
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 |
|
 |
TyRaNiD
Joined: 18 Jan 2004 Posts: 918
|
Posted: Mon Mar 13, 2006 1:20 am Post subject: |
|
|
| 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 |
|
 |
ooPo Site Admin
Joined: 17 Jan 2004 Posts: 2032 Location: Canada
|
Posted: Mon Mar 13, 2006 4:00 am Post subject: |
|
|
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 |
|
 |
JorDy
Joined: 11 Dec 2005 Posts: 121
|
Posted: Wed Mar 15, 2006 7:35 am Post subject: |
|
|
| 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 |
|
 |
Sharkus
Joined: 19 Jun 2005 Posts: 27
|
Posted: Thu Mar 16, 2006 4:13 am Post subject: |
|
|
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 |
|
 |
|