Is there a way to get the CLISP compiled with dynamic FFI support on Mac OS?

有些话、适合烂在心里 提交于 2019-12-01 02:30:08

问题


I use clisp 2.48 (2009-07-28) on Mac OS X 10.6.4. I downloaded the clisp with 'sudo port install clisp'.

After installing quick lisp, I installed some packages, and most of them are OK.

However, when I tried to install "sqlite", I got the following error.

[1]> (ql:quickload "sqlite")
To load "sqlite":
  Load 1 ASDF system:
    sqlite
; Loading "sqlite"
[package cffi-sys]
*** - CFFI requires CLISP compiled with dynamic FFI support.

It says that my clisp installed with mac port doesn't have FFI support.

Is there any way to get the CLISP compiled with dynamic FFI support on Mac OS X?


回答1:


I'm on 10.4, so I had to also install ffcall - I don't know if you installed it already. When installing clisp I added +dynffi to the end and it worked for me.

sudo port install ffcall
sudo port install clisp +dynffi



来源:https://stackoverflow.com/questions/3901698/is-there-a-way-to-get-the-clisp-compiled-with-dynamic-ffi-support-on-mac-os

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!