installation - 在 Quicklisp 中找不到文件

标签 installation common-lisp jupyter-notebook quicklisp

我正在安装 cl-jupyter,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文件,但实际上没有。为什么会出现这个问题,我该如何修复它?

最佳答案

zmq.h 是找不到的文件。您必须安装一个为 Lisp 端提供该头文件的库才能正确编译。

关于installation - 在 Quicklisp 中找不到文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45042008/

相关文章:

linux - ${path} 如何工作,在本教程中

lisp - 宏在通用lisp中的延续-关于Lisp中的实现

python - 将我的 jupyter notebook 设置为使用 python 版本的环境

macos - 禁用 Jupyter Notebook 单元格搜索

functional-programming - 普通口齿不清 : compilation vs evaluation

python - Jupyter Notebook : 'head' is not recognized as an internal or external command, 可运行的程序或批处理文件

ubuntu - HPCC 系统 - 无法更改 Dali 的默认端口

macos - 如何在 Mac OS X 上使用 mpi

linux - Gcloud - 如何在服务器上自动安装 gcloud?

在 lisp 中访问数组的优化