<div dir="ltr"><div><div><div>Dear Christoph,<br><br></div>1) Objective<br><br></div>I would like to be able to load libraries (such as `getopt') and modules (such as `clx'). I understand that the commands are:<br><br></div><div>(clc:clc-require :getopt)<br></div><div>(require "clx")<br><br></div><div>but that one must first load and initialize the `common-lisp-controller'.<br></div><div><br></div><div>2) Test code<br><br>#!/usr/bin/clisp -ansi -q -q<br><br>(print *features*)<br>(print "1 - loading common-lisp-controller")<br>(load #P"/usr/share/common-lisp/source/common-lisp-controller/common-lisp-controller.lisp")<br>(print "2 - initializing common-lisp-controller")<br>(common-lisp-controller:init-common-lisp-controller-v4 "clisp")<br>(print "3 - loading library")<br>(clc:clc-require :getopt)<br>(print "4 - loading module")<br>(require "clx")<br><br></div><div>3) Test output<br><br>(:READLINE :REGEXP :SYSCALLS :I18N :LOOP :COMPILER :CLOS :MOP :CLISP :ANSI-CL<br> :COMMON-LISP :LISP=CL :INTERPRETER :SOCKETS :GENERIC-STREAMS<br> :LOGICAL-PATHNAMES :SCREEN :FFI :GETTEXT :UNICODE :BASE-CHAR=CHARACTER<br> :WORD-SIZE=64 :PC386 :UNIX) <br>"1 - loading common-lisp-controller" <br>"2 - initializing common-lisp-controller" <br>WARNING: Replacing method<br>         #<STANDARD-METHOD (#<BUILT-IN-CLASS FUNCTION> #<BUILT-IN-CLASS T>)><br>         in #<STANDARD-GENERIC-FUNCTION SLURP-INPUT-STREAM><br></div><div><snip><br>WARNING: Replacing method<br>          #<STANDARD-METHOD<br>            (#<STANDARD-CLASS PACKAGE-INFERRED-SYSTEM-MISSING-PACKAGE-ERROR><br>             #<BUILT-IN-CLASS T>)><br>         in #<STANDARD-GENERIC-FUNCTION PRINT-OBJECT><br>*** - OPEN: File #P"/usr/share/common-lisp/source/cl-asdf/wild-modules.lisp"<br>      does not exist<br><br></div><div>4) Analysis<br></div><div><br>;;;<br>;;; Design note:<br>;;;<br>;;; 1) `clisp' uses `common-lisp-controller' to load libraries.<br>;;;<br>;;; Libraries are loaded with  (clc:clc-require :foo).<br>;;; Modules   are loaded with  (require "foo").<br>;;;<br>;;; 2) `common-lisp-controller' expects to find `wild-modules.lisp'<br>;;; under `/usr/share/common-lisp/source/cl-asdf/'. However, starting<br>;;; with `cl-asdf' version 2.26.72, that file is found under<br>;;; `/usr/share/common-lisp/source/cl-asdf/contrib/'. Because<br>;;; `common-lisp-controller' cannot find the new location, this is a<br>;;; bug.<br>;;;<br>;;; (common-lisp-controller:init-common-lisp-controller-v4 "clisp") ==><br>;;; *** - OPEN: File #P"/usr/share/common-lisp/source/cl-asdf/wild-modules.lisp"<br>;;;       does not exist<br>;;;<br>;;; As a workaround, WP-MIRROR sets a symbolic link.<br>;;;<br><br></div><div>(rootshell) cd /usr/share/common-lisp/source/cl-asdf/<br></div><div>(rootshell) ln -s contrib/wild-modules.lisp wild-modules.lisp<br></div><div><br></div><div>This works around the fatal bug. However, the flood of WARNING messages is the same.<br></div><div><br></div><div>5) Reporting<br><br></div><div>As I am new to this list, I would like to know if I should file a Debian bug report; and, if so, against which package.<br><br></div><div>Sincerely Yours,<br></div><div>Kent<br><br></div></div>