Arc Forumnew | comments | leaders | submitlogin
1 point by lark 4636 days ago | link | parent

It doesn't work. racket doesn't run

  $ racket -f as.scm 
  -bash: racket: command not found
---

  $ file `which racket`
  /home/akkartik/racket/bin/racket: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, not stripped
---

Yes, I'm using it as an example of my home directory name. Bad example it seems.

---

I have a 4.2.1 mzscheme, and that reports:

  $ mzscheme -f as.scm 
  ac.scm:1323:9: racket/unsafe/ops: standard-module-name-resolver: collection not found: #<path:racket/unsafe> in any of: (#<path:/home/lark/.plt-scheme/4.2.1/collects> #<path:/usr/lib/plt/collects>) in: racket/unsafe/ops


1 point by akkartik 4635 days ago | link

Thanks for that info. Yeah it may not work with mzscheme because that's a legacy language.

Can you tell me what version of linux you're using?

All my servers are 32-bit linux, so I'm not sure what's going on. Googling around, are any of the answers here useful?

http://superuser.com/questions/248512/why-do-i-get-command-n...

-----

1 point by lark 4635 days ago | link

I must be on a 32-bit linux.

  $ uname -m
  i686
All right, compiling racket...

Can I ask why anarki does not work with mzscheme 372? Arc works with it.

-----

1 point by akkartik 4635 days ago | link

I'm sure there's a 32-bit version you can download.

"Can I ask why anarki does not work with mzscheme 372? Arc works with it."

Yeah, I misspoke. I meant that I don't know if anarki works with mzscheme because I haven't tried it in forever and the default anarki instructions are to use racket.

I'm pretty sure it won't work with v372, that's a really old version. I believe pairs used to be mutable by default back then. Or perhaps they were immutable, but that was a big transition and I'm sure there were bugfixes.

And if you're going to install a more recent version of racket, might as well just run racket since it gets the most eyeballs on bugs. The community seems to have converged on racket as well. Testing resources are scarce; easier to just focus on one configuration.

BTW, are you aware of the wiki? http://sites.google.com/site/arclanguagewiki

-----

1 point by lark 4635 days ago | link

There is a 32-bit version I can download -- just not for Debian.

Building from source gets me to:

... raco setup: 0 making: tests/mzcom raco setup: 0 making: tests/match Racket virtual machine has run out of memory; aborting

Enough.

-----

1 point by akkartik 4635 days ago | link

That's too bad. My commiserations.

Edit: Hmm, I run mint which is based on debian. What am I doing? I think I just downloaded the ubuntu version. It's not like it's a real deb and installs in system dirs anyway.

-----

1 point by lark 4634 days ago | link

Oh you legacy programs, you'll be the death of me.

-----

1 point by akkartik 4634 days ago | link

Did installing the ubuntu version of racket work?

-----

2 points by lark 4632 days ago | link

Anarki runs now, found a package. Thanks for the help.

-----

1 point by akkartik 4632 days ago | link

Awesome! Can you share more details?

-----

1 point by lark 4626 days ago | link

I installed racket 5.2.1+dfsg1-4 from Debian sid.

It makes Anarki start without problems.

-----