newest toolchain not working

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
JorDy
Posts: 121
Joined: Sun Dec 11, 2005 8:45 am

newest toolchain not working

Post by JorDy »

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

ps2

Code: Select all

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: Select all

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
TyRaNiD
Posts: 907
Joined: Sun Jan 18, 2004 12:23 am

Post by TyRaNiD »

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.
ooPo
Site Admin
Posts: 2023
Joined: Sat Jan 17, 2004 9:56 am
Location: Canada
Contact:

Post by ooPo »

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: Select all

sudo mkdir /usr/local/pspdev
sudo chown jordan:jordan /usr/local/pspdev
./toolchain.pl PSP
Enjoy.
JorDy
Posts: 121
Joined: Sun Dec 11, 2005 8:45 am

Post by JorDy »

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 :(
Sharkus
Posts: 27
Joined: Sun Jun 19, 2005 6:49 am

Post by Sharkus »

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...
Post Reply