newLisp won't compile

Started by rotacoder, March 28, 2016, 02:36:44 AM

Previous topic - Next topic

rotacoder

Hi,



I'm using a Linux distro based on Debian stable (32 bit). There is no package for 32 bit Debian so I downloaded the source, but when I run "make" I get the following error:


make -f makefile_build
make[1]: Entering directory '/home/jules/Documents/newlisp-10.7.0'
gcc -fPIC -m32 -Wall -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DSUPPORT_UTF8 -DLINUX -DFFI -I/usr/local/lib/libffi-3.0.13/include newlisp.c
In file included from newlisp.c:20:0:
newlisp.h:118:17: fatal error: ffi.h: No such file or directory
 #include <ffi.h>
                 ^
compilation terminated.
makefile_build:21: recipe for target 'newlisp.o' failed
make[1]: *** [newlisp.o] Error 1


Not sure what the problem is here. Probably missing some library or other but don't know?



Any help appreciated.

TedWalther

#1
Have you installed libffi-dev?



sudo apt install libffi-dev
Cavemen in bearskins invaded the ivory towers of Artificial Intelligence.  Nine months later, they left with a baby named newLISP.  The women of the ivory towers wept and wailed.  \"Abomination!\" they cried.