Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - hh1000

#1
newLISP and the O.S. /
March 09, 2004, 07:55:06 AM
With the CFLAG changes i was able to get a clean compile and install.



Thank you for your quick and helpful answer.



Take Care,



Henry Hansen.



P.S.  /etc/debian_version is 3.0 in text mode on a vintage P166 with 64MB.  The computer is unstoppable.
#2
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.