Grant Rettke <[email protected]> writes: > On Wed, May 20, 2009 at 2:35 AM, Abdulaziz Ghuloum <[email protected]> wrote: >> Maybe by using the latest revision which I'm pushing as we speak :-) > > :) > >> $ ikarus --r6rs-script empathy.scm >> Unhandled exception: >> Condition components: >> 1. &assertion >> 2. &who: make-c-callout >> 3. &message: "FFI support is not enabled. You need to recompile ikarus >> with --enable-ffi option set in order to make use of the (ikarus foreign) >> library." >> 4. &irritants: () > > I don't see that option present, it is this one? > > gret...@stargate:~/scheme/ikarus/ikarus.dev$ bzr up > Tree is up to date at revision 1785. > gret...@stargate:~/scheme/ikarus/ikarus.dev$ ./configure --help | grep ffi > --program-suffix=SUFFIX append SUFFIX to installed program names > --enable-libffi enable support for libffi. > Yep, it's --enable-libffi (the error message seems wrong).
> Question: When I enable it it can't find ffi.h. > > configure: error: ffi.h cannot be found. > Please specify the location of the header file using > ./configure CFLAGS=-I<path/to/ffi.h> <other-options ...> > > gret...@stargate:~/scheme/ikarus/ikarus.dev$ find . -name *.h > ../config.h > > Where do I find ffi.h? > It's part of the libffi library. Depending on your Distribution/OS, there might be ready-made packages for it; on Debian sid it's the libffi-dev package that contains the header. If not packaged for our OS, you can grab a tarball at [0], and install it via the usual autoconf procedure. [0] http://sourceware.org/libffi/ HTH, Rotty
