Is there a way to get the CLISP compiled with dyna

2019-02-17 00:57发布

问题:

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