<p dir="ltr">Hello Liam, </p>
<p dir="ltr">IIUC, there's a pull request in progress to fix this. Alternatively, you can use the latest CFFI release. </p>
<p dir="ltr">Cheers, <br>
Luís </p>
<br><div class="gmail_quote"><div dir="ltr">On Fri, Dec 4, 2015, 21:19 Liam Healy <<a href="mailto:lnp@healy.washington.dc.us">lnp@healy.washington.dc.us</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Debian has relocated hdf5 includes and libraries in serial/, which<br>
means that hdf5-cffi does not compile. See this issue:<br>
<a href="https://github.com/HDFGroup/hdf5-cffi/issues/61" rel="noreferrer" target="_blank">https://github.com/HDFGroup/hdf5-cffi/issues/61</a>. I am trying to come<br>
up with a CFFI solution. It seems like pkg-config-cflags should do the<br>
job for me, as pkg-config is installed and does the right thing:<br>
<br>
     pkg-config --libs hdf5<br>
     -L/usr/lib/x86_64-linux-gnu/hdf5/serial -lhdf5<br>
     pkg-config --cflags hdf5<br>
     -I/usr/include/hdf5/serial<br>
<br>
<br>
However, I put a line<br>
(pkg-config-cflags "hdf5" :optional t)<br>
in hfd5-cffi/hdf5/grovel.lisp and got nothing useful; it is clear it<br>
is running pkg-config but the result never makes it into the cc arg<br>
list.<br>
<br>
 (ql:quickload :hdf5-cffi)<br>
To load "hdf5-cffi":<br>
  Load 1 ASDF system:<br>
    hdf5-cffi<br>
; Loading "hdf5-cffi"<br>
[package hdf5]; pkg-config hdf5 --cflags<br>
-I/usr/include/hdf5/serial<br>
; cc -m64 -o /home/healy/.cache/common-lisp/sbcl-1.2.15-linux-x64/home/healy/languages/lisp/hdf5-cffi/hdf5/grovel__grovel-tmpGHU3ALSV<br>
-I/home/healy/languages/lisp/cffi/<br>
/home/healy/.cache/common-lisp/sbcl-1.2.15-linux-x64/home/healy/languages/lisp/hdf5-cffi/hdf5/grovel__grovel.c<br>
; /home/healy/.cache/common-lisp/sbcl-1.2.15-linux-x64/home/healy/languages/lisp/hdf5-cffi/hdf5/grovel__grovel<br>
/home/healy/.cache/common-lisp/sbcl-1.2.15-linux-x64/home/healy/languages/lisp/hdf5-cffi/hdf5/grovel__grovel.grovel-tmp.lisp<br>
; cc -m64 -o /home/healy/.cache/common-lisp/sbcl-1.2.15-linux-x64/home/healy/languages/lisp/hdf5-cffi/hdf5/h5-grovel__grovel-tmpAAURSO1<br>
-I/home/healy/languages/lisp/cffi/<br>
/home/healy/.cache/common-lisp/sbcl-1.2.15-linux-x64/home/healy/languages/lisp/hdf5-cffi/hdf5/h5-grovel__grovel.c<br>
/home/healy/.cache/common-lisp/sbcl-1.2.15-linux-x64/home/healy/languages/lisp/hdf5-cffi/hdf5/h5-grovel__grovel.c:6:18:<br>
fatal error: hdf5.h: No such file or directory<br>
 #include <hdf5.h><br>
                  ^<br>
compilation terminated.<br>
<br>
Is this a problem of CFFI or dies the pkg-config-cflags form need to<br>
be somewhere else?<br>
<br>
Liam<br>
<br>
</blockquote></div>