[NEW PROBLEM] MIT-Scheme does not work, compiled but won't install

Hi MIT-scheme doesn't seem to work for me on Ubuntu Hardy, like many others who have reported the same issue. So I tried to follow the instructions on http://www.gnu.org/software/mit-scheme/liarc-build.html to rebuild from the source but haven't been successful. the whole thing was done in a minute (it is supposed to take hours..)..

EDIT: I figured that it was because I didn't have build-essential installed...

NEW PROBLEM: Now I've compiled it, but it seems to have trouble installing....

Re: MIT-Scheme does not work, cannot compile either.

This is caused by new AppArmor support in the kernel, blocking MIT Scheme's attempt to grab low memory. A short-term workaround is to run

sudo sysctl -w vm.mmap_min_addr=0

To make the change permanent, edit that binding in /etc/sysctl.conf.

I'll modify the next release so that the Scheme memory allocator accounts for this. Meanwhile, the mit-scheme-c version works correctly since it uses a different memory allocator -- but you'll need at least 1GB of RAM to compile it.

Re: MIT-Scheme does not work, cannot compile either.

This is caused by new AppArmor support in the kernel, blocking MIT Scheme's attempt to grab low memory. A short-term workaround is to run

sudo sysctl -w vm.mmap_min_addr=0

To make the change permanent, edit that binding in /etc/sysctl.conf.

I'll modify the next release so that the Scheme memory allocator accounts for this. Meanwhile, the mit-scheme-c version works correctly since it uses a different memory allocator -- but you'll need at least 1GB of RAM to compile it.