ubuntu 9.04 compile error

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

Moderators: cheriff, TyRaNiD

Post Reply
spylogo
Posts: 2
Joined: Mon Jun 15, 2009 6:55 am

ubuntu 9.04 compile error

Post by spylogo »

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?
J.F.
Posts: 2906
Joined: Sun Feb 22, 2004 11:41 am

Post by J.F. »

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

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.
spylogo
Posts: 2
Joined: Mon Jun 15, 2009 6:55 am

Post by spylogo »

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.
J.F.
Posts: 2906
Joined: Sun Feb 22, 2004 11:41 am

Post by J.F. »

Like I said at dcemu, trying typing just "psp-config" by itself. If it doesn't work, your envvars aren't being set correctly.
Post Reply