Arc Forumnew | comments | leaders | submitlogin
Windows Install / Keeping Arc's Files In A Different Directory
8 points by oditogre 6176 days ago | 12 comments
I was kind of banging my head against the wall trying to get this to work on Windows without just unpacking the arc .tar and then pasting the contents of the arc0 folder directly into the directory MzScheme is in, but I got it working after digging around in the MzScheme docs on their site a bit.

Assuming you have MzScheme in C:\mzscheme and arc's files in C:\mzscheme\arc0\, the following batch file will start arc:

  @echo off
  cd c:\mzscheme
  mzscheme.exe -m -d arc0\as.scm
I tried everything I could think of to get it to work with the 'load' flag (-f) and couldn't get it working (it appeared to open as.scm fine, but flail and die when as.scm asked for ac.scm). The 'load/cd' flag (-d) seems to work fine, and testing code from the arc tutorial works ok.

If anybody knows of a reason that doing it this way is a bad idea, let me know please.



2 points by jdvolz 6173 days ago | link

I still can't get Arc working on my windows machine. I got MzScheme 372 installed and it appears to work fine. I downloaded and untared it. I added MzScheme to the path, and put in the standard: mzscheme -m -f as.scm. I got the following error message and I appear to be opening into MzScheme (w/ no Arc). Here's the error message:

"compile: bad syntax; function application is not allowed, because no #%app syntax transformer is bound in: (quote nil)

===context=== c:\program files\MzScheme\arc0\ac.scm:915:0: aload1"

What am I missing?

Thanks in advance.

-----

2 points by jdvolz 6173 days ago | link

Okay, sorry, I just found this was covered here:

http://arclanguage.org/item?id=5

-----

3 points by jkush 6175 days ago | link

I'm actually having problems with the webserver portion of the tutorial. At first (asv) was throwing an error

  Error: "open-output-file: cannot open file:      \"C:/tmp/shashXXX\" (The system cannot find the path specified.; errno=3)"
I added a "tmp" folder since in Windows, it's usually C:\temp\

Now I'm working on:

  Error: "make-string: expects argument of type <non-negative exact interger>; given -1"
I don't have a lot of time, but I'll post something if I get it going.

-----

2 points by rams 6176 days ago | link

Does Ctrl-Z at the prompt on Windows send Arc into a loop for anyone here ? It does for me on WinXP.

-----

3 points by samikc 6175 days ago | link

Yes i am also facing the same problem in WinXp.Is it same in Linux? Anyone has tried?

-----

1 point by s3graham 6175 days ago | link

I get

arc> Error: "Bad object in expression #<eof>"

when trying to Ctrl-D out in Ubuntu, but no infinite loop.

-----

3 points by dfranke 6176 days ago | link

To typeset code, prefix the line with two or more spaces.

  Like this.

-----

1 point by starc 6176 days ago | link

Likely you already know this, but for others... http://arclanguage.org/formatdoc explains the supported formatting.

-----

1 point by oditogre 6176 days ago | link

Ahh, thanks.

-----

2 points by samikc 6176 days ago | link

Hi you can visit the following blog to get Arc working in Windows. It might help!!! http://lispsamik.blogspot.com/2008/01/arc-in-windows.html

-----

1 point by dt 6176 days ago | link

Here's what I did to get Arc started on Windows

1. Install Mzscheme (C:\mzscheme)

2. Unpack arc0.tar (C:\arc0)

3. Add C:\mzscheme to the PATH

4. cd to Arc folder and run mzscheme -m -f as.scm

Hope this helps.

-----

2 points by rams 6176 days ago | link

Don't forget to use v352. I was getting some strange errors with the HEAD version.

-----