Posted on: 2014-04-08 14:44:37.000Pre-compiled binaries for newlisp are available for Ubuntu and Debian, but getting a RPM for CentOS is a bit harder. Another option is to compile from source, which is always fun. I tried this recently on CentOS 6.5.
First, get the source. Go to newlisp.org and go to the Downloads page. You will find something that looks like "download from newlisp.org: newLISP v.10.6.0 source". Right click on that link and copy the URL to the clipboard.
Then, from an SSH shell, type
This will download the source code in tgz format. Unzip it by typing:
Then cd to the new directory. This is where you'll compile and build the source code.
First, however, you will need some essential libraries, and you'll have to add some links so that the makefile knows where to find them.
sudo yum install libffi-devel
You should have all the dependencies you need, so time to compile!
You can now run newlisp by typing "newlisp" at the command line. But first, let's fix a few modules in preparation for installing Rockets:
Edit file: /usr/share/newlisp/modules/sqlite3.lsp
You can see above that we've added a couple of lines to these files. Use your favorite text editor (I used nano in this case)
And that's it! You now have a freshly installed build of newlisp, ready to go on your CentOS 6.5 system.
Posted on: 2014-05-21 08:16:04.000hello