Cappuccino Install Error on OSX 10.4 cygpath: command not found
This is my own hacky resolve of an error while installing cappuccino on a mac (OS 10.4). I just thought I'd share, as I couldn't find any useful stuff online
Basically, the instructions over on http://cappuccino.org/ state that once you download the system, run the bootstrap, and it will pull and install the necessary files. However, in my case, once it got as far as downloading narwhal, it bombed out, throwing the error: /PATH/TO/NARWHAL/engines/rhino/narwhal-rhino line 1: cygpath: command not foundException in thread "main" java.lang.NoClassDefFoundError: ....etc My fix for this was to go into the narwhal-rhino script and find the block ( at line 35 on my copy)
if [ "$(which cygpath 2>/dev/null)" ]; then CLASSPATH=$(cygpath -wp -- "$CLASSPATH") BOOTCLASSPATH=$(cygpath -wp -- "$BOOTCLASSPATH") BOOTSTRAP=$(cygpath -wa -- "$BOOTSTRAP") export NARWHAL_HOME=$(cygpath -wa -- "$NARWHAL_HOME") export NARWHAL_ENGINE_HOME=$(cygpath -wa -- "$NARWHAL_ENGINE_HOME") fiMy shell scripting is shaky at best, but it looks like this conditional is bugging on my system. If I run "which cygpath" from terminal, I get a set of results back saying where it isn't (It's not here). I'm presuming the conditional in this script is looking for NULL, therefore it assumes cygpath is set, and goes to try and run the block.
So I commented out the block (put a # at the start of each line). Save the file, then try to run Starter/bootstrap again.
This time don't re-download narwhal as it will overwrite your changes. (The script asked me twice if I wanted to download it). Success. It seems to be working fine for me now.
