Create Maxima Image by hand: "no scavenge function"

Create Maxima Image by hand: "no scavenge function"

by Adolfina B -
Number of replies: 0

Greetings.

I am following Stack instructions for Moodle. http://moodle.localdomain/question/type/stack/doc/doc.php/CAS/Optimising_Maxima.md

The instructions say:
"
In Maxima, type the commands:
    load("maximalocal.mac");
    :lisp (sb-ext:save-lisp-and-die "maxima-optimised" :toplevel #'run :executable t)
"

Unfortunately the second command produces a "no scavenge function" error. Please see below.

Would be grateful for your help.

Best wishes


[http@tower stack]$ id
uid=33(http) gid=33(http) groups=33(http)
[http@tower stack]$ pwd
/srv/http/moodledata/stack
[http@tower stack]$ maxima --list-avail
Available versions:
version 5.42.2, lisp sbcl
[http@tower stack]$ maxima
Maxima 5.42.2 http://maxima.sourceforge.net
using Lisp SBCL 1.4.16
Distributed under the GNU Public License. See the file COPYING.
Dedicated to the memory of William Schelter.
The function bug_report() provides bug reporting information.
(%i1) load("maximalocal.mac");
WARNING: redefining MAXIMA::OPAPPLY in DEFMACRO
WARNING: redefining MAXIMA::OPCONS in DEFMACRO
define: warning: redefining the built-in function intervalp

; file: /srv/http/moodle/question/type/stack/stack/maxima/mathml.lisp
; in: DEFUN MATHML1
;     (MAXIMA::CONCAT "(" (MAXIMA::STRIPDOLLAR MAXIMA::MEXPLABEL) ")")
;
; caught STYLE-WARNING:
;   undefined function: MAXIMA::CONCAT
;
; compilation unit finished
;   Undefined function:
;     CONCAT
;   caught 1 STYLE-WARNING condition
define: warning: redefining the built-in function texnumformat
[ STACK-Maxima started, library version 2018080600 ]
(%o0) "maximalocal.mac"
(%i1) :lisp (sb-ext:save-lisp-and-die "maxima-optimised" :toplevel #'run :executable t)
fatal error encountered in SBCL pid 13472(tid 0x7ff73f305240):
no scavenge function for object 0x1 (widetag 0x1)

Welcome to LDB, a low-level debugger for the Lisp runtime environment.
ldb>

Average of ratings: -