Re: [fricas-devel] fricas_jupyter

2018-04-12 Thread Ralf Hemmecke
Hi Kurt,

to make it more complete on my Ubuntu 17.10 installation...

root hemmecke:~#ldconfig -p | grep zmq
libzmq.so.4 (libc6,x86-64) => /usr/local/lib/libzmq.so.4
libzmq.so (libc6,x86-64) => /usr/local/lib/libzmq.so

I installed jupyter via

pip3 install jupyter

into a virtualenv and activated it. But still your install.sh complains.

Ralf

commit 24a174be80eab5a08f50b7c6febaa32048b884b7
Author: nilqed 
Date:   Fri Jun 17 23:28:00 2016 +0200

pzmq

(ifricas) hemmecke:~/g/fricas_jupyter:master %>./install.sh
=
Installation of iSPAD - Jupyter kernel for FriCAS
=
--
FriCAS installed ?
--
Would now start the processes.
exec /home/hemmecke/software/lib/fricas/target/x86_64-linux-gnu/bin/sman
 -ws /home/hemmecke/software/lib/fricas/target/x86_64-linux-gnu/bin/AXIOMsys
FriCAS in path ... ok.
---
AxiomSYS path ?
---
AxiomSYS found ... ok.
/home/hemmecke/software/lib/fricas/target/x86_64-linux-gnu/bin/AXIOMsys

SBCL installed ?

SBCL_HOME set ... ok.
/home/hemmecke/software/lib/sbcl/
-
SBCL executable ?
-
SBCL 1.4.5
SBCL executable ... ok.
---
SBCL/QuickLisp dependencies ... pre-loading
---
This is SBCL 1.4.5, an implementation of ANSI Common Lisp.
More information about SBCL is available at .

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.
To load "pzmq":
  Load 1 ASDF system:
pzmq
; Loading "pzmq"
While evaluating the form starting at line 2, column 0
  of #P"/home/hemmecke/v/git/fricas_jupyter/lisp/quick.lisp":
Unhandled ASDF/SESSION:FORMATTED-SYSTEM-DEFINITION-ERROR in thread
#:
  OPERATION instances must only be created through MAKE-OPERATION.

