After spending a few days reading many different tutorials, googling, and searching forums I am brought down to making a new topic to ask for help... If this has been answered before I'm very sorry, I swear I searched for hours on end. So here it goes....
I'm using Cygwin Version 1.5.24-2 (The newest Version) with ALL packages installed.
Windows XP (No service pack 2)
And I've tried both the Psptoolchain from the ps2dev.org main page
and the script from oopo.net
I'll try to summarize a few of my problems, One tutorial told me to use svn update to grab the newest toolchain from a repository. Any svn program I use be it the Cygwin version or RapidSVN both tell me I have malformed files, Dir-Prop-Base and Dir-Props specifically.
Another tutorial told me to edit toolchain.sh and find and replace all instances of "gmake" with "make" and "gpatch" with "patch.
I tried that... When I go to run ./toolchain.sh I get the following...
./toolchain.sh: Line 3: $'\r': Command Not Found
./toolchain.sh: Line 36: syntax error: unexpected end of file
I also added the following lines to Cygwin.Bat. Most tutorials say to do it AFTER toolchain.sh is done, But I had less errors if I did it before...
set path=%path%;D:/cygwin/usr/local/pspdev/bin
set PSPSDK=D:/cygwin/usr/local/pspdev
I hope this is enough info and that I haven't left anything out. This has been driving me crazy for a few days now. I'll take any suggestions I just want to start coding for the PSP. Thanks a bunch guys. BTW This is my first post in these forums, Hopefully I can be a active member of the PSP scene.
Problem with the PSPToolchain....
-
- Posts: 4
- Joined: Fri May 11, 2007 7:36 am
- Location: Dallas, Texas
-
- Posts: 4
- Joined: Fri May 11, 2007 7:36 am
- Location: Dallas, Texas
Both of the Svns gave me the impression that they didn't download a thing. How could I go about correcting that? I have a passing knowledge of Linux, Just enough to get me by... I tried browsing through toolchain.sh figuring the
errors were only on two lines but that was fruitless =P
Is there anyway that I could bypass using svn in general and just get the updated toolchain from an http download? Or is my toolchain.sh fixable?
Thanks in advance.
errors were only on two lines but that was fruitless =P
Is there anyway that I could bypass using svn in general and just get the updated toolchain from an http download? Or is my toolchain.sh fixable?
Thanks in advance.
-
- Posts: 4
- Joined: Fri May 11, 2007 7:36 am
- Location: Dallas, Texas
Aha! I fixed my own problem, All the tutorials I read said use Winrar to extract the contents of the toolchain to the cygwin\home\user directory. Apparently this dosn't work (At least for me) I had to download the tgz file directly to cygwin\home\"user" directory and use the command
tar -xf psptoolchain-20060120.tgz
That made the psptoolchain directory but this time my svn files weren't malformed. I used svn update, worked fine, then ./toolchain.sh and the script is running fine while we speak. Sorry to waste anyones time, I didn't find this solution anywhere else. Maybe someone else will read this and benefit from it like I did. Thanks!
tar -xf psptoolchain-20060120.tgz
That made the psptoolchain directory but this time my svn files weren't malformed. I used svn update, worked fine, then ./toolchain.sh and the script is running fine while we speak. Sorry to waste anyones time, I didn't find this solution anywhere else. Maybe someone else will read this and benefit from it like I did. Thanks!
-
- Posts: 4
- Joined: Fri May 11, 2007 7:36 am
- Location: Dallas, Texas