Maintenance release newLISP v.10.0.2

Started by Lutz, March 09, 2009, 06:07:06 AM

Previous topic - Next topic

Lutz

• new read-utf8 reads utf8 characters from file handles.



• treatment of the status response line in CGI files by newLISP server has changed and is documented in the "Code Patterns" document.



• directory? function now insensitive to trailing slashes on Win32



For other changes and bug-fixes see the doc/CHANGES file in the source distribution.



For downloads for other platforms besides Windows see the

http://www.newlisp.org/?Downloads">http://www.newlisp.org/?Downloads page.

newdep

#1
Hi Lutz,



I noticed the makefiles are changed and make linux_readline does exist

but is now make linux.. Im getting this error and im wondering if thats

related to the libc libs?



v10.0.3 on slackware gives me this during compilation ->



 $ make linux

make -f makefile_linux

make[1]: Entering directory `/newlisp-10.0.3'

gcc -m32 -Wall -pedantic -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DLINUX newlisp.c

gcc -m32 -Wall -pedantic -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DLINUX nl-symbol.c

gcc -m32 -Wall -pedantic -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DLINUX nl-math.c

gcc -m32 -Wall -pedantic -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DLINUX nl-list.c

gcc -m32 -Wall -pedantic -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DLINUX nl-liststr.c

gcc -m32 -Wall -pedantic -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DLINUX nl-string.c

gcc -m32 -Wall -pedantic -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DLINUX nl-filesys.c

gcc -m32 -Wall -pedantic -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DLINUX nl-sock.c

gcc -m32 -Wall -pedantic -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DLINUX nl-import.c

gcc -m32 -Wall -pedantic -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DLINUX nl-xml.c

gcc -m32 -Wall -pedantic -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DLINUX nl-web.c

gcc -m32 -Wall -pedantic -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DLINUX nl-matrix.c

gcc -m32 -Wall -pedantic -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DLINUX nl-debug.c

gcc -m32 -Wall -pedantic -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DLINUX pcre.c

gcc newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-filesys.o nl-sock.o nl-import.o nl-xml.o nl-web.o nl-matrix.o nl-debug.o pcre.o -m32 -g -lm -ldl -lreadline -o newlisp

/usr/lib/gcc/i486-slackware-linux/4.2.4/../../../libreadline.so: undefined reference to `PC'

/usr/lib/gcc/i486-slackware-linux/4.2.4/../../../libreadline.so: undefined reference to `tgetflag'

/usr/lib/gcc/i486-slackware-linux/4.2.4/../../../libreadline.so: undefined reference to `tgetent'

/usr/lib/gcc/i486-slackware-linux/4.2.4/../../../libreadline.so: undefined reference to `UP'

/usr/lib/gcc/i486-slackware-linux/4.2.4/../../../libreadline.so: undefined reference to `tputs'

/usr/lib/gcc/i486-slackware-linux/4.2.4/../../../libreadline.so: undefined reference to `tgoto'

/usr/lib/gcc/i486-slackware-linux/4.2.4/../../../libreadline.so: undefined reference to `tgetnum'

/usr/lib/gcc/i486-slackware-linux/4.2.4/../../../libreadline.so: undefined reference to `BC'

/usr/lib/gcc/i486-slackware-linux/4.2.4/../../../libreadline.so: undefined reference to `tgetstr'

collect2: ld returned 1 exit status

make[1]: *** [default] Error 1

make[1]: Leaving directory `/newlisp-10.0.3'

make: *** [linux] Error 2
-- (define? (Cornflakes))

newdep

#2
The makefile is missing the -ltermcap or -lncurses in my case...

Adding it fixes the issue..







PS: is it possible to name the exe releases also with a . in the version?

(I guess windows is able to handle multiple dots)



10003 is now the naming but all other have 10.0.3 in the release name

of the binary download..also easier for my update script ;-)
-- (define? (Cornflakes))

Lutz

#3
10.0.3 is already out (to be announced in a few minutes). But I will add it in an out- commented line in the next version. The current makefile_linux and makefule_debian build fine on UBUNTU.