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 SDK and CYGWIN and Linux help.

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



Joined: 27 Jul 2006
Posts: 10

PostPosted: Thu Jul 27, 2006 12:33 am    Post subject: PSP SDK and CYGWIN and Linux help. Reply with quote

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?
Back to top
View user's profile Send private message
Drakonite
Site Admin


Joined: 17 Jan 2004
Posts: 989

PostPosted: Thu Jul 27, 2006 12:35 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Visit poster's website
realn0whereman



Joined: 27 Jul 2006
Posts: 10

PostPosted: Thu Jul 27, 2006 12:39 am    Post subject: Reply with quote

:-/ 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
Back to top
View user's profile Send private message
Drakonite
Site Admin


Joined: 17 Jan 2004
Posts: 989

PostPosted: Thu Jul 27, 2006 3:02 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Visit poster's website
jsharrad



Joined: 20 Oct 2005
Posts: 102

PostPosted: Thu Jul 27, 2006 3:58 am    Post subject: Reply with quote

This might be a silly question, but do you have permission to write to where you are trying to install the pspsdk? ;)
Back to top
View user's profile Send private message
realn0whereman



Joined: 27 Jul 2006
Posts: 10

PostPosted: Thu Jul 27, 2006 7:05 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
realn0whereman



Joined: 27 Jul 2006
Posts: 10

PostPosted: Thu Jul 27, 2006 7:06 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
Drakonite
Site Admin


Joined: 17 Jan 2004
Posts: 989

PostPosted: Thu Jul 27, 2006 8:03 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Visit poster's website
realn0whereman



Joined: 27 Jul 2006
Posts: 10

PostPosted: Thu Jul 27, 2006 8:34 am    Post subject: Reply with quote

how would i do that???
Back to top
View user's profile Send private message
Drakonite
Site Admin


Joined: 17 Jan 2004
Posts: 989

PostPosted: Thu Jul 27, 2006 10:02 pm    Post subject: Reply with quote

Assuming you used the defaults, add
Code:
export PATH=$PATH:/usr/local/pspdev/bin

to your .bashrc or /etc/profile
_________________
Shoot Pixels Not People!
Makeshift Development
Back to top
View user's profile Send private message Visit poster's website
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