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 

ubuntu 9.04 compile error

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



Joined: 15 Jun 2009
Posts: 2

PostPosted: Mon Jun 15, 2009 7:10 am    Post subject: ubuntu 9.04 compile error Reply with quote

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



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Mon Jun 15, 2009 10:14 am    Post subject: Reply with quote

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



Joined: 15 Jun 2009
Posts: 2

PostPosted: Mon Jun 15, 2009 11:06 am    Post subject: Reply with quote

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



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Mon Jun 15, 2009 1:29 pm    Post subject: Reply with quote

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