ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am currently taking a computer science class focusing on programming in general and not focusing on teaching a specific language. To do so they're using the simple programming language derivative of lisp, scheme. (I just thought I should explain that or I'd get people asking me "Why the heck are you taking a class about scheme?") Anyway, I wanted to have most of the same stuff we're using on the lab computers on my computer. We're using emacs with the MIT/GNU Scheme and in the lab there is Ubuntu. I am using Kubuntu. Emacs works fine, but when I went to install MIT/GNU Scheme from the add/remove programs list it is grayed out. Please keep in mind, although I can usually figure most of it out, I'm not an expert with Linux yet. The first thing that came to my mind was that it's because I'm using KDE and not GNOME, but I don't think that would cause the problem. I've already tried dpkg --configure -a, but it didn't help. If you have suggestions please let me know. Thanks for the help.
Are you using the Synaptic package manager or something else? I would recommend using Synaptic for package management in Kubuntu, "sudo apt-get install synaptic" should get it installed for you.
What is the content of your /etc/apt/sources.list file? You may not have the correct repositories enabled.
I'm using Kubuntu Hardy (8.04) and I can install MIT-Scheme just fine. Here's my /etc/apt/sources.list:
Code:
## Main Ubuntu repositories
deb http://archive.ubuntu.com/ubuntu/ hardy main restricted
deb-src http://archive.ubuntu.com/ubuntu/ hardy main restricted
## Major bug fix updates
deb http://archive.ubuntu.com/ubuntu/ hardy-updates main restricted
deb-src http://archive.ubuntu.com/ubuntu/ hardy-updates main restricted
## unsupported universe
deb http://archive.ubuntu.com/ubuntu/ hardy universe
deb-src http://archive.ubuntu.com/ubuntu/ hardy universe
deb http://archive.ubuntu.com/ubuntu/ hardy-updates universe
deb-src http://archive.ubuntu.com/ubuntu/ hardy-updates universe
## unsupported multiverse
deb http://archive.ubuntu.com/ubuntu/ hardy multiverse
deb-src http://archive.ubuntu.com/ubuntu/ hardy multiverse
deb http://archive.ubuntu.com/ubuntu/ hardy-updates multiverse
deb-src http://archive.ubuntu.com/ubuntu/ hardy-updates multiverse
## Canonical's 'partner' repository
deb http://archive.canonical.com/ubuntu hardy partner
deb-src http://archive.canonical.com/ubuntu hardy partner
## Hardy security updates
#main
deb http://archive.ubuntu.com/ubuntu/ hardy-security main restricted
deb-src http://archive.ubuntu.com/ubuntu/ hardy-security main restricted
#universe
deb http://archive.ubuntu.com/ubuntu/ hardy-security universe
deb-src http://archive.ubuntu.com/ubuntu/ hardy-security universe
#multiverse
deb http://archive.ubuntu.com/ubuntu/ hardy-security multiverse
deb-src http://archive.ubuntu.com/ubuntu/ hardy-security multiverse
#non-free multimedia
deb http://packages.medibuntu.org/ hardy free non-free
# old dapper packages
deb http://archive.ubuntu.com/ubuntu/ dapper universe
From what I can see MIT-Scheme should be available from the main Hardy repository and the old dapper repositories. Enabling one of them might do the trick.
From what I can see MIT-Scheme should be available from the main Hardy repository and the old dapper repositories. Enabling one of them might do the trick.
I have all of the hardy repositories and it is not there.
mit-scheme-doc is present though
I have all of the hardy repositories and it is not there.
mit-scheme-doc is present though
You're right, it's not in main, it's in universse. Weird that you show the mit-scheme-doc package in main, because it's also only in universe from what I can tell. Your repositories may need to be updated, try "sudo apt-get update"
If your package system is truly borked, you can download the .deb from the Ubuntu universe repository manually here:
Lol! Didn't notice the 64bit OSes in your tag! That would do it. I guess no one has compiled MIT Scheme for 64 bits yet... funny they would make the docs available though.
Ok, so I've actually been thinking of switching my Kubuntu to Ubuntu for a while now and I finally decided to switch that over, so I'm now running the 8.04. MIT Scheme installed just fine but there's a new problem with running it. When in emacs 22 (X11) I go to run inferior scheme I get the following:
Code:
Largest address does not fit in datum field of object.
Allocate less space or re-configure without HEAP_IN_LOW_MEMORY.
Process scheme exited abnormally with code 1
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.