robert-dodier/maxima-jupyter

Failure to install

CdeMills opened this issue · 7 comments

Hello,
I would like to create a notebook with Maxima. The platform is x86_64 linux machine with Fedora35.

  1. installed maxima-runtime-sbcl-5.43.2-5.fc35.x86_64 + maxima-5.43.2-5.fc35.x86_64
  2. installed sbcl-2.0.1-5.fc34.x86_64
  3. cloned the jupyter-maxima repository and cd() into it
  4. launched maxima:
    Maxima 5.43.2 http://maxima.sourceforge.net
    using Lisp SBCL 2.0.1-5.fc34
    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("load-maxima-jupyter.lisp");
    ;
    ; compilation unit aborted
    ; caught 1 fatal ERROR condition

loadfile: failed to load load-maxima-jupyter.lisp
-- an error. To debug this try: debugmode(true);

How to debug further ? I have no idea why the unit fails to compile.

Regards

Pascal Dupuis

Hello Robert,
thank you for kind reply. Here you are:

Maxima 5.43.2 http://maxima.sourceforge.net
using Lisp SBCL 2.0.1-5.fc34
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.

Regards

Pascal

There is another session:

(%i1) :lisp (require 'asdf)

(uiop UIOP asdf ASDF)

(%i1) :lisp (load "maxima-jupyter.asd")

T
:lisp (load "load-maxima-jupyter.lisp")
#P"load-maxima-jupyter.lisp":
While evaluating the form starting at line 14, column 0
of
Maxima encountered a Lisp error:

Component :ALEXANDRIA not found, required by #<SYSTEM "maxima-jupyter">

Looks like quicklisp does not automatically pull the required files

Regards

Pascal

Quicklisp automatically installs dependencies, so something is wrong. I suggest starting SCBL and trying (ql:quickload :common-lisp-jupyter)

OK, found the right sequence:

  1. install quicklisp
  2. launch maxima, then
    (%i1) :lisp (load "~/quicklisp/setup.lisp")

T
(%i1) :lisp (load "load-maxima-jupyter.lisp")

... This fetches a few packages through quicklisp

(%i1) jupyter_install()

Thank you for your help.

Regards

Pascal

Pascal, I'm glad to hear you got it sorted out. It occurs to me that it would be good to have load-maxima-jupyter.lisp verify that Quicklisp and ASDF are present before trying to do anything. Let me think about that.