| View previous topic :: View next topic |
| Author |
Message |
blazintildadeath
Joined: 14 Dec 2005 Posts: 14
|
Posted: Wed Dec 14, 2005 9:51 am Post subject: psp-config error |
|
|
im a noob but when i try to compile it says:
make:psp-config: Command not found
Makefile:17: /lib/build.mak: no such file or directory
make: ***No rule to make target '/lib/build.mak'. Stop.
i installed the psptoolchain (which took forever to install) and now i try to compile some source code and all i get is this....i think i have to open some files up and change some text or something...please..im just trying to set this thing up so i could program a hello world! application for the psp please help |
|
| Back to top |
|
 |
blazintildadeath
Joined: 14 Dec 2005 Posts: 14
|
Posted: Wed Dec 14, 2005 9:54 am Post subject: |
|
|
| by the way im using linux...suse 10.0, gcc 4.0.2.... |
|
| Back to top |
|
 |
blazintildadeath
Joined: 14 Dec 2005 Posts: 14
|
Posted: Wed Dec 14, 2005 12:35 pm Post subject: |
|
|
| nevermind i found the solution |
|
| Back to top |
|
 |
reakt
Joined: 06 May 2005 Posts: 22 Location: Basingstoke, UK
|
Posted: Thu Dec 15, 2005 10:46 pm Post subject: |
|
|
No doubt you found that psp-config was not in your path.
Incase anyone else has the same problem, add this directory to your path
/usr/local/pspdev/bin |
|
| Back to top |
|
 |
blazintildadeath
Joined: 14 Dec 2005 Posts: 14
|
Posted: Fri Dec 16, 2005 5:11 am Post subject: |
|
|
but hey, i gotta do write this code ALL THE TIME! right before i type "make" to compile my code in the directory where source codes are at....
## PSPDEV PATH SETTINGS
export PSPDEV="/usr/local/pspdev"
export PSPSDK="$PSPDEV/psp/sdk"
export PATH="$PATH:$PSPDEV/bin:$PSPSDK/bin"
im tried of typing all that...is there a shortier way???? is there a way i dont have to write this crap and still be able to compile it??? |
|
| Back to top |
|
 |
mrbrown
Joined: 17 Jan 2004 Posts: 1536
|
Posted: Fri Dec 16, 2005 5:23 am Post subject: |
|
|
You only have to type export once for it to remain for the shell session you're in. And you only need to set the PATH, the other two aren't required.
If you put this in your .bash_profile in your Home directory then you never have to type it again. |
|
| Back to top |
|
 |
Josh1billion

Joined: 12 Jul 2005 Posts: 32 Location: Wisconsin, USA
|
Posted: Fri Jan 06, 2006 1:53 pm Post subject: |
|
|
| reakt wrote: | No doubt you found that psp-config was not in your path.
Incase anyone else has the same problem, add this directory to your path
/usr/local/pspdev/bin |
I've been getting the same error as in the original post, and I have /usr/local/pspdev/bin as a path, but I know what the problem is: looking in that folder (/usr/local/pspdev/bin), there is no psp-config.exe. There is psp-gcc.exe and a bunch of others, but no psp-config.exe.
If someone has any idea why, let me know. Until then, I'm trying to reinstall the toolchain from scratch, because the original installation had a few problems along the way anyway.
edit, problem solved: reinstalling (after I manually installed automake) fixed the problem. _________________ Josh1billion - PHP, C++, PSP programmer. |
|
| Back to top |
|
 |
|