Page 1 of 1

help building toolchains

Posted: Wed Jul 16, 2008 11:40 pm
by NoobWithBoobs
Hello,
I am new to compiling ps2 files,as my user name indicates,lol.After searching the internet for tutorials ,thought i had it figured out.Well i used "svn export svn://svn.ps2dev.org/ps2/trunk/ps2toolchain" and it exported,but then the next instruction of the tutorial was to switch to the ps2toolchain dir and type "sh.toolchain.sh",and i got "../check-patch.sh: /bin/patch permission denied. ERROR:install patch before continuing. So my question is obviously where do i download the patch?

BTW:I am using the tut at http://lukasz.dk/playstation-2-programm ... -tutorial/

Posted: Thu Jul 17, 2008 12:15 am
by LBGSHI
It should be "sh toolchain.sh", rather than "sh.toolchain.sh".

I take it you've followed the preceding instructions to the letter?

Posted: Thu Jul 17, 2008 12:33 am
by NoobWithBoobs
yea im sorry i misposted i did actually type sh toolchain.sh in the program,not the sh.toolchain.sh.I did follow the preceding instructions,including the special instructions for vista( from: http://forums.ps2dev.org/viewtopic.php?p=55772#55772 ) .From which ,after adding two files i tried typing " CFLAGS="-D__USE_MINGW_ACCESS" sh toolchain.sh " .Gettin the same check-patch error.

Posted: Thu Jul 17, 2008 1:32 am
by LBGSHI
This page may provide some insight...

http://www.nabble.com/Re:-environment-h ... 89415.html

As should this page: http://www.nabble.com/help-to-compile-g ... 59350.html

It seems this is quite a common issue with Vista and MinGW or Cygwin...