 |
forums.ps2dev.org Homebrew PS2, PSP & PS3 Development Discussions
|
| View previous topic :: View next topic |
| Author |
Message |
Wally

Joined: 26 Sep 2005 Posts: 672
|
Posted: Tue Sep 04, 2007 3:49 pm Post subject: |
|
|
StrmnNrmn has posted a guide on his blog
here it is
| Quote: |
To install the PSPSDK I largely followed this guide (http://forums.ps2dev.org/viewtopic.php?t=5391) on the ps2dev.org forums. I already had XCode and fink installed. Fink complained when I tried to install all the listed packages, and I had to remove one of them from the command line (I think it was autogen, but I can't really remember now.)
I've been using the most recent psptoolchain script, which was updated a few weeks ago, and I had to make a couple of modifications. In depends/check-ncurses.sh I had to change the check for ncurses to look for the OSX .dyliib file:
## Check for a ncurses library.ls /usr/lib/libncurses.a 1> /dev/null || ls /usr/lib/libncurses.dll.a || { echo "ERROR: Install ncurses before continuing."; exit 1; }
became:
## Check for a ncurses library.ls /usr/lib/libncurses.a 1> /dev/null || ls /usr/lib/libncurses.dll.a || ls /usr/lib/libncurses.dylib || { echo "ERROR: Install ncurses before continuing."; exit 1; }
Secondly I had to make this change to scripts/001-binutils-2.16.1.sh. As urchin mentions on the ps2dev.org forum, ".m" is the extension for Objective C files in OSX. The '-r' tells make to ignore the built-in implicit rules, and everything works fine:
So:
## Compile and install.make clean && make -j 2 && make install && make clean || { exit 1; }
became:
## Compile and install.make clean && make -r -j 2 && make install && make clean || { exit 1; }
(note the '-r' flag on the second invocation of make.)
I left the psptoolchain script doing its stuff for a couple of hours, and when I came back to it everything seemed to have completed and installed correctly.
|
Hope this helps |
|
| Back to top |
|
 |
floorball92
Joined: 05 Apr 2008 Posts: 30 Location: Germany -> Hessen -> Hanau
|
Posted: Mon Feb 23, 2009 5:20 am Post subject: |
|
|
does it also work on leopard?? _________________
 |
|
| Back to top |
|
 |
Wally

Joined: 26 Sep 2005 Posts: 672
|
Posted: Mon Feb 23, 2009 8:28 am Post subject: |
|
|
| should do. Although there's other libraries that you need. |
|
| Back to top |
|
 |
|
|
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
|