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

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

Moderators: cheriff, TyRaNiD

Post Reply
KickinAezz
Posts: 328
Joined: Sun Jun 03, 2007 10:05 pm

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

Post by KickinAezz »

Readme.txt says:

Code: Select all

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:
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: Select all

cd / && printf 'export PATH="/usr/local/pspdev/bin&#58;$PATH"' >> /etc/profile
Intrigued by PSP system Since December 2006.
Use it more for Development than for Gaming.
ooPo
Site Admin
Posts: 2023
Joined: Sat Jan 17, 2004 9:56 am
Location: Canada
Contact:

Post by ooPo »

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.
User avatar
Raphael
Posts: 646
Joined: Tue Jan 17, 2006 4:54 pm
Location: Germany
Contact:

Post by Raphael »

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
CpuWhiz
Posts: 42
Joined: Mon Jun 04, 2007 1:30 am

Post by CpuWhiz »

If it's a whitepsace issue, you can try quoting it:

Code: Select all

export PATH="$PATH&#58;$PSPDEV/bin"
Post Reply