Backtrace for: #
0: (SB-DEBUG::DEBUGGER-DISABLED-HOOK
# # :QUIT T)
1: (SB-DEBUG::RUN-HOOK *INVOKE-DEBUGGER-HOOK*
#)
2: (INVOKE-DEBUGGER #)
3: (ERROR ASDF/SESSION:FORMATTED-SYSTEM-DEFINITION-ERROR :FORMAT-CONTROL
"OPERATION instances must only be created through MAKE-OPERATION."
:FORMAT-ARGUMENTS NIL)
4: (ASDF/SESSION:SYSDEF-ERROR "OPERATION instances must only be created
through MAKE-OPERATION.")
5: ((:METHOD INITIALIZE-INSTANCE :BEFORE (ASDF/OPERATION:OPERATION))
#) [fast-method]
6: ((LAMBDA NIL :IN "/home/hemmecke/v/git/fricas_jupyter/lisp/quick.lisp"))
7: ((:METHOD ASDF/ACTION:PERFORM (ASDF/LISP-ACTION:COMPILE-OP
CFFI-GROVEL::PROCESS-OP-INPUT)) #
#) [fast-method]
8: ((SB-PCL::EMF ASDF/ACTION:PERFORM) # # # #)
9: ((LAMBDA NIL :IN ASDF/ACTION:CALL-WHILE-VISITING-ACTION))
10: ((:METHOD ASDF/ACTION:PERFORM :AROUND (ASDF/LISP-ACTION:COMPILE-OP
CFFI-GROVEL::CC-FLAGS-MIXIN)) #
#) [fast-method]
11: ((:METHOD ASDF/ACTION:PERFORM-WITH-RESTARTS :AROUND (T T))
# #) [fast-method]
12: ((:METHOD ASDF/PLAN:PERFORM-PLAN (T)) #) [fast-method]
13: ((FLET SB-C::WITH-IT :IN SB-C::%WITH-COMPILATION-UNIT))
14: ((:METHOD ASDF/PLAN:PERFORM-PLAN :AROUND (T))
#) [fast-method]
15: ((:METHOD ASDF/OPERATE:OPERATE (ASDF/OPERATION:OPERATION
ASDF/COMPONENT:COMPONENT)) #
# :PLAN-CLASS NIL :PLAN-OPTIONS NIL)
[fast-method]
16: ((SB-PCL::EMF ASDF/OPERATE:OPERATE) # # # #
:VERBOSE NIL)
17: ((LAMBDA NIL :IN ASDF/OPERATE:OPERATE))
18: ((:METHOD ASDF/OPERATE:OPERATE :AROUND (T T))
# # :VERBOSE NIL)
[fast-method]
19: ((SB-PCL::EMF ASDF/OPERATE:OPERATE) # # ASDF/LISP-ACTION:LOAD-OP "pzmq" :VERBOSE NIL)
20: ((LAMBDA NIL :IN ASDF/OPERATE:OPERATE))
21: ((:METHOD ASDF/OPERATE:OPERATE :AROUND (T T))
ASDF/LISP-ACTION:LOAD-OP "pzmq" :VERBOSE NIL) [fast-method]
22: (ASDF/SESSION:CALL-WITH-ASDF-SESSION # :OVERRIDE T :KEY NIL :OVERRIDE-CACHE
T :OVERRIDE-FORCING NIL)
23: ((LAMBDA NIL :IN ASDF/OPERATE:OPERATE))
24: (ASDF/SESSION:CALL-WITH-ASDF-SESSION # :OVERRIDE NIL :KEY NIL
:OVERRIDE-CACHE NIL :OVERRIDE-FORCING NIL)
25: ((:METHOD ASDF/OPERATE:OPERATE :AROUND (T T))
ASDF/LISP-ACTION:LOAD-OP "pzmq" :VERBOSE NIL) [fast-method]
26: (QUICKLISP-CLIENT::CALL-WITH-MACROEXPAND-PROGRESS #)
27: (QUICKLISP-CLIENT::AUTOLOAD-SYSTEM-AND-DEPENDENCIES "pzmq" :PROMPT NIL)
28: ((:METHOD QL-IMPL-UTIL::%CALL-WITH-QUIET-COMPILATION (T T)) # #) [fast-method]
29: ((:METHOD QL-IMPL-UTIL::%CALL-WITH-QUIET-COMPILATION :AROUND
(QL-IMPL:SBCL T)) # #)
[fast-method]
30: ((:METHOD QUICKLISP-CLIENT:QUICKLOAD (T)) "pzmq" :PROMPT NIL :SILENT
NIL :VERBOSE NIL) [fast-method]
31: (QL-DIST::CALL-WITH-CONSISTENT-DISTS #)
32: (SB-INT:SIMPLE-EVAL-IN-LEXENV (QUICKLISP-CLIENT:QUICKLOAD "pzmq")
#)
33: (EVAL-TLF (QUICKLISP-CLIENT:QUICKLOAD "pzmq") 1 NIL)
34: ((LABELS SB-FASL::EVAL-FORM :IN SB-INT:LOAD-AS-SOURCE)
(QUICKLISP-CLIENT:QUICKLOAD "pzmq") 1)
35: ((LAMBDA (SB-KERNEL:FORM &KEY :CURRENT-INDEX &ALLOW-OTHER-KEYS) :IN
SB-INT:LOAD-AS-SOURC

Re: [fricas-devel] fricas_jupyter

2018-04-12 Thread Ralf Hemmecke
H. even on my old (once working) installation, it's problematic.

Maybe, the problem comes from previously having a lesser version of sbcl
when I had a working iSPAD last time.

Ralf

==
#!/bin/sh
AXIOM=/home/hemmecke/software/lib/fricas/target/x86_64-linux-gnu
export AXIOM
ALDOR_COMPILER=aldor
export ALDOR_COMPILER
exec /home/hemmecke/.local/bin/iSPAD "$@"

-- 
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 fricas-devel+unsubscr...@googlegroups.com.
To post to this group, send email to fricas-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.
(ifricas) trex:~/g/fricas_jupyter:master *%>./install.sh
=
Installation of iSPAD - Jupyter kernel for FriCAS
=
--
FriCAS installed ?
--
Would now start the processes.
exec /home/hemmecke/software/lib/fricas/target/x86_64-linux-gnu/bin/sman  -ws 
/home/hemmecke/software/lib/fricas/target/x86_64-linux-gnu/bin/AXIOMsys
FriCAS in path ... ok.
---
AxiomSYS path ?
---
AxiomSYS found ... ok.
/home/hemmecke/software/lib/fricas/target/x86_64-linux-gnu/bin/AXIOMsys

SBCL installed ?

SBCL_HOME set ... ok.
/home/hemmecke/software/lib/sbcl/
-
SBCL executable ?
-
SBCL 1.3.21
SBCL executable ... ok.
---
SBCL/QuickLisp dependencies ... pre-loading
---
This is SBCL 1.3.21, an implementation of ANSI Common Lisp.
More information about SBCL is available at .

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.
To load "pzmq":
  Load 1 ASDF system:
pzmq
; Loading "pzmq"

To load "bordeaux-threads":
  Load 1 ASDF system:
bordeaux-threads
; Loading "bordeaux-threads"

To load "uuid":
  Load 1 ASDF system:
uuid
; Loading "uuid"
.
To load "cl-base64":
  Load 1 ASDF system:
cl-base64
; Loading "cl-base64"

SBCL/QuickLisp . ok.
-
Checking Jupyter installation ...
-
4.1.0
config:
/home/hemmecke/.jupyter
/home/hemmecke/software/ifricas/etc/jupyter
/usr/local/etc/jupyter
/etc/jupyter
data:
/home/hemmecke/.local/share/jupyter
/home/hemmecke/software/ifricas/share/jupyter
/usr/local/share/jupyter
/usr/share/jupyter
runtime:
/run/user/1000/jupyter
Jupyter command ... ok.
-
Creating iSPAD core from AxiomSYS ...
-
This is SBCL 1.3.21, an implementation of ANSI Common Lisp.
More information about SBCL is available at .

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.
Checking for foreign routines
AXIOM="/home/hemmecke/software/lib/fricas/target/x86_64-linux-gnu"
spad-lib="/home/hemmecke/software/lib/fricas/target/x86_64-linux-gnu/lib/libspad.so"
foreign routines found
openServer result -2
   FriCAS Computer Algebra System 
  Version: FriCAS 712a479fba0152ec2dca1b0b446a77239b51ac50
   Timestamp: Wed Dec  6 20:55:24 CET 2017
-
   Issue )copyright to view copyright notices.
   Issue )summary for a summary of useful system commands.
   Issue )quit to leave FriCAS and return to shell.
-
 
(1) -> To load "pzmq":
  Load 1 ASDF system:
pzmq
; Loading "pzmq"

To load "bordeaux-threads":
  Load 1 ASDF system:
bordeaux-threads
; Loading "bordeaux-threads"

To load "uuid":
  Load 1 ASDF system:
uuid
; Loading "uuid"
.
To load "cl-base64":
  Load 1 ASDF system:
cl-base64
; Loading "cl-base64"

[undoing binding stack and other enclosing state... done]
[defragmenting immobile space... 1100+30579+27691+32810 objects... done]
[saving current Lisp image into iSPAD:
writing 0 bytes from the read-only space at 0x2000
writing 1200 bytes from the static space at 0x2010
writing 2686976 bytes from the immobile space at 0x2030
writing 21844736 bytes from the immobile space at 0x21b0
writing 53149696 bytes from the dynamic space at 0x10
done]
iSPAD core built ... ok.

Install Jupyer Kernel Spec 

[fricas-devel] fricas_jupyter

2018-04-11 Thread Ralf Hemmecke
Hi Kurt,

what are the currently the instructions to install fricas_jupyter?

I need it for Ubuntu 17.10.

Thank you
Ralf

-- 
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 fricas-devel+unsubscr...@googlegroups.com.
To post to this group, send email to fricas-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.