I don't know if this is the right place or not, but at any rate, the patch to the fsvb repository that was discussed on irc a week (or so) ago is attached. Basically, I just added the location of ffi.h for Fedora 12 to libffi-unix.lisp . Chances are it's not ready-for-prime-time since I'm not very good with lisp yet and have only really been able to test it on my machines, but hopefully it's useful.
Thanks,
--Joshua Holbrook
This is the same problem under any linux, in my experience. For some stupid reason, libffi thinks it's a good idea to put include headers in a directory with the version number, in /usr/lib. I don't think this should be added to fsbv in this hardcoded fashion, but should rather be determined at (or before) grovel time, or we should all e-mail the libffi people about why this is wrong.
-Sumant
On Mon, Nov 29, 2010 at 03:01:33PM -0900, Joshua Holbrook wrote:
I don't know if this is the right place or not, but at any rate, the patch to the fsvb repository that was discussed on irc a week (or so) ago is attached. Basically, I just added the location of ffi.h for Fedora 12 to libffi-unix.lisp . Chances are it's not ready-for-prime-time since I'm not very good with lisp yet and have only really been able to test it on my machines, but hopefully it's useful.
Thanks,
--Joshua Holbrook
From a8b7b582f03a0f9880c26c951d44109284709176 Mon Sep 17 00:00:00 2001 From: Joshua Holbrook josh.holbrook@gmail.com Date: Mon, 29 Nov 2010 14:12:33 -0900 Subject: [PATCH] changes to libffi-unix.lisp that enable compilation in Fedora. Probably (mostly) right.
libffi-unix.lisp | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/libffi-unix.lisp b/libffi-unix.lisp index b958a3e..73a39a9 100644 --- a/libffi-unix.lisp +++ b/libffi-unix.lisp @@ -13,6 +13,9 @@ #+darwin (cc-flags "-I/opt/local/include/")
+#+clc-os-fedora +(cc-flags "-I//usr/lib/libffi-3.0.5/include/")
#+darwin (include "ffi/ffi.h")
#-darwin
1.7.2.3
GSLL-devel mailing list GSLL-devel@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/gsll-devel