Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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?

like image 640
prosseek Avatar asked Oct 10 '10 18:10

prosseek


1 Answers

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

like image 159
ricaurte Avatar answered Oct 03 '22 10:10

ricaurte