mit-scheme-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Compiling Scmutlis under macOS


From: Viacheslav Dushin
Subject: Compiling Scmutlis under macOS
Date: Thu, 27 Aug 2020 23:59:27 +0300

Hello everyone

I'm trying to recompile Scmutlis on my machine.
I decided to do this because if I try to run files from the original distribution, I get the following error:
(or something similar, architecutre numbers may vary)

File has: compiled-code interface 3; architecture 14.
Expected: compiled-code interface 3; architecture 13.

I took the latest release form here: http://groups.csail.mit.edu/mac/users/gjs/6946/installation.html
Unfortunately it does not have all compile and load files, so I took them form an older release:
http://groups.csail.mit.edu/mac/users/gjs/6946/scmutils-tarballs/scmutils-20150821-x86-64-OSX.tar.gz

I copied all compile.scm and load.scm files and modified them accordingly (added new files and removed missing ones)

This version is uploaded to Github: https://github.com/slavad/scmutils

My setup info:
MIT-Scheme (installed from homebrew):
Image saved on Thursday June 4, 2020 at 1:04:36 PM
  Release 10.1.11 || Microcode 15.3 || Runtime 15.7 || SF 4.41 || LIAR/x86-64 4.118

OS: macOS 10.14.6


Compilation goes (load "compile.scm") ok (with a bunch of warnings of course)

When I try to load with (load "load.scm"), I get a couple of errors:

First one is in kernel/custom-repl.scm:

;      Loading "custom-repl.scm"...
;The object (edwin inferior-repl), passed as an argument to ->environment, is not an environment.
;To continue, call RESTART with an option number:


If I remove "custom-repl.scm" from loading list, the second error is in display/gray.scm:
;      Loading "gray.scm"...
;The object "\x34e018;\x119;\x6d800;\x0;\x0;\x134;\x10000;\x2001;\x54b848;\x15035e;\x1;\xd0ff00;\x200202;\xe00000;\x11934;\xd80000;\x34e008;\x119;\x10d800;\x1934e0;\x1;\xad8;\x0;\x340000;\x1;\x10100;\x480020;\x5d8db8;\x11503;\x0;\xd0ff;\x0;\x10;\x0;\xf06800;\x1934df;\x1;\xdff8d8;\x11934;\xd80000;\x34e000;\x119;\x8d800;\x1934e0;\x1;\xe010d8;\x11934;\xd80000;\x34e018;\x119;\x7d800;\x0;\x0;\x109c;\x0;\x0;expt\x200303;\xb84800;\x7f75b;\x115;\xff0000;Ð\x880000;\x1934e0;\x1;\x25f804;\x11534;\x280000;\t\x0;\x13400;\x0;\x200202;\xb84800;\x3677d;\x115;\xff0000;\x202d0;\x300020;\x1934e0;\x1;\xe080a0;\x11934;\xa00000;\x34e0d0;\x119;\x68a000;\x1934e1;\x1;\xdff0a0;\x11934;\xd80000;\x34dff8;\x119;\x7d800;\x0;\x0;\x134;\x20000;\x2001;\xeb848;\x15034d;\x1;\xd0ff00;\x0;\xe20000;\x11934;\xa00000;\x34e030;\x119;\x80a000;\x1934e0;\x1;\xe0d0a0;\x11934;\xa00000;\x4;\x0;\xc00000;\x1522e4;\x1;\xe1b074;\x11934;\x6c0000;", passed as the first argument to vector-8b-set!, is not the correct type.

I'm new to Lisp and Scheme, so could you help me with it?

Thanks, Slava

reply via email to

[Prev in Thread] Current Thread [Next in Thread]