| View previous topic :: View next topic |
| Author |
Message |
spylogo
Joined: 15 Jun 2009 Posts: 2
|
Posted: Mon Jun 15, 2009 7:10 am Post subject: ubuntu 9.04 compile error |
|
|
I have spent many hours trying to figure this out, but I have no idea what to do.
Error= make: psp-config: Command not found
Makefile:24: /lib/build.mak: No such file or directory
make: *** No rule to make target `/lib/build.mak'. Stop.
(I used the standard makefile for 3xx)
When I type make into the terminal it works fine, and when I type in echo $PSPSDK I get the correct path, but the IDE won't work at all. I tried it on both Anjuta and KDE. I also added the three lines that you need to bashrc. Can someone please help? |
|
| Back to top |
|
 |
J.F.
Joined: 22 Feb 2004 Posts: 2906
|
Posted: Mon Jun 15, 2009 10:14 am Post subject: |
|
|
Notice the error says it can't find psp-config. That causes the makefile to not find build.mak. You either don't have everything installed, or haven't done all the exports. Here are my exports:
| Code: | export PSPDEV="/home/jlfenton/Tools/pspdev"
export PSPSDK="$PSPDEV/psp/sdk"
export PSPPATH="$PSPDEV/bin:$PSPDEV/psp/bin:$PSPSDK/bin"
export PATH="$PATH:$PSPPATH"
export PKG_CONFIG_PATH="$PSPDEV/psp/lib/pkgconfig"
|
You would need to change the path in the first export to wherever you have your pspdev directory. I recommend people put the toolchain and sdk in their user directory. This allows you to install further libraries and whatnot without either doing sudo or having to chown the pspdev directory. |
|
| Back to top |
|
 |
spylogo
Joined: 15 Jun 2009 Posts: 2
|
Posted: Mon Jun 15, 2009 11:06 am Post subject: |
|
|
| I put the pspdev folder onto my desktop and changed the exports to look like yours, except to point to the one on my desktop, but I get the same exact error. |
|
| Back to top |
|
 |
J.F.
Joined: 22 Feb 2004 Posts: 2906
|
Posted: Mon Jun 15, 2009 1:29 pm Post subject: |
|
|
| Like I said at dcemu, trying typing just "psp-config" by itself. If it doesn't work, your envvars aren't being set correctly. |
|
| Back to top |
|
 |
|