READLINE in linux vs linux_utf8
Posted: Thu Nov 17, 2005 8:12 pm
Hi Lutz,
re rpm building:
Building rpms for 8.7.1 I noted that the makefile for linux disables readline by default viz:
# makefile for newLISP v. 8.x.x on LINUX
#
# Note, that readline support may require different libraries on different OSs
#
OBJS = 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
#CFLAGS = -Wall -pedantic -Wno-uninitialized -c -O2 -g -DREADLINE -DLINUX
CFLAGS = -Wall -pedantic -Wno-uninitialized -c -O2 -g -DLINUX
CC = gcc
whereas the makefile for linux_utf8 has it enabled by default viz:
# makefile for newLISP v. 8.x.x on LINUX with UTF-8 support
#
# Note, that readline support may require different libraries on different OSs
#
OBJS = 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 nl-utf8.o pcre.o
CFLAGS = -Wall -pedantic -Wno-uninitialized -c -O2 -g -DREADLINE -DSUPPORT_UTF8 -DLINUX
CC = gcc
Lutz - how would you like the rpms for download done regarding READLINE?
Note also the needed changes re the spec files:
1.
the .spec files now live in /util instead of /doc so had to change Makefile to
reflect this for rpm and rpm_utf8 sections
2.
new file newlisp/gmp.lsp is not in file list of .spec files so had to add to
.spec file of rpm and utf8 rpm (get warning during rpm build otherwise)
Regards
Nigel
re rpm building:
Building rpms for 8.7.1 I noted that the makefile for linux disables readline by default viz:
# makefile for newLISP v. 8.x.x on LINUX
#
# Note, that readline support may require different libraries on different OSs
#
OBJS = 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
#CFLAGS = -Wall -pedantic -Wno-uninitialized -c -O2 -g -DREADLINE -DLINUX
CFLAGS = -Wall -pedantic -Wno-uninitialized -c -O2 -g -DLINUX
CC = gcc
whereas the makefile for linux_utf8 has it enabled by default viz:
# makefile for newLISP v. 8.x.x on LINUX with UTF-8 support
#
# Note, that readline support may require different libraries on different OSs
#
OBJS = 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 nl-utf8.o pcre.o
CFLAGS = -Wall -pedantic -Wno-uninitialized -c -O2 -g -DREADLINE -DSUPPORT_UTF8 -DLINUX
CC = gcc
Lutz - how would you like the rpms for download done regarding READLINE?
Note also the needed changes re the spec files:
1.
the .spec files now live in /util instead of /doc so had to change Makefile to
reflect this for rpm and rpm_utf8 sections
2.
new file newlisp/gmp.lsp is not in file list of .spec files so had to add to
.spec file of rpm and utf8 rpm (get warning during rpm build otherwise)
Regards
Nigel