bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: libncurses removed


From: Louis Chretien
Subject: Re: libncurses removed
Date: Mon, 7 Sep 2020 15:41:53 -0400

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 &&\
mv -f $depbase.Tpo $depbase.Po
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 <mail@xn--jrgen-sauermann-zvb.de> 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]