1. On desktop: right click -> new -> shortcut
2. Enter a target of: C:\MzScheme\MzScheme.exe -m -f as.scm (or where ever mzscheme is installed)
3. Name the shortcut Arc3
4. Find the shortcut on desktop; right click on it and select properties.
5. Add the path to the arc directory in the 'start-in' box. (example: C:\arc3)
Launch shortcut.
This will get you started with pg's release, but you will need to make changes to account for windows:
(and I might be wrong, but it would seem that since were now using scheme 372 we no longer need to account for the sticky bit problem that anarki accounted for - this was mentioned as a reply in the above post).
notes:
* ensure-dir is an existing function (so replace it),
mkdir is new so add it.
* in the new arc3 you need to take out the qoute on
make-directory:
As far as I know, windows is not officially supported. I think I've gotten it to work on windows before, but you might have some trouble with file system differences, etc.
However, the place to type that in is a command line window in the folder arc was unzipped to.
So for example:
1) Type Windows Key-R to bring up run window
2) Type in "cmd", and hit enter to bring up command prompt
3) Use the "cd" command followed by the directory path of your arc installation.
4) Execute "mzscheme -m -f as.scm" to start arc.
Alternatively, if you're using Vista (not sure about XP), you can Shift-Right Click in a explorer window, and click the dropdown item "Open Command Window Here" to do the same thing as the first three steps.
Thank you for your help. I tried to follow these directions, but it didn't work. I'm not sure I understand them correctly. Steps 1 and 2 are fine, but maybe I didn't do step 3 or 4 the right way. Here's what happened:
I have a folder with MzScheme in it and a folder with arc3 in it. I entered "cd" and the directory of the arc3 folder: "cd C:\Program Files\Arc\arc3" and then I hit enter. The next line looked like this:
C:\Program Files\Arc\arc3>
so I typed in "mzscheme -m -f as.scm" and pressed enter.
This message appeared: 'mzscheme' is not recognized as an internal or external command, operable program, or batch file.
Do I need to be more specific with my directory path? Is there a file inside the arc3 folder that I need to name? Or am I not executing "mzscheme -m -f as.scm" when I type it in?
Ok, so the problem is that windows doesn't know where to find mzscheme.
To rectify the situation, you could either type in the full path to mzscheme instead of just it's name, or you could add it to your PATH variable (that's where windows looks to locate programs when you type them in on the command line)
Here's how to do that temporarily:
PATH=%PATH%;<insert mzscheme path here>
Again, that's PATH=%PATH%, followed by a semicolon and then the path to mzscheme. Unfortunately, this is a temporary fix that will only last as long as that command window.
To make it permanent: right click on "Computer" and go to properties. Somewhere there should be an Advanced Settings link, which should pop up a new window. Click the Environment Variables button, and edit the PATH variable (either for your user or the whole system). Add a semicolon, and then paste in the path to the mzscheme executable.
The installer will ask you where you want to install mzscheme, you can choose any directory that is convenient for you. You do not need the option to create links in standard directories, say "no" to that.
Then you'd run mzscheme from the directory that you installed it to.
In what you posted above, you don't include the path to mzscheme. Are you now including the path? If so, what exactly are you typing, and what error message are you getting exactly?
* tried it with the absolute path
* tried it without
* tried running it in its directory
* tried running it without parameters just to see what happens
all of these ways with the exact same output result (except the path changes as it should)
You're going to need to get help on the PLT Scheme user mailing list for this one. (This is the first mailing list listed at the top of http://www.plt-scheme.org/community.html)
Tell them what operating system you're running, including the output of "uname -a", and which distribution of PLT Scheme you downloaded. Mention you need to run PLT Scheme version 372 specifically. No need to include the "-m" or "-f" options or to mention Arc, just show them the output of when you're in the bin directory and you type just "./mzscheme"
Then, once you have mzscheme working, we may be able to help with any Arc problems you have... :-)
Is ./mzscheme a symbolic link pointing to a missing file? Or is ./mzscheme a shell script with an invalid interpreter line? (the first line, beginning with #! )