Can confirm on my OpenBSD machine.
The easy fix is to un-typo stderr :)
No other errors; once this is fixed rev 1345 is ok.

~Brian

________________________________
Brian Robert Callahan, Ph.D.
Lecturer, ITWS@RPI
Office: Amos Eaton 132
________________________________
From: Bug-apl [[email protected]] on behalf of Louis 
Chretien via Bugs and suggestions for GNU APL [[email protected]]
Sent: Monday, September 07, 2020 3:41 PM
To: [email protected]
Subject: Re: libncurses removed

Seems the new setup creates a build error on Mac OS 10.14.6:

gcc -DHAVE_CONFIG_H -I. -I..     -g -O2 -MT sockconst.o -MD -MP -MF 
$depbase.Tpo -c -o sockconst.o sockconst.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/sh ../libtool  --tag=CC   --mode=link gcc  -g -O2   -o sockconst 
sockconst.o  -ldl -lm -lncurses -lcurses -lpthread
libtool: link: gcc -g -O2 -o sockconst sockconst.o  -ldl -lm -lncurses -lcurses 
-lpthread
depbase=`echo TLV_server.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I..     -g -O2 -MT TLV_server.o -MD -MP -MF 
$depbase.Tpo -c -o TLV_server.o TLV_server.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/sh ../libtool  --tag=CC   --mode=link gcc  -g -O2   -o TLV_server 
TLV_server.o  -ldl -lm -lncurses -lcurses -lpthread
libtool: link: gcc -g -O2 -o TLV_server TLV_server.o  -ldl -lm -lncurses 
-lcurses -lpthread
depbase=`echo ncurses_emul.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
g++ -DHAVE_CONFIG_H -I. -I..     -g -O2 -MT ncurses_emul.o -MD -MP -MF 
$depbase.Tpo -c -o ncurses_emul.o ncurses_emul.cc<http://ncurses_emul.cc> &&\
mv -f $depbase.Tpo $depbase.Po
ncurses_emul.cc:232<http://ncurses_emul.cc:232>:19: error: use of undeclared 
identifier 'sdterr'
   return fprintf(sdterr, "*** LIBCURSES etc. missing\n");
                  ^
1 error generated.
make[2]: *** [ncurses_emul.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

That is a clean SVN update, followed by a ./configure.

On Sep 7, 2020, at 09:23, Dr. Jürgen Sauermann 
<[email protected]<mailto:[email protected]>> wrote:

Hi,

Due to too many problems on some platforms (and too little benefit
for GNU APL) I have removed the use of libncurses by GNU APL.

As a replacement there is now a tool "emul_ncurses" in directory tools.

In the unlikely event that the removal of ncurses causes trouble for
you (unlikely because use of ncurses has always been a last resort fallback)
you can run  emul_ncurses and patch its output into one of your preferences
file.

SVN 1345.

Best Regards,
Jürgen



---
Louis Chrétien
[email protected]<mailto:[email protected]>




Reply via email to