Arc Forumnew | comments | leaders | submitlogin
3 points by akkartik 2972 days ago | link | parent

Thanks for asking, GenArx. We've never had good support for Windows since the people here don't use it much, but your heartfelt questions got me to dust off an old Windows machine and try to install Arc on it. I'm going through this process now, and will try to write up better instructions once I succeed. So far I've successfully installed Racket (click on the 'download' link at http://racket-lang.org) and Git on Windows (run the installer at https://git-scm.com/download/win). Can you do those steps while I figure out what to do next?

Let's keep chatting offline. There might be issues I run into that you know how to deal with, or vice versa. Can you send me an email? My address is on my profile.

Edit 16 minutes later: I've gotten Arc running on Windows. Here are the instructions I followed:

0. Install Racket and Git like above.

1. Open Git Bash from the Windows menu and run this command:

    git clone https://github.com/arclanguage/anarki
2. Open Racket from the Windows menu and run these commands one by one:

    (current-directory (find-system-path 'home-dir))
    (current-directory "anarki")
    (load "boot.scm")
    (tl)
Now you should be at the Arc prompt and ready to try out some programs.

I'm sure there are other issues once I start running programs, but at least the core loaded without errors and I can now help fix other issues as we run into them.



3 points by GenArx 2954 days ago | link

[issue] "I've reformatted my Windows and tried your installations instructions above. When I first followed this instructions it worked out just fin [maybe because of the prior mzscheme installations I've made my own]. This time around I'm following your instructions without first installing my first instruction method, and here's the error:

  tl: undefined;
    cannot reference undefined identifier
      context...:
        C:\Program Files\Racket\collects\racket\private\misc.rkt:87:7
    tl: undefien
NOTES:

> I've installed racket-6.4-i386-win32 and Git-2.7.4-32-bit

> Running Windows 7 EE 32bit

-----

2 points by rocketnia 2954 days ago | link

Oops, sorry, this is due to the change I made to boot.scm recently: http://arclanguage.org/item?id=19478

In the case of these instructions, lnstead of (load "boot.scm"), please use (require "boot.scm") now.

-----

1 point by akkartik 2954 days ago | link

Hmm, not sure what's going on. Is the word 'undefien' in your comment exactly as it appears on the error message?

I assume this happens when you type in the third command (tl)?

-----

2 points by GenArx 2952 days ago | link

Welcome to Racket v6.4.

> (current-directory (find-system-path 'home-dir))

> (current-directory "anarki")

> (require "boot.scm")

> (tl)

Rtl: undefined; cannot reference undefined identifier context...: C:\Program Files\Racket\collects\racket\private\misc.rkt:87:7

> stdin::107: read: unexpected `)'

  context...:

   C:\Program Files\Racket\collects\racket\private\misc.rkt:87:7
>

-----

2 points by rocketnia 2952 days ago | link

The error has to do with looking up the variable "Rtl". The "R" probably comes from a bug in Racket's reader where certain things pasted into a Windows terminal window are parsed incorrectly. Where you typed "(tl)", somehow it saw "Rtl)".

In my experience, the bug doesn't occur as long as the text I'm pasting has a newline at the end. Maybe you could try that. That is, instead of just selecting the text you want to copy, select a blank line after it too.

Alternatively, you could type everything by hand instead of pasting... but that sounds pretty painful. Hopefully you don't have to resort to that.

EDIT: I tried to reproduce that pasting issue with Racket 6.4 on Windows 10, and I don't get it anymore. You're using Racket 6.4 too, so are you using a particular version of Windows?

-----

2 points by GenArx 2952 days ago | link

I would want to follow my mzscheme instructions to install arc, but I'll let it pass for now because i want us to solved this Issue.. If I do that your instructions might work but not knowing what's exactly going on without mzscheme, (i think so) :)

-----