2017-07-11 37 views
1

我安装CL-jupyter没有发现,存在quicklisp一个问题是这样的:文件中quicklisp

$ sbcl --load ./cl-jupyter.lispThis is SBCL 1.3.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. 
 
... initialization mode... please wait... 
 
To load "cl-jupyter": 
 
    Load 1 ASDF system: 
 
    cl-jupyter 
 
; Loading "cl-jupyter" 
 
.........; cc -o /home/keys/.cache/common-lisp/sbcl-1.3.1.debian-linux-x64/home/keys/quicklisp/dists/quicklisp/software/pzmq-20170403-git/grovel__grovel-tmpGHU3ALSV.o -c -m64 -fPIC -I/home/keys/quicklisp/dists/quicklisp/software/cffi_0.19.0/ /home/keys/.cache/common-lisp/sbcl-1.3.1.debian-linux-x64/home/keys/quicklisp/dists/quicklisp/software/pzmq-20170403-git/grovel__grovel.c 
 
/home/keys/.cache/common-lisp/sbcl-1.3.1.debian-linux-x64/home/keys/quicklisp/dists/quicklisp/software/pzmq-20170403-git/grovel__grovel.c:6:17: fatal error: zmq.h: file not found 
 
compilation terminated. 
 
While evaluating the form starting at line 5, column 0 
 
    of #P"/home/keys/cl-jupyter/./cl-jupyter.lisp": 
 

 
debugger invoked on a CFFI-GROVEL:GROVEL-ERROR in thread #<THREAD "main thread" RUNNING {100399C6A3}>: Subprocess (:PROCESS #<SB-IMPL::PROCESS :EXITED 1>) 
 
with command ("cc" "-o" "/home/keys/.cache/common-lisp/sbcl-1.3.1.debian-linux-x64/home/keys/quicklisp/dists/quicklisp/software/pzmq-20170403-git/grovel__grovel-tmpGHU3ALSV.o" "-c" "-m64" "-fPIC" "-I/home/keys/quicklisp/dists/quicklisp/software/cffi_0.19.0/" "/home/keys/.cache/common-lisp/sbcl-1.3.1.debian-linux-x64/home/keys/quicklisp/dists/quicklisp/software/pzmq-20170403-git/grovel__grovel.c") 
 
exited with error code 1 
 

 
Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL. 
 

 
restarts (invokable by number or by possibly-abbreviated name): 
 
    0: [RETRY      ] Retry PROCESS-OP on #<GROVEL-FILE "pzmq" "grovel">. 
 
    1: [ACCEPT      ] Continue, treating PROCESS-OP on #<GROVEL-FILE "pzmq" "grovel"> as having been successful. 
 
    2:         Retry ASDF operation. 
 
    3: [CLEAR-CONFIGURATION-AND-RETRY] Retry ASDF operation after resetting the configuration. 
 
    4: [ABORT      ] Give up on "cl-jupyter" 
 
    5: [RETRY      ] Retry EVAL of current toplevel form. 
 
    6: [CONTINUE      ] Ignore error and continue loading file "/home/keys/cl-jupyter/./cl-jupyter.lisp". 
 
    7:         Abort loading file "/home/keys/cl-jupyter/./cl-jupyter.lisp". 
 
    8:         Ignore runtime option --load "./cl-jupyter.lisp". 
 
    9:         Skip rest of --eval and --load options. 
 
10:         Skip to toplevel READ/EVAL/PRINT loop. 
 
11: [EXIT       ] Exit SBCL (calling #'EXIT, killing the process). 
 

 
(CFFI-GROVEL:GROVEL-ERROR "~a" #<UIOP/RUN-PROGRAM:SUBPROCESS-ERROR {100691C9F3}>)

正如你所看到的,它说:“quicklisp/dists中/ quicklisp /software/pzmq-20170403-git/grovel__grovel.c“找不到。

所以我试图找到如果有原始quicklisp包中的.c文件,但实际上不是。为什么发生这个问题,锄头我修复它?

回答

4

zmq.h是无法找到的文件。你必须安装一个为Lisp端提供头文件的库来正确编译。

+0

是的,的确如此。我只是通过“sudo apt install libzmq3-dev” –