| View previous topic :: View next topic |
| Author |
Message |
McThunderThighs
Joined: 20 Apr 2009 Posts: 4
|
Posted: Wed Apr 22, 2009 12:20 pm Post subject: Make Error (psp-config: Command not found) |
|
|
Yes I searched...no solutions that worked.
Using Ubuntu 8.04, toolchain built without any detectable error.
When attempting to build the elf_template sample I get this error:
| Code: | make: psp-config: Command not found
Makefile:16: /lib/build.mak: No such file or directory
make: *** No rule to make target '/lib/build.mak'. Stop.
|
I made sure that variables were set correctly:
| Code: | echo $PSPDEV
/usr/local/pspdev
echo $PSPSDK
/usr/local/pspdev/psp/sdk
echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/pspdev/bin:/usr/local/pspdev/psp/sdk/bin
|
I have also made sure psp-config works:
| Code: | psp-config
Usage: psp-config [opts]
Options:
-p, --pspsdk-path : Print the base directory of PSPSDK
-d, --pspdev-path : Print the base install directory
-P, --psp-prefix : Print the prefix of PSP-hosted software |
Thanks very much for the help! |
|
| Back to top |
|
 |
jimparis
Joined: 10 Jun 2005 Posts: 1179 Location: Boston
|
Posted: Thu Apr 23, 2009 6:08 am Post subject: |
|
|
| how are you trying to run make? "sudo make" won't work because the PATH is not set for the root user, just for your own user. Copy the samples to another directory and just run "make" manually. |
|
| Back to top |
|
 |
J.F.
Joined: 22 Feb 2004 Posts: 2906
|
|
| Back to top |
|
 |
McThunderThighs
Joined: 20 Apr 2009 Posts: 4
|
Posted: Thu Apr 23, 2009 8:14 am Post subject: |
|
|
I must have overlooked it in the excitement ;)
Thanks so much, that now allows me to compile through the terminal, but I still can't get eclipse to work.
I changed makefile projects over to the elf parser, but that was the only change I made.
When attempting to compile the controller sample I get this:
| Code: | **** Build of configuration Default for project controller test ****
make -k all
make: psp-config: Command not found
Makefile:16: /lib/build.mak: No such file or directory
make: *** No rule to make target `/lib/build.mak'.
make: Failed to remake makefile `/lib/build.mak'.
make: *** No rule to make target `all'. |
It will compile just fine in the terminal. I am assuming I just missed something basic.
Thanks again for the help, I really want to get working in Ubuntu and get away from my Vista system! |
|
| Back to top |
|
 |
jimparis
Joined: 10 Jun 2005 Posts: 1179 Location: Boston
|
Posted: Fri Apr 24, 2009 8:09 am Post subject: |
|
|
| Same problem. The path is not set in Eclipse. Either you need to tell Eclipse about the new path, or make sure it's set before loading (e.g. try loading eclipse from the shell rather than from a session manager menu) |
|
| Back to top |
|
 |
McThunderThighs
Joined: 20 Apr 2009 Posts: 4
|
Posted: Fri Apr 24, 2009 10:23 am Post subject: |
|
|
| Code: | export PATH=$PATH:$PAPDEV/bin:$PSPSDK/bin
./eclipse
|
No luck.
Running as root and sudo didn't help.
How do I add the path for eclipse? Sorry, eclipse newbie and I can't find it in the docs.
Thanks![/code] |
|
| Back to top |
|
 |
|