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 

[SOLVED] Help Please!! error in Ubuntu 9.04 when compiling!!

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



Joined: 18 Jun 2009
Posts: 26

PostPosted: Thu Jun 18, 2009 10:45 am    Post subject: [SOLVED] Help Please!! error in Ubuntu 9.04 when compiling!! Reply with quote

I've spent about two days tirelessly working to setup the environment, first in Cygwin on Vista, which was too much of a hassle so... I then hooked up a 20g slave and installed Ubuntu 9.04. I spent a disturbing amount of time lurking forums and progressing, conquering error after error, but now i think its time i ask for some help.

I installed the toolchain using this handy little script:
http://forums.ps2dev.org/viewtopic.php?p=81428&sid=5c3351cb31c35b10844cfb683faba627

and now when i try to compile the Hello World source, i get this error:

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

i have the following lines already added to the end of my .bashrc file:

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

Also build.mak is definitely in /lib/

Please help!! I'm so close!!

Thank You in advance.

=======EDIT==========
I was looking at this:

http://www.dcemu.co.uk/vbulletin/showthread.php?p=2148226586

and when i try and type just "psp-config" into the terminal i get:

bash: psp-config: command not found

so im guessing it has something to do with the export lines at the end of .bashrc

Thanks again to anyone who will help.


Last edited by Nine_Masquerade_ on Wed Jul 15, 2009 4:30 am; edited 1 time in total
Back to top
View user's profile Send private message
Nine_Masquerade_



Joined: 18 Jun 2009
Posts: 26

PostPosted: Thu Jun 18, 2009 1:49 pm    Post subject: Reply with quote

I am seriously s****** my pants right now. I figured out the problem. I had two "pspdev" folders:
one at: /usr/local/
the other at: /home/nine-masquerade/

it turns out that the script that i ran installed it to the second directory.

The problem was that the export was pointing to the first one,which did not have the full installation.

Just copied the pspdev folder from the second directory to the first and it now works perfectly.

I hope this thread can help others out there who had the same trouble as me.

**Also just wondering, how is MinPSPW?

Should i try that since overall it may end up being more convenient?
Back to top
View user's profile Send private message
kralyk



Joined: 06 Apr 2008
Posts: 114
Location: Czech Republic, central EU

PostPosted: Thu Jun 18, 2009 9:10 pm    Post subject: Reply with quote

MinPSPW is very convenient, it works out of the box.
But if you dont mind linux, stay on linux...
_________________
...sorry for my english...
Back to top
View user's profile Send private message
Heimdall



Joined: 10 Nov 2005
Posts: 259
Location: Netherlands

PostPosted: Fri Jun 19, 2009 5:02 am    Post subject: Reply with quote

I've updated the minpspw build script to work also under linux (ubuntu 9.04). I've a binary build in the site also. If everything goes as planned, I'll be releasing a new build now in sync for Windows/Linux/OpenSolaris. So you have all the same stuff SDK + devpaks + pspsh + remotejoy for all platforms.
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Fri Jun 19, 2009 6:55 am    Post subject: Reply with quote

Wow, that would be awesome. Great job there. :)
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