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 

Oopo,README.txt in Toolchain.sh script should Look Like THIS

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



Joined: 03 Jun 2007
Posts: 328

PostPosted: Tue Oct 23, 2007 7:22 am    Post subject: Oopo,README.txt in Toolchain.sh script should Look Like THIS Reply with quote

Readme.txt says:

Code:
Add the following to your login script:

  export PSPDEV=/usr/local/pspdev
  export PATH=$PATH:$PSPDEV/bin


but that doesn't seem to work :<

This does:

Quote:
export PSPDEV=/usr/local/pspdev
export PATH=$PSPDEV/bin:$PATH


I ran the toolchain 4 times & 006 script 3 times more before finding this out! Hope this fix helps some one else.
--------

If any of things donot work, Cygwin users try this:
Code:
cd / && printf 'export PATH="/usr/local/pspdev/bin:$PATH"' >> /etc/profile


_________________
Intrigued by PSP system Since December 2006.
Use it more for Development than for Gaming.
Back to top
View user's profile Send private message
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Tue Oct 23, 2007 9:54 pm    Post subject: Reply with quote

I suspect there's something conflicting in your path. Shuffling the order around only masks the problem instead of solving it.

Standard practice is to add custom paths at the end of $PATH, so as to not override system policy. It is a terrible security risk to put a user writable directory so early in your path. For example, someone could easily put a modified 'ls' in there that gains access to your account.

Technically, the proper fix for the readme would be to add a line stating that Cygwin is terrible and should never be used, but people get cranky when I start talking like that. So I don't.
Back to top
View user's profile Send private message Visit poster's website
Raphael



Joined: 17 Jan 2006
Posts: 646
Location: Germany

PostPosted: Tue Oct 23, 2007 11:45 pm    Post subject: Reply with quote

I had a similar problem when I had a path with a whitespace in my windows path variable. Might be a solution to take out all paths with whitespaces. Oopo is right - Cygwin is a horrible thing to use, but it's still better than having no *nix environment on your windows machine.
_________________
<Don't push the river, it flows.>
http://wordpress.fx-world.org - my devblog
http://wiki.fx-world.org - VFPU documentation wiki

Alexander Berl
Back to top
View user's profile Send private message Visit poster's website
CpuWhiz



Joined: 04 Jun 2007
Posts: 42

PostPosted: Wed Oct 24, 2007 4:12 am    Post subject: Reply with quote

If it's a whitepsace issue, you can try quoting it:
Code:
export PATH="$PATH:$PSPDEV/bin"
Back to top
View user's profile Send private message
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