[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MIT-Scheme-users] Instalation in /usr fails
From: |
Paulo Jorge de Oliveira Cantante de Matos |
Subject: |
Re: [MIT-Scheme-users] Instalation in /usr fails |
Date: |
29 Jul 2003 19:32:39 +0000 |
Hi Chris,
I've installed MIT Scheme into /opt/mit-scheme and I've put the
following scripts in /usr/bin:
euler root # cat /usr/bin/scheme
#!/bin/bash
/opt/mit-scheme/bin/scheme -library /opt/mit-scheme/lib/mit-scheme
euler root # cat /usr/bin/bchscheme
#!/bin/bash
/opt/mit-scheme/bin/bchscheme -library /opt/mit-scheme/lib/mit-scheme
The problem is that when I start scheme I get:
euler root # scheme
Scheme Microcode Version 14.9
MIT Scheme running under GNU/Linux
Type `^C' (control-C) followed by `H' to obtain information about
interrupts.
Scheme saved on Monday June 17, 2002 at 10:03:44 PM
Release 7.7.1
Microcode 14.9
Runtime 15.1
1 ]=>
As you can see, not all of mit-scheme is loaded.
I can also do:
euler root # scheme -edwin
Scheme Microcode Version 14.9
MIT Scheme running under GNU/Linux
Type `^C' (control-C) followed by `H' to obtain information about
interrupts.
Scheme saved on Monday June 17, 2002 at 10:03:44 PM
Release 7.7.1
Microcode 14.9
Runtime 15.1
1 ]=> (edit)
;Unbound variable: edit
;To continue, call RESTART with an option number:
; (RESTART 3) => Specify a value to use instead of edit.
; (RESTART 2) => Define edit to a given value.
; (RESTART 1) => Return to read-eval-print level 1.
2 error> (exit)
Do you understand why this is happening?
Best regards,
Paulo J. Matos
On Mon, 2003-07-28 at 18:54, Chris Hanson wrote:
> Date: 28 Jul 2003 13:18:28 +0000
> From: Paulo Jorge de Oliveira Cantante de Matos <address@hidden>
>
> I've been installing MIT-Scheme in /usr/local and everything seems to go
> fine but I'm using Gentoo GNU/Linux Distro and I'm building an ebuild
> for automatic package instalation under Gentoo. Instalation is being
> done under /usr. When I try to run scheme I get:
> euler root # scheme
> scheme: can't find a readable default for option -band.
> searched for file runtime.com in these directories:
> /usr/local/lib/mit-scheme
>
> Inconsistency detected.
> euler root # which scheme
> /usr/bin/scheme
>
> Any idea why this happens? What can I do for it to work?
>
> MIT Scheme is normally compiled to look for its subsidiary files in
> the directory "/usr/local/lib/mit-scheme/". Unless you recompile the
> C code ("microcode"), you will have to do one of two things:
>
> 1. Make a symlink pointing from "/usr/local/lib/mit-scheme/" to
> "/usr/lib/mit-scheme/".
>
> 2. Invoke scheme with the "-library /usr/lib/mit-scheme" command-line
> option.