SSH’ing through my MacBook Air to Ubuntu is great and all, but nothing beats running Scheme locally and natively. When I followed the instructions scattered around the Internet on Scheme installation, I would usually end up with this error.
scheme: can’t find a readable default for option –band.
searched for file all.com in these directories:
I tried nearly ever combination of symbolic linking from the Applications directory into usr/lib and I even created the infamous usr/local/lib despite its original non-existence.
One source suggested I set the path attribute in my profile. Since I had been copying willy-nilly the symbolic links to just about every location in /bin, /usr/bin/ and usr/lib, nothing made sense. I eliminated those references to start clean and simply updated my .profile with the following:
That will allow the Scheme executable to find the library when it runs. But how can you have it get recognized in the terminal? You actually do need a copy of the Scheme binary in there, or at least a symbolic link. So, just
cd into the /usr/bin directory and then make the symlink.
If you try entering scheme into the terminal now, you’ll either get nothing (e.g. it’s not a proper bash command) or there’s inconsistency detected. What you’ll have to do is exit completely from the terminal. The paths have to update and restarting the terminal is the easy way to do it. After the restart though, you’ll see that scheme should work just fine now when called from the terminal on OSX.