forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Make Error (psp-config: Command not found)

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
McThunderThighs



Joined: 20 Apr 2009
Posts: 4

PostPosted: Wed Apr 22, 2009 12:20 pm    Post subject: Make Error (psp-config: Command not found) Reply with quote

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
View user's profile Send private message
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Thu Apr 23, 2009 6:08 am    Post subject: Reply with quote

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
View user's profile Send private message
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Thu Apr 23, 2009 7:45 am    Post subject: Reply with quote

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=category&id=38%3Apsp&option=com_content&Itemid=56
Back to top
View user's profile Send private message AIM Address
McThunderThighs



Joined: 20 Apr 2009
Posts: 4

PostPosted: Thu Apr 23, 2009 8:14 am    Post subject: Reply with quote

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
View user's profile Send private message
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Fri Apr 24, 2009 8:09 am    Post subject: Reply with quote

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
View user's profile Send private message
McThunderThighs



Joined: 20 Apr 2009
Posts: 4

PostPosted: Fri Apr 24, 2009 10:23 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group