LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 06-19-2008, 06:50 PM   #1
Chronothread
Member
 
Registered: Apr 2007
Posts: 121

Rep: Reputation: 15
Problem Installing MIT/GNU Scheme


Hello,

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.
 
Old 06-20-2008, 04:54 PM   #2
JoeDuncan
Member
 
Registered: Aug 2003
Location: Ottawa
Distribution: Redhat 5.2, 6.0, 6.1, Mandrake 7.2, 8.0, 9.1, 9.2, 10.0, Gentoo, Debian 3.1r0
Posts: 224

Rep: Reputation: 30
What version of Kubuntu are you using?

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.
 
Old 06-20-2008, 05:33 PM   #3
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
Quote:
Originally Posted by JoeDuncan View Post
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
 
Old 06-20-2008, 06:33 PM   #4
JoeDuncan
Member
 
Registered: Aug 2003
Location: Ottawa
Distribution: Redhat 5.2, 6.0, 6.1, Mandrake 7.2, 8.0, 9.1, 9.2, 10.0, Gentoo, Debian 3.1r0
Posts: 224

Rep: Reputation: 30
Quote:
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:

http://packages.ubuntu.com/hardy/mit-scheme

Although, if your package system is in such a bad state you can't get it from a package manager, I would consider a re-install...

Last edited by JoeDuncan; 06-20-2008 at 06:36 PM.
 
Old 06-21-2008, 10:44 AM   #5
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
My package state is fine. I updated from gutsy to hardy (x86-64)
Universe is also enabled.

X86-64 that is it (the package is not available) and it is possible to install the docs. The source is available though.

I use drscheme

Best


A. Mani
 
Old 06-21-2008, 05:13 PM   #6
JoeDuncan
Member
 
Registered: Aug 2003
Location: Ottawa
Distribution: Redhat 5.2, 6.0, 6.1, Mandrake 7.2, 8.0, 9.1, 9.2, 10.0, Gentoo, Debian 3.1r0
Posts: 224

Rep: Reputation: 30
Quote:
X86-64 that is it (the package is not available)
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.
 
Old 06-22-2008, 07:01 PM   #7
Chronothread
Member
 
Registered: Apr 2007
Posts: 121

Original Poster
Rep: Reputation: 15
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
Anyone have a suggestion on what I should do?
 
Old 06-23-2008, 09:51 AM   #8
JoeDuncan
Member
 
Registered: Aug 2003
Location: Ottawa
Distribution: Redhat 5.2, 6.0, 6.1, Mandrake 7.2, 8.0, 9.1, 9.2, 10.0, Gentoo, Debian 3.1r0
Posts: 224

Rep: Reputation: 30
Sorry, I'm not familiar with that.

You may have better luck re-posting this new problem to re-attain zero-reply status and get more views.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Password generation failed for scheme {CRYPT}: scheme not recognized olva Linux - General 0 11-05-2006 11:21 AM
Problem mit suse 9.3 mperez SUSE / openSUSE 3 09-08-2006 04:20 AM
problem installing scheme sharpzaurus Linux - Software 1 08-08-2005 07:47 PM
TV-out Problem mit Radeon timos Linux - Hardware 3 06-14-2005 12:43 PM
NEC/Mit. 930SB Problem swinchen Linux - Hardware 3 10-22-2004 08:12 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 02:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration