[racket] Installation issues on Ubuntu

From: Todd O'Bryan (toddobryan at gmail.com)
Date: Thu Jan 2 23:07:31 EST 2014

Use the PPA. It makes everything happy:

$ sudo add-apt-repository ppa:plt/racket
$ sudo apt-get update
$ sudo apt-get install racket

If that doesn't work for you, let me know and I'll try reinstalling to
see if I do anything special that I don't recall at the moment.

Todd

On Thu, Jan 2, 2014 at 10:39 PM, Paul Meier <pablo.a.meier at gmail.com> wrote:
> 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
>
> ____________________
>   Racket Users list:
>   http://lists.racket-lang.org/users
>

Posted on the users mailing list.