newLISP v.10.7.0 Stable Release

Started by Lutz, January 21, 2016, 09:11:41 AM

Previous topic - Next topic

newdep

#15
HIya.. ;-)

Just a small report...



Was unable to compile 10.7.0 on one of my freeBSD machine, still hanging into the 10.6 range ;-)

see below the output...Could very wel be others already tackled this compile issue but could not find

an answer.. so posting here .. The Bsd repository wasn't updated either.. ;-)





This is OK

./configure-alt

Detected Operating System _BSD
Detected memory model LP64
Detected time_t size 64BIT
Detected readline flags: -lreadline
UTF-8 is enabled
readline support is enabled
ffi support is disabled

To enable ffi support, use the --enable-ffi option, and specify the proper
libraries to link by setting the FFIFLAGS variable when running configure.
Also if necessary, use the INCLUDES variable to specify where the ffi header
files are.


Variables:

        package=newlisp
        version=10.7.0
        prefix=/usr/local
        exec_prefix=/usr/local
        bindir=/usr/local/bin
        datarootdir=/usr/local/share
        datadir=/usr/local/share
        pkgdatadir=/usr/local/share/newlisp-10.7.0
        docdir=/usr/local/share/doc/newlisp
        mandir=/usr/local/man
        man1dir=/usr/local/man/man1

Type "make" to build your newlisp binary.





OKE 2 ...sofar



$cat makefile_build

# makefile for newLISP v. 10.1.x generated by the configure script (configure-alt)
CC = cc
CFLAGS =  -Wall -Wno-uninitialized -Wno-long-long -fno-strict-aliasing -O2 -c
LDFLAGS = -lm
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-json.o nl-web.o nl-matrix.o nl-debug.o pcre.o nl-utf8.o
STRIP = strip
TARG = newlisp
RLFLAGS = -lreadline
FFIFLAGS =
ARCHFLAGS = -m64

default: $(OBJS)
        $(CC) $(OBJS) $(ARCHFLAGS) $(LDFLAGS) $(RLFLAGS) $(FFIFLAGS) -o $(TARG)
        $(STRIP) $(TARG)

.c.o:
        $(CC) $(ARCHFLAGS) $(CFLAGS) -DNEWCONFIG $<

$(OBJS): primes.h protos.h config.h makefile_build







here is the bugger ..



.$make


make -f makefile_build
cc -m64 -Wall -Wno-uninitialized -Wno-long-long -fno-strict-aliasing -O2 -c -DNEWCONFIG newlisp.c
newlisp.c:1013:9: error: conflicting types for 'completion_matches'
char ** completion_matches(const char * text,  char * (*commands)(const char *, int));
        ^
/usr/include/readline/readline.h:460:15: note: previous declaration is here
extern char **completion_matches PARAMS((char *, rl_compentry_func_t *));
              ^
1 error generated.
*** Error code 1

Stop.
make[1]: stopped in /xxxx/xxxx/xxxx/newlisp-10.7.0
*** Error code 1

Stop.





Just found out again, It doesn't matter how hard you try to get into new inventive progressive science,

the good parts that are melted into your brain..will stick forever, like honey on a wall ;-) I could

switch to Lua or Chicken-Scheme or Python or whatever...That whats making you tick the keyboard and

think like a machine and flow right out and codes the best, i shall be...

Perhpas I just used newlisp a little too long..hahaha.. Its simply a great language folks !
-- (define? (Cornflakes))

Lutz

#16
Don't use configure-alt which gives me the same problem on FreeBSD 10.3, but use configure instead, which works well selecting makefile_bsdLP64_utf8_ffi:



newlisp /home/public/newlisp-10.7.0]$ make
./configure

removing old objects and setting correct permissions ...
discovering platform and default memory model ...

detected memory model LP64
detected Operating System _BSD
creating makefile_build ...

to make for LP64 on _BSD type:
    make
to make for any other system do:
    make -f makefile_xxx
where makefile_xxx is one of the preconfigured makefiles

