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 

psp-config error

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



Joined: 14 Dec 2005
Posts: 14

PostPosted: Wed Dec 14, 2005 9:51 am    Post subject: psp-config error Reply with quote

im a noob but when i try to compile it says:

make:psp-config: Command not found
Makefile:17: /lib/build.mak: no such file or directory
make: ***No rule to make target '/lib/build.mak'. Stop.

i installed the psptoolchain (which took forever to install) and now i try to compile some source code and all i get is this....i think i have to open some files up and change some text or something...please..im just trying to set this thing up so i could program a hello world! application for the psp please help
Back to top
View user's profile Send private message
blazintildadeath



Joined: 14 Dec 2005
Posts: 14

PostPosted: Wed Dec 14, 2005 9:54 am    Post subject: Reply with quote

by the way im using linux...suse 10.0, gcc 4.0.2....
Back to top
View user's profile Send private message
blazintildadeath



Joined: 14 Dec 2005
Posts: 14

PostPosted: Wed Dec 14, 2005 12:35 pm    Post subject: Reply with quote

nevermind i found the solution
Back to top
View user's profile Send private message
reakt



Joined: 06 May 2005
Posts: 22
Location: Basingstoke, UK

PostPosted: Thu Dec 15, 2005 10:46 pm    Post subject: Reply with quote

No doubt you found that psp-config was not in your path.
Incase anyone else has the same problem, add this directory to your path

/usr/local/pspdev/bin
Back to top
View user's profile Send private message
blazintildadeath



Joined: 14 Dec 2005
Posts: 14

PostPosted: Fri Dec 16, 2005 5:11 am    Post subject: Reply with quote

but hey, i gotta do write this code ALL THE TIME! right before i type "make" to compile my code in the directory where source codes are at....

## PSPDEV PATH SETTINGS
export PSPDEV="/usr/local/pspdev"
export PSPSDK="$PSPDEV/psp/sdk"
export PATH="$PATH:$PSPDEV/bin:$PSPSDK/bin"

im tried of typing all that...is there a shortier way???? is there a way i dont have to write this crap and still be able to compile it???
Back to top
View user's profile Send private message
mrbrown



Joined: 17 Jan 2004
Posts: 1536

PostPosted: Fri Dec 16, 2005 5:23 am    Post subject: Reply with quote

You only have to type export once for it to remain for the shell session you're in. And you only need to set the PATH, the other two aren't required.

If you put this in your .bash_profile in your Home directory then you never have to type it again.
Back to top
View user's profile Send private message
Josh1billion



Joined: 12 Jul 2005
Posts: 32
Location: Wisconsin, USA

PostPosted: Fri Jan 06, 2006 1:53 pm    Post subject: Reply with quote

reakt wrote:
No doubt you found that psp-config was not in your path.
Incase anyone else has the same problem, add this directory to your path

/usr/local/pspdev/bin

I've been getting the same error as in the original post, and I have /usr/local/pspdev/bin as a path, but I know what the problem is: looking in that folder (/usr/local/pspdev/bin), there is no psp-config.exe. There is psp-gcc.exe and a bunch of others, but no psp-config.exe.

If someone has any idea why, let me know. Until then, I'm trying to reinstall the toolchain from scratch, because the original installation had a few problems along the way anyway.

edit, problem solved: reinstalling (after I manually installed automake) fixed the problem.
_________________
Josh1billion - PHP, C++, PSP programmer.
Back to top
View user's profile Send private message Visit poster's website AIM Address
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