Hi!

jfricas does not work for me because starting the jupyter notebook and 
selecting the FriCAS kernel, the jupyter kernel uses )lisp to load the jfricas 
file `webspad.lisp`, whose line 16 reads:

(require :asdf)

and in the shell which called jupyter I get the message:

While evaluating the form starting at line 16, column 0
  of
   >> System error:
   Don't know how to REQUIRE ASDF.
See also:
  The SBCL Manual, Variable SB-EXT:*MODULE-PROVIDER-FUNCTIONS*
  The SBCL Manual, Function REQUIRE

>> System error:
   Package WEBSPAD does not exist.


Unsurprisingly, there is no communication among jfricas kernel and fricas so no 
fricas command works, no fun.

My FriCAS is compiled from git and my lisp is sbcl installed from debian 
package. I have also installed from debian: cl-asdf and cl-hunchentoot as per 
the jfricas docs (actually I'm not sure that cl-asdf is really needed for sbcl).

I did no customization at all of sbcl or asdf. My shell variable SBCL_HOME 
turns out to be empty.

Running `(require :asdf)` in sbcl shell does not give an error, while fricas 
`)lisp (require :asdf)` does (see snippet below).

All in all, friCAS lisp image lacks some path information to locate asdf while 
sbcl knows where asdf is. I actually do not know if the asdf sbcl uses is the 
one from cl-asdf or from the sbcl bundle.

So,

- I'm confused: why the behavior of fricas )lisp command differs from plain 
sbcl?

- FIX?: Is a jfricas user (or, more generally, a asdf user via )lisp) supposed 
to setup some environment variable or this problem must be fixed at fricas or 
jfricas level?


Thanks for any hint

Riccardo


--- (require :asdf) in fricas and in sbcl ---

(1) -> )lisp (require :asdf)
>> System error:
   Don't know how to REQUIRE ASDF.
See also:
  The SBCL Manual, Variable SB-EXT:*MODULE-PROVIDER-FUNCTIONS*
  The SBCL Manual, Function REQUIRE

(1) -> )quit


$ sbcl --eval '(require :asdf)' --eval '(asdf:load-system :asdf)'
This is SBCL 2.1.1.debian, an implementation of ANSI Common Lisp.
More information about SBCL is available at <http://www.sbcl.org/>.

SBCL is free software, provided as is, with absolutely no warranty.
It is mostly in the public domain; some portions are provided under
BSD-style licenses.  See the CREDITS and COPYING files in the
distribution for more information.
* (asdf:asdf-version)
"3.3.4"
* (quit)

--
You received this message because you are subscribed to the Google Groups "FriCAS - 
computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/fricas-devel/a46aa293-26c3-2d42-d8a7-53c5b23fb4f0%40gmail.com.

Reply via email to