配置成功后,使用snipped退出
gclosure.c:29:17: fatal error: ffi.h: No such file or directory
compilation terminated.
我安装了 libffi,并找到 ffi.h 给出:
/home/luca/gcc4.6/gcc-4.6.0/libffi/include/ffi.h.in
/usr/include/x86_64-linux-gnu/ffi.h
/usr/share/doc/ghc-doc/html/users_guide/ffi.html
/usr/share/doc/libffi5/html/Using-libffi.html