make -f makefile_build
cc -m64 -Wall -fno-strict-aliasing -O2 -c -g -I/usr/local/include -DREADLINE -DNEWLISP64 -DSUPPORT_UTF8 -D_BSD -DFFI newlisp.c
cc -m64 -Wall -fno-strict-aliasing -O2 -c -g -I/usr/local/include -DREADLINE -DNEWLISP64 -DSUPPORT_UTF8 -D_BSD -DFFI nl-symbol.c
cc -m64 -Wall -fno-strict-aliasing -O2 -c -g -I/usr/local/include -DREADLINE -DNEWLISP64 -DSUPPORT_UTF8 -D_BSD -DFFI nl-math.c
cc -m64 -Wall -fno-strict-aliasing -O2 -c -g -I/usr/local/include -DREADLINE -DNEWLISP64 -DSUPPORT_UTF8 -D_BSD -DFFI nl-list.c
cc -m64 -Wall -fno-strict-aliasing -O2 -c -g -I/usr/local/include -DREADLINE -DNEWLISP64 -DSUPPORT_UTF8 -D_BSD -DFFI nl-liststr.c
cc -m64 -Wall -fno-strict-aliasing -O2 -c -g -I/usr/local/include -DREADLINE -DNEWLISP64 -DSUPPORT_UTF8 -D_BSD -DFFI nl-string.c
cc -m64 -Wall -fno-strict-aliasing -O2 -c -g -I/usr/local/include -DREADLINE -DNEWLISP64 -DSUPPORT_UTF8 -D_BSD -DFFI nl-filesys.c
cc -m64 -Wall -fno-strict-aliasing -O2 -c -g -I/usr/local/include -DREADLINE -DNEWLISP64 -DSUPPORT_UTF8 -D_BSD -DFFI nl-sock.c
cc -m64 -Wall -fno-strict-aliasing -O2 -c -g -I/usr/local/include -DREADLINE -DNEWLISP64 -DSUPPORT_UTF8 -D_BSD -DFFI nl-import.c
cc -m64 -Wall -fno-strict-aliasing -O2 -c -g -I/usr/local/include -DREADLINE -DNEWLISP64 -DSUPPORT_UTF8 -D_BSD -DFFI nl-xml-json.c
cc -m64 -Wall -fno-strict-aliasing -O2 -c -g -I/usr/local/include -DREADLINE -DNEWLISP64 -DSUPPORT_UTF8 -D_BSD -DFFI nl-web.c
cc -m64 -Wall -fno-strict-aliasing -O2 -c -g -I/usr/local/include -DREADLINE -DNEWLISP64 -DSUPPORT_UTF8 -D_BSD -DFFI nl-matrix.c
cc -m64 -Wall -fno-strict-aliasing -O2 -c -g -I/usr/local/include -DREADLINE -DNEWLISP64 -DSUPPORT_UTF8 -D_BSD -DFFI nl-debug.c
cc -m64 -Wall -fno-strict-aliasing -O2 -c -g -I/usr/local/include -DREADLINE -DNEWLISP64 -DSUPPORT_UTF8 -D_BSD -DFFI nl-utf8.c
cc -m64 -Wall -fno-strict-aliasing -O2 -c -g -I/usr/local/include -DREADLINE -DNEWLISP64 -DSUPPORT_UTF8 -D_BSD -DFFI pcre.c
cc 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-json.o nl-web.o nl-matrix.o nl-debug.o nl-utf8.o pcre.o -m64 -g -lm -lreadline -lncurses -L/usr/local/lib -lffi -o newlisp
strip newlisp
[newlisp /home/public/newlisp-10.7.0]$ uname -a
FreeBSD newlisp.nfshost.com 10.3-RELEASE-p6 FreeBSD 10.3-RELEASE-p6 #4 r303593: Thu Aug 11 20:02:18 UTC 2016     root@x7:/usr/obj/usr/src/sys/NFSN64  amd64

newdep

#17
;-)



That fixed it Lutz !..



