This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuI also plan to learn emacs which means I will learn elisp, so I am now much more motivated to thoroughly understand elisp now...Quote from: "arquebus"
In file included from newlisp.c:20:0:
newlisp.h:37:56: fatal error: x86_64-linux-gnu/ffi.h: No such file or directory
compilation terminated.
[ishpeck@kiyoshi newlisp-10.4.0]$ export C_INCLUDE_PATH=/usr/lib/libffi-3.0.10/include:/usr/include
[ishpeck@kiyoshi web]$ diff newlisp.h newlisp-10.4.0/newlisp.h
37,38c37
< /*# include <x86_64-linux-gnu/ffi.h>*/ /* ubuntu_x64 */
< #include <ffi.h>
---
> # include <x86_64-linux-gnu/ffi.h> /* ubuntu_x64 */
> (define (foo x) (lambda (y) (+ x y)))
(lambda (x) (lambda (y) (+ x y)))
> ((foo 3) 4)
ERR: value expected in function + : x
[16]> (defun foo (x) (lambda (y) (+ x y)))
FOO
[17]> (apply (foo 3) '(5))
8
"/usr/local/lib/libmysqlclient.so.19.0" ; OpenBSD 4.6
"/usr/local/lib/libmysqlclient.so.20.0" ; OpenBSD 4.9