[racket] Installation issues on Ubuntu

From: Paul Meier (pablo.a.meier at gmail.com)
Date: Thu Jan 2 22:39:57 EST 2014

Hi Racket!

I'm trying to install Racket to run on my Linode, which is running Ubuntu
12.04 LTS. I've tried a few things:

* `sudo apt-get install racket` installs an older version of Racket that
complains about (provide (contract-out ...)), which my code uses.

* The Ubuntu Precise distribution installs seemingly without issue, but
when I try to run the REPL, my system complains:

`zsh: exec format error: /usr/racket/bin/racket`

and if I try to run racket on a file (i.e. `racket src/run.rkt`) it throws
with:

$ racket src/run.rkt
/usr/local/bin/racket: 1: /usr/local/bin/racket: ELF: not found
/usr/local/bin/racket: 2: /usr/local/bin/racket: Syntax error: "("
unexpected

which makes me think the binary doesn't like my system.

* Finally, I've tried compiling from source, but when I get to the `sudo
make install` step, it fails pretty opaquely at around this point in the
console output:

raco setup: 1 making: algol60/examples
raco setup: 1 making: compatibility
raco setup: 1 making: compatibility/scribblings
Killed
make[1]: *** [install-3m] Error 137

---

With all this in mind, can anybody shed some light on how to stop the
failures? I don't mind which method I end up using, I'd just like to get my
program running one way or another.

Thanks! :D

- Pablo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20140102/4dc730f0/attachment-0001.html>

Posted on the users mailing list.