Make Error (psp-config: Command not found)

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

Moderators: cheriff, TyRaNiD

Post Reply
McThunderThighs
Posts: 4
Joined: Mon Apr 20, 2009 7:39 am

Make Error (psp-config: Command not found)

Post by McThunderThighs »

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: Select 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'.  Stop.
I made sure that variables were set correctly:

Code: Select all

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

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!
jimparis
Posts: 1145
Joined: Fri Jun 10, 2005 4:21 am
Location: Boston

Post by jimparis »

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

Post by J.F. »

It's also much easier to chown /usr/local/pspdev and avoid the sudo's altogether. That is in most of the tutorials.

http://www.guztech.nl/index.php?view=ca ... &Itemid=56
McThunderThighs
Posts: 4
Joined: Mon Apr 20, 2009 7:39 am

Post by McThunderThighs »

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

**** 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!
jimparis
Posts: 1145
Joined: Fri Jun 10, 2005 4:21 am
Location: Boston

Post by jimparis »

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)
McThunderThighs
Posts: 4
Joined: Mon Apr 20, 2009 7:39 am

Post by McThunderThighs »

Code: Select all

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