[Ecls-list] libffi on debian lenny

Matthew Mondor mm_lists at pulsar-zone.net
Sun Jul 4 06:22:31 UTC 2010


On Sun, 04 Jul 2010 04:23:45 +0200
pjb at informatimago.com (Pascal J. Bourguignon) wrote:

> 
> On debian lenny, libffi-dev installs the headers ffi.h and ffi_call.h in:
>   
>    /usr/include/i486-linux-gnu/
> 
> ecl/configure searches them in /usr/include/ffi/ffi.h
> [...]

Similarily, in the pkgsrc system stub I had to add the following diff
to be applied automatically:


--- ./src/c/ffi.d.orig  2009-08-07 16:21:20.000000000 -0400
+++ ./src/c/ffi.d       2009-08-08 13:02:17.000000000 -0400
@@ -17,7 +17,7 @@
 #include <ecl/ecl.h>
 #include <ecl/internal.h>
 #ifdef HAVE_LIBFFI
-# include <ffi/ffi.h>
+# include <ffi.h>
 #endif
 
 static const cl_object ecl_foreign_type_table[] = {


The pkgsrc libffi package installing ffi.h (by default, although
configurable) at /usr/pkg/include/ffi.h so that the above diff permits
to locate it.

Thanks,
-- 
Matt




More information about the ecl-devel mailing list