[racket] racket 6.0 build for debian?

From: Stephen Chang (stchang at ccs.neu.edu)
Date: Tue Mar 4 15:21:58 EST 2014

> My next step is to try to built it from source, but it’ll be tricky, because this machine doesn’t have very much ram. CPUS=1 is probably my friend here.

You could also try using a swapfile:

$ sudo dd if=/dev/zero of=/swapfile bs=64M count=16
16+0 records in
16+0 records out
1073741824 bytes (1.1 GB) copied, 7.48003 s, 144 MB/s
$ sudo mkswap /swapfile
Setting up swapspace version 1, size = 1048572 KiB
no label, UUID=652ca330-1559-4908-b0b0-74be8578de3e
$ free -m
             total       used       free     shared    buffers     cached
Mem:           497        426         70          0         13        376
-/+ buffers/cache:         37        459
Swap:            0          0          0
$ sudo swapon /swapfile
$ free -m
             total       used       free     shared    buffers     cached
Mem:           497        427         69          0         13        376
-/+ buffers/cache:         37        459
Swap:         1023          0       1023



It will be slow, on the smallest digital ocean droplet (512mb ram) and
a 1gb swapfile, compiling racket from source takes about 3 hrs but at
least you can leave it unattended.



>
> Am I missing something obvious?
>
> Many thanks,
>
> John
>
>
> ____________________
>   Racket Users list:
>   http://lists.racket-lang.org/users


Posted on the users mailing list.