How to install newlisp on Debian - cannot compile.
Posted: Tue Mar 09, 2004 7:51 am
First off, I am very impressed with what has been done with newlisp. What a nice piece of software. I am so looking forward to using this language for a number of projects.
Minor problem though ...
I would like to create some webapps for my Debian box, unfortunately I get these errors when I try to compile and install newlisp_7500.
# make linux
make -f makefile_linux
make[1]: Entering directory `/root/newlisp/newlisp_7500'
gcc -Wall -pedantic -c -O2 -g -DNANOSLEEP -DREADLINE -DOPSYS=1 newlisp.c
newlisp.c:28: readline/readline.h: No such file or directory
newlisp.c:29: readline/history.h: No such file or directory
make[1]: *** [newlisp.o] Error 1
make[1]: Leaving directory `/root/newlisp/newlisp_7500'
make: *** [linux] Error 2
If I edit makefile_linux and use the CFLAGS that do don't "-DREADLINE", ie the third option, I run into this:
make -f makefile_linux
make[1]: Entering directory `/root/newlisp/newlisp_7500'
gcc -Wall -pedantic -Wno-uninitialized -O2 -c -g -DNANOSLEEP newlisp.c
gcc -Wall -pedantic -Wno-uninitialized -O2 -c -g -DNANOSLEEP nl-symbol.c
gcc -Wall -pedantic -Wno-uninitialized -O2 -c -g -DNANOSLEEP nl-math.c
gcc -Wall -pedantic -Wno-uninitialized -O2 -c -g -DNANOSLEEP nl-list.c
gcc -Wall -pedantic -Wno-uninitialized -O2 -c -g -DNANOSLEEP nl-liststr.c
gcc -Wall -pedantic -Wno-uninitialized -O2 -c -g -DNANOSLEEP nl-string.c
gcc -Wall -pedantic -Wno-uninitialized -O2 -c -g -DNANOSLEEP nl-filesys.c
nl-filesys.c: In function `p_systemInfo':
nl-filesys.c:754: `OPSYS' undeclared (first use in this function)
nl-filesys.c:754: (Each undeclared identifier is reported only once
nl-filesys.c:754: for each function it appears in.)
make[1]: *** [nl-filesys.o] Error 1
make[1]: Leaving directory `/root/newlisp/newlisp_7500'
make: *** [linux] Error 2
Any help or suggestions would be greatly appreciated.
Thanks,
Henry Hansen.
Minor problem though ...
I would like to create some webapps for my Debian box, unfortunately I get these errors when I try to compile and install newlisp_7500.
# make linux
make -f makefile_linux
make[1]: Entering directory `/root/newlisp/newlisp_7500'
gcc -Wall -pedantic -c -O2 -g -DNANOSLEEP -DREADLINE -DOPSYS=1 newlisp.c
newlisp.c:28: readline/readline.h: No such file or directory
newlisp.c:29: readline/history.h: No such file or directory
make[1]: *** [newlisp.o] Error 1
make[1]: Leaving directory `/root/newlisp/newlisp_7500'
make: *** [linux] Error 2
If I edit makefile_linux and use the CFLAGS that do don't "-DREADLINE", ie the third option, I run into this:
make -f makefile_linux
make[1]: Entering directory `/root/newlisp/newlisp_7500'
gcc -Wall -pedantic -Wno-uninitialized -O2 -c -g -DNANOSLEEP newlisp.c
gcc -Wall -pedantic -Wno-uninitialized -O2 -c -g -DNANOSLEEP nl-symbol.c
gcc -Wall -pedantic -Wno-uninitialized -O2 -c -g -DNANOSLEEP nl-math.c
gcc -Wall -pedantic -Wno-uninitialized -O2 -c -g -DNANOSLEEP nl-list.c
gcc -Wall -pedantic -Wno-uninitialized -O2 -c -g -DNANOSLEEP nl-liststr.c
gcc -Wall -pedantic -Wno-uninitialized -O2 -c -g -DNANOSLEEP nl-string.c
gcc -Wall -pedantic -Wno-uninitialized -O2 -c -g -DNANOSLEEP nl-filesys.c
nl-filesys.c: In function `p_systemInfo':
nl-filesys.c:754: `OPSYS' undeclared (first use in this function)
nl-filesys.c:754: (Each undeclared identifier is reported only once
nl-filesys.c:754: for each function it appears in.)
make[1]: *** [nl-filesys.o] Error 1
make[1]: Leaving directory `/root/newlisp/newlisp_7500'
make: *** [linux] Error 2
Any help or suggestions would be greatly appreciated.
Thanks,
Henry Hansen.