How to compile newLISP in Lucid Puppy Linux 5.2.8 |
Sunday, December 27th, 2015 14:58:21 GMT |
Puppy Linux |
Compiling newLISP 10.6.2 from scratch in Lucid Puppy Linux 5.2.8 wasn't as tough as compiling GNU Common Lisp 2.6.12, but it was still a bit tricky.
I don't know if most typical Linuxes usually already have that or not, but, Lucid Puppy 5.2.8 version 004 doesn't, and newLISP needs it.
(Or "new2dir make install" (without quotes) if you'd like to make a .pet or .sfs file.
This is the line you need to change:
And here's what you change it to:
This command will create the symlink:
./configure
make
make install
./configure
CFLAGS = -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
CFLAGS = -fPIC -m32 -Wall -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DSUPPORT_UTF8 -DLINUX -DFFI -I/usr/local/lib/libffi-3.2.1/include/
make
" (without quotes), and the build should succeed now.
make install
" or "new2dir make install
" (without quotes) to install newLISP.
ln -s /usr/local/lib/libffi.so.6 /usr/lib/libffi.so.6
Now, it should be possible to run newLISP just by typing "newlisp
" (without quotes).