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

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

Moderators: cheriff, TyRaNiD

Post Reply
Nine_Masquerade_
Posts: 26
Joined: Thu Jun 18, 2009 10:30 am

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

Post by Nine_Masquerade_ »

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? ... 683faba627

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/showth ... 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.
Nine_Masquerade_
Posts: 26
Joined: Thu Jun 18, 2009 10:30 am

Post by Nine_Masquerade_ »

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?
kralyk
Posts: 114
Joined: Sun Apr 06, 2008 8:18 pm
Location: Czech Republic, central EU

Post by kralyk »

MinPSPW is very convenient, it works out of the box.
But if you dont mind linux, stay on linux...
...sorry for my english...
Heimdall
Posts: 245
Joined: Thu Nov 10, 2005 1:29 am
Location: Netherlands
Contact:

Post by Heimdall »

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

Post by J.F. »

Wow, that would be awesome. Great job there. :)
Post Reply