Closed jordana309 closed 5 years ago
Given the error trace, it seems that the zmq
dependency is not satisfied... Cl-jupyter depends on pzmq and there's a "painful" dependency on the zmq
library there. I think installing libzmq3-dev
or libzmq4-dev
should do the trick on linux.
Thank you--that did it! Well, by "did it", I mean it allowed the kernel to run and sbcl to run a little longer. However, I got a weird error when I tried to run the kernel. First, when starting the kernel up the first time, it died and gave me the following:
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.
[W 21:13:45.108 NotebookApp] Timeout waiting for kernel_info reply from b46696b7-173f-461c-b0e1-a7a8ccee6f2b
To load "cl-jupyter":
Load 1 ASDF system:
cl-jupyter
; Loading "cl-jupyter"
.................
cl-jupyter: an enhanced interactive Common Lisp REPL
(Version 0.7 - Jupyter protocol v.5.0)
--> (C) 2014-2015 Frederic Peschanski (cf. LICENSE)
kernel configuration = ((shell_port . 45213) (iopub_port . 54103)
(stdin_port . 39053) (control_port . 39897)
(hb_port . 33257) (ip . 127.0.0.1)
(key . cb380733-8aa7b5291cdb3bce919e06fe)
(transport . tcp) (signature_scheme . hmac-sha256)
(kernel_name . lisp))
[Hearbeat] starting...
[Heartbeat] thread started
[Kernel] Entering mainloop ...
[Shell] loop started
CORRUPTION WARNING in SBCL pid 10628(tid 140737353963264):
Memory fault at (nil) (pc=0x1000a5d897, sp=0x7ffff22b0518)
The integrity of this image is possibly compromised.
Continuing with fingers crossed.
CORRUPTION WARNING in SBCL pid 10628(tid 140737353963264):
Memory fault at 0x7974697467 (pc=0x10014b05a2, sp=0x7ffff22b0298)
The integrity of this image is possibly compromised.
Continuing with fingers crossed.
CORRUPTION WARNING in SBCL pid 10628(tid 140737353963264):
Memory fault at 0x7974697467 (pc=0x10014b05a2, sp=0x7ffff22b0018)
The integrity of this image is possibly compromised.
Continuing with fingers crossed.
INFO: Control stack guard page unprotected
CORRUPTION WARNING in SBCL pid 10628(tid 140737353963264):
Enabling blocked gc signals to allow returning to Lisp without risking
gc deadlocks. Since GC signals are only blocked in signal handlers when
they are not safe to interrupt at all, this is a pretty severe occurrence.
The integrity of this image is possibly compromised.
Continuing with fingers crossed.
fatal error encountered in SBCL pid 10628(tid 140737353963264):
Control stack exhausted, fault: 0x8, PC: 0x40e3ed
Then, it restarted and entered the main loop and ran fine. I tried (print "hello world")
, and it gave me the following output before restarting the kernel:
Bye bye.
CORRUPTION WARNING in SBCL pid 10698(tid 140737353963264):
Memory fault at 0xfffffffffffffff9 (pc=0x10014b05a2, sp=0x7ffff249f9f8)
The integrity of this image is possibly compromised.
Continuing with fingers crossed.
CORRUPTION WARNING in SBCL pid 10698(tid 140737353963264):
Memory fault at 0xfffffffffffffff9 (pc=0x10014b05a2, sp=0x7ffff249f778)
The integrity of this image is possibly compromised.
Continuing with fingers crossed.
fatal error encountered in SBCL pid 10698(tid 140737353963264):
%PRIMITIVE HALT called; the party is over.
Does this look like I messed up something else trying to set up the kernel, or did I goof up setting up sbcl?
Maybe 1.3.1 is tool old ? Also, I remember I had that kind of error when trying on a mac, and Clozure CL (CCL) was more stable (but it seems you're on linux ?) ...
K, I started with a clean Ubuntu install before I installed codes that messed up my compilers. Everything ran fine using your instructions in readme. I'm not sure what was up, but I think those other codes messed up something in my system.
I am new to lisp, but more familiar with Jupyter, so I thought I'd try to learn lisp in Jupyter. However, following instructions on quicklisp.org, I found that the kernel looped repeatedly. I thought maybe the system load causes problems, so I tried again with the following commands.
Firing this up in Jupyter gave me the following output:
then it restarted. Thoughts of what I could try to get up and running? I'm guessing I need to do more to configure quicklisp, but I'm not sure what to do there.