robert-dodier / maxima-jupyter

A Maxima kernel for Jupyter, based on CL-Jupyter (Common Lisp kernel)
Other
185 stars 31 forks source link

"Component :MAXIMA-JUPYTER not found" during install #81

Closed inducer closed 4 years ago

inducer commented 4 years ago

I'm on Debian, I built my own SBCL-based Maxima, I installed cl-quicklisp from the Debian repo and ran its installer. Then:

Maxima branch_5_43_base_483_gaee1ba385 http://maxima.sourceforge.net
using Lisp SBCL 2.0.3.debian
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) :lisp (require 'asdf)

(uiop UIOP asdf ASDF)
(%i1) :lisp (load "load-maxima-jupyter.lisp")
While evaluating the form starting at line 14, column 0
  of 
Maxima encountered a Lisp error:

 Component :MAXIMA-JUPYTER not found

Automatically continuing.
To enable the Lisp debugger set *debugger-hook* to nil.

I am running this within the git checkout of this repo, so maxima-jupter.asd is sitting right there in the cwd.

Here's my build_info:

(%i1) build_info();
(%o1) 
Maxima version: "branch_5_43_base_483_gaee1ba385"
Maxima build date: "2020-04-23 15:24:02"
Host type: "x86_64-pc-linux-gnu"
Lisp implementation type: "SBCL"
Lisp implementation version: "2.0.3.debian"
User dir: "/home/andreas/.maxima"
Temp dir: "/tmp"
Object dir: "/home/andreas/.maxima/binary/branch_5_43_base_483_gaee1ba385/sbcl/2_0_3_debian"
Frontend: false
(%i2)
yitzchak commented 4 years ago

Can you check to make sure that Quicklisp is available in your image?

(%i1) :lisp (ql:quickload "common-lisp-jupyter")
inducer commented 4 years ago

Ah, thanks!

:lisp (load "/home/andreas/quicklisp/setup.lisp")

is what I was missing.

Altogether, I needed

First:

:lisp (require 'asdf)
:lisp (load "/usr/share/common-lisp/source/quicklisp/quicklisp.lisp")

Then (on a separate Maxima run, later):

:lisp (require 'asdf)
:lisp (load "/home/andreas/quicklisp/setup.lisp")