Arc Forumnew | comments | leaders | submitlogin
Installing Arc on Gentoo 2008.0 beta 2 (two issues in Gentoo, Debian works fine.)
2 points by onegaishimasu 6401 days ago | 7 comments
Gentoo does not have an mzscheme package, but it has a drscheme package that provides mzscheme. So far so good. But Gentoo's oldest version of drscheme is 360 (which provides mzscheme 360). So I looked for drscheme 352 and found it was no longer available.

Now Arc runs with mzscheme 360 (from the drscheme package). But every time I hit enter the shell repeats everything I just typed, along with an empty prompt and a blank line and then a new prompt. It works, near as I can see... but is anyone else getting this problem? It's a bit confusing.

FWIW, my debian box runs Arc swimmingly and I've been practicing things like integer factorization and the like in Arc. I'd be interested in running Arc across a Beowulf cluster, is anybody looking at that yet? Lovely language!



2 points by absz 6400 days ago | link

The best thing to do is to install the Anarki version: it runs on all mzschemes and is more active, with a bunch of enhancements. It's a git repository that anyone can push to and pull from. More information here: http://arclanguage.org/item?id=4951

-----

3 points by onegaishimasu 6400 days ago | link

Thanks, it works great! Nice to be doing Arc again. Also, looks like the bug where it repeats all kinds of things is not from scheme or arc but is rlwrap and ssh fighting. Because if I drop either one, it works again. Not yet finished documenting the bug.

Thanks for the link.

-----

1 point by absz 6400 days ago | link

No problem. And for what it's worth, I don't use rlwrap, I use mzscheme's builtin readline: in ~/.arcshrc, I have the line

  ($ (dynamic-require '(lib "rep.ss" "readline") (zero? 1)))
, which provides readline functionality.

-----

3 points by onegaishimasu 6395 days ago | link

Thank you! That works wonderfully. It even saves readline history across (quit) and restart. The prompt shows up at different times now, but that seems cosmetic.

-----

3 points by absz 6395 days ago | link

Glad to have been of assistance.

Oh, you're having the problem where you get

  arc> 
  (user-input (goes 'here))
instead of

  arc> (but:user-input (should-go 'here))
? I though I was the only one with that problem, and I hadn't realized that the readline was causing it. Unfortunately, I don't know enough about mzscheme to even know where to begin looking to fix it... I've seen it in other mzscheme things, though, so it's not just Arc.

-----

2 points by onegaishimasu 6394 days ago | link

Exactly! But let me try something. Okay, if I skip ssh that doesn't help at all. Readline moves the prompt like you described. Rlwrap does it, and so does the .arcshrc thing.

Funny thing is, debian's mzscheme + arc2.tar are fine, no problem at all. So it must be my mzscheme.

-----

2 points by absz 6394 days ago | link

Well, it's mine too (Mac OS X, v372)—I wonder what the root cause is?

-----