Please, to compile on CentOS you need to modify the following file:
newlisp-10.6.4/configure
Here is the patch:
$ diff -ur newlisp-10.6.4-original newlisp-10.6.4
diff -ur newlisp-10.6.4-original/configure newlisp-10.6.4/configure
--- newlisp-10.6.4-original/configure 2015-09-23 14:19:13.000000000 -0300
+++ newlisp-10.6.4/configure 2015-09-25 13:26:25.908544173 -0300
@@ -72,7 +72,7 @@
cp makefile_darwinLP64_utf8_ffi makefile_build
elif [ ${os_type} = LINUX ] ; then
if [ -f /etc/redhat-release ] ; then
- libffi_version=$(ls -d /usr/lib*/libffi*/include &>/dev/null)
+ libffi_version=$(ls -d /usr/lib*/libffi*/include)
if [ -z "${libffi_version}" ] ; then
libffi_version="/usr/include"
fi
In summary, you need to remove the redirection (&> /dev/null).
Regards,
Ivan