<div>Seems I will have to do some manual tweaking of header locations in ECL, like we already did for gmp and gc.<br></div><div><br></div><div>Juanjo</div><br><div class="gmail_quote">On Sun, Jul 4, 2010 at 8:22 AM, Matthew Mondor <span dir="ltr"><<a href="mailto:mm_lists@pulsar-zone.net">mm_lists@pulsar-zone.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On Sun, 04 Jul 2010 04:23:45 +0200<br>
<a href="mailto:pjb@informatimago.com">pjb@informatimago.com</a> (Pascal J. Bourguignon) wrote:<br>
<br>
><br>
> On debian lenny, libffi-dev installs the headers ffi.h and ffi_call.h in:<br>
><br>
> /usr/include/i486-linux-gnu/<br>
><br>
> ecl/configure searches them in /usr/include/ffi/ffi.h<br>
</div>> [...]<br>
<br>
Similarily, in the pkgsrc system stub I had to add the following diff<br>
to be applied automatically:<br>
<br>
<br>
--- ./src/c/ffi.d.orig 2009-08-07 16:21:20.000000000 -0400<br>
+++ ./src/c/ffi.d 2009-08-08 13:02:17.000000000 -0400<br>
@@ -17,7 +17,7 @@<br>
#include <ecl/ecl.h><br>
#include <ecl/internal.h><br>
#ifdef HAVE_LIBFFI<br>
-# include <ffi/ffi.h><br>
+# include <ffi.h><br>
#endif<br>
<br>
static const cl_object ecl_foreign_type_table[] = {<br>
<br>
<br>
The pkgsrc libffi package installing ffi.h (by default, although<br>
configurable) at /usr/pkg/include/ffi.h so that the above diff permits<br>
to locate it.<br>
<br>
Thanks,<br>
<font color="#888888">--<br>
Matt<br>
</font><div><div class="h5"><br>
------------------------------------------------------------------------------<br>
This SF.net email is sponsored by Sprint<br>
What will you do first with EVO, the first 4G phone?<br>
Visit <a href="http://sprint.com/first" target="_blank">sprint.com/first</a> -- <a href="http://p.sf.net/sfu/sprint-com-first" target="_blank">http://p.sf.net/sfu/sprint-com-first</a><br>
_______________________________________________<br>
Ecls-list mailing list<br>
<a href="mailto:Ecls-list@lists.sourceforge.net">Ecls-list@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/ecls-list" target="_blank">https://lists.sourceforge.net/lists/listinfo/ecls-list</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Instituto de Física Fundamental, CSIC<br>c/ Serrano, 113b, Madrid 28006 (Spain) <br><a href="http://juanjose.garciaripoll.googlepages.com">http://juanjose.garciaripoll.googlepages.com</a><br>