PSP SDK and CYGWIN and Linux help.

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

Moderators: cheriff, TyRaNiD

Post Reply
realn0whereman
Posts: 10
Joined: Thu Jul 27, 2006 12:30 am

PSP SDK and CYGWIN and Linux help.

Post by realn0whereman »

i cannot install cygwin on windows because i get a BSOD. so i installed linux to use it as a dev enviornment. is there an easy way to install the devel packages on linux or do i have to do all the manually?
User avatar
Drakonite
Site Admin
Posts: 990
Joined: Sat Jan 17, 2004 1:30 am
Contact:

Post by Drakonite »

Just run the toolchain script...

If you were getting BSODs you may likely have a problem with your hardware.
Shoot Pixels Not People!
Makeshift Development
realn0whereman
Posts: 10
Joined: Thu Jul 27, 2006 12:30 am

Post by realn0whereman »

:-/ well when i tried it a few nights ago it tells me that it cant confige binutils or some other guff and id have to install that package manually... will the script install all the needed packages? im currently on ubuntu 5.1
User avatar
Drakonite
Site Admin
Posts: 990
Joined: Sat Jan 17, 2004 1:30 am
Contact:

Post by Drakonite »

If it can't install binutils then there is something wrong with the host build environment.

The script requires a host toolchain, and it does not install any of that for you. Typically that stuff is installed by default in linux. The main question will be if the version of autoconf installed is new enough or not.
Shoot Pixels Not People!
Makeshift Development
jsharrad
Posts: 100
Joined: Thu Oct 20, 2005 3:06 am

Post by jsharrad »

This might be a silly question, but do you have permission to write to where you are trying to install the pspsdk? ;)
realn0whereman
Posts: 10
Joined: Thu Jul 27, 2006 12:30 am

Post by realn0whereman »

yeah cz i did sudo ./toochain.sh

i tried installing in sectins and only the first one makes it.


im about to give up. i had someone install it on their machine and upload it... and i get an error when i try to make something about the psp sdk not being defined when i edited the batch file as stated in the tut @ psp-programming.$ make
make: psp-config: Command not found
make: psp-config: Command not found
/lib/build.mak:15: *** $(PSPSDK) is undefined. Use "PSPSDK := $(shell psp-config --pspsdk-path)" in your Makefile. Stop.
realn0whereman
Posts: 10
Joined: Thu Jul 27, 2006 12:30 am

Post by realn0whereman »

jsharrad wrote:This might be a silly question, but do you have permission to write to where you are trying to install the pspsdk? ;)
i know you from somewhere... i asked a related question and u had a bat avatar... i go by trainstroker or realn0whereman
User avatar
Drakonite
Site Admin
Posts: 990
Joined: Sat Jan 17, 2004 1:30 am
Contact:

Post by Drakonite »

Your path needs to be setup it sounds like.


And they are not batch files. Batch files are dumb scripts. Makefiles are smart dependency based build setups.
Shoot Pixels Not People!
Makeshift Development
realn0whereman
Posts: 10
Joined: Thu Jul 27, 2006 12:30 am

Post by realn0whereman »

how would i do that???
User avatar
Drakonite
Site Admin
Posts: 990
Joined: Sat Jan 17, 2004 1:30 am
Contact:

Post by Drakonite »

Assuming you used the defaults, add

Code: Select all

export PATH=$PATH:/usr/local/pspdev/bin
to your .bashrc or /etc/profile
Shoot Pixels Not People!
Makeshift Development
Post Reply