Mint 19 / Common Lisp: ECL, SBCL, ABCL don't work (undefined function 'defun', 'defclass' etc.)

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
AlexDarkVoid
Level 1
Level 1
Posts: 1
Joined: Mon Jul 16, 2018 3:16 pm

Mint 19 / Common Lisp: ECL, SBCL, ABCL don't work (undefined function 'defun', 'defclass' etc.)

Post by AlexDarkVoid » Mon Jul 16, 2018 3:44 pm

Fresh-installed Mint 19 and tried three different implementations (ECL, SBCL, ABCL) with the following simple code:

Code: Select all

(defpackage pkg (:export cls fun))
(in-package pkg)
(defclass cls () (...))
(defun fun () ...)
All fail complaining about undefined functions 'defclass', 'defun' and variables 'cls' and 'fun'.
At first I thought that this might be caused by misbehavior of ASDF dealing with 'cl-ppcre'
(its maintainer refuses update the package and comply with new naming rules),
so I removed two lines originally present before the package definition:

Code: Select all

(require "asdf")
(asdf:load-system :cl-ppcre)
However, the problem remained.
Proceeded to remove 'cl-asdf' and all related packages, but the result didn't change.
Still can't figure out what those 3 implementations have in common
(especially ABCL, which is self-contained stand-alone JAR file) that causes this failure.

Post Reply

Return to “Software & Applications”