$make -f makefile_bsdLP64_utf8_ffi
cc -m64 -Wall -fno-strict-aliasing -O2 -c -g -I/usr/local/include -DREADLINE -DNEWLISP64 -DSUPPORT_UTF8 -D_BSD -DFFI newlisp.c
cc -m64 -Wall -fno-strict-aliasing -O2 -c -g -I/usr/local/include -DREADLINE -DNEWLISP64 -DSUPPORT_UTF8 -D_BSD -DFFI nl-symbol.c
cc -m64 -Wall -fno-strict-aliasing -O2 -c -g -I/usr/local/include -DREADLINE -DNEWLISP64 -DSUPPORT_UTF8 -D_BSD -DFFI nl-math.c
cc -m64 -Wall -fno-strict-aliasing -O2 -c -g -I/usr/local/include -DREADLINE -DNEWLISP64 -DSUPPORT_UTF8 -D_BSD -DFFI nl-list.c
cc -m64 -Wall -fno-strict-aliasing -O2 -c -g -I/usr/local/include -DREADLINE -DNEWLISP64 -DSUPPORT_UTF8 -D_BSD -DFFI nl-liststr.c
cc -m64 -Wall -fno-strict-aliasing -O2 -c -g -I/usr/local/include -DREADLINE -DNEWLISP64 -DSUPPORT_UTF8 -D_BSD -DFFI nl-string.c
cc -m64 -Wall -fno-strict-aliasing -O2 -c -g -I/usr/local/include -DREADLINE -DNEWLISP64 -DSUPPORT_UTF8 -D_BSD -DFFI nl-filesys.c
cc -m64 -Wall -fno-strict-aliasing -O2 -c -g -I/usr/local/include -DREADLINE -DNEWLISP64 -DSUPPORT_UTF8 -D_BSD -DFFI nl-sock.c
cc -m64 -Wall -fno-strict-aliasing -O2 -c -g -I/usr/local/include -DREADLINE -DNEWLISP64 -DSUPPORT_UTF8 -D_BSD -DFFI nl-import.c
cc -m64 -Wall -fno-strict-aliasing -O2 -c -g -I/usr/local/include -DREADLINE -DNEWLISP64 -DSUPPORT_UTF8 -D_BSD -DFFI nl-xml-json.c
cc -m64 -Wall -fno-strict-aliasing -O2 -c -g -I/usr/local/include -DREADLINE -DNEWLISP64 -DSUPPORT_UTF8 -D_BSD -DFFI nl-web.c
cc -m64 -Wall -fno-strict-aliasing -O2 -c -g -I/usr/local/include -DREADLINE -DNEWLISP64 -DSUPPORT_UTF8 -D_BSD -DFFI nl-matrix.c
cc -m64 -Wall -fno-strict-aliasing -O2 -c -g -I/usr/local/include -DREADLINE -DNEWLISP64 -DSUPPORT_UTF8 -D_BSD -DFFI nl-debug.c
cc -m64 -Wall -fno-strict-aliasing -O2 -c -g -I/usr/local/include -DREADLINE -DNEWLISP64 -DSUPPORT_UTF8 -D_BSD -DFFI nl-utf8.c
cc -m64 -Wall -fno-strict-aliasing -O2 -c -g -I/usr/local/include -DREADLINE -DNEWLISP64 -DSUPPORT_UTF8 -D_BSD -DFFI pcre.c
cc 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-json.o nl-web.o nl-matrix.o nl-debug.o nl-utf8.o pcre.o -m64 -g -lm -lreadline -lncurses -L/usr/local/lib -lffi -o newlisp
strip newlisp

-- (define? (Cornflakes))

protozen

#18
Happy New Year! Looking forward to another great release in 10.7.1

Katyk_Sn

-
#19
Thanks so much for the new release. Eager to get some of the Dried Seaweed.



Thank you and the developers for keeping this beloved game interesting

cameyo

#20
deleted

Katyk_Sn

hi!
#21
Quote... time zone offset in the 'now' function now switching fine between standard and daylight savings time on Windows:   http://www.newlisp.org/downloads/develo">http://www.newlisp.org/downloads/develo ... l.html#now  http://www.newlisp.org/downloads/development/inprogress">http://www.newlisp.org/downloads/development/inprogress


You it is serious?