[Ecls-list] libffi on debian lenny

Juan Jose Garcia-Ripoll juanjose.garciaripoll at googlemail.com
Sun Jul 4 13:03:43 UTC 2010


Seems I will have to do some manual tweaking of header locations in ECL,
like we already did for gmp and gc.

Juanjo

On Sun, Jul 4, 2010 at 8:22 AM, Matthew Mondor <mm_lists at pulsar-zone.net>wrote:

> 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
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> _______________________________________________
> Ecls-list mailing list
> Ecls-list at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ecls-list
>



-- 
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20100704/3c0c29d4/attachment.html>


More information about the ecl-devel mailing list