Hello,

I had not re-built GNU APL recently, since r1997, so when trying to build
latest here today I saw a failure at link time, due to lib '-ltinfo' not
being found.

Reverting a single definition in tools/Makefile.in and tools/Makefile.am
fixed the build for me.

Note this was on a 'funtoo' server (which is a bit out-of-date, due to the
project shutting down), but AFAIK the libncurses6 is reasonably up-to-date.

I can find no separate 'tinfo' package so I'm uncertain why this is
breaking for me.

$ svn diff tools/Makefile.{in,am}
Index: tools/Makefile.in
===================================================================
--- tools/Makefile.in (revision 2024)
+++ tools/Makefile.in (working copy)
@@ -448,7 +448,7 @@
 filter_apl_lines2_SOURCES = filter_apl_lines2.cc
 lines_SOURCES = lines.cc
 ncurses_emul_SOURCES = ncurses_emul.cc
-ncurses_emul_LDADD = -lncurses -ltinfo
+ncurses_emul_LIBS = -lncurses -ltinfo
 TLV_server_SOURCES = TLV_server.c
 unicodes_used_SOURCES = unicodes_used.cc
 phrase_gen_SOURCES = phrase_gen.cc phrase_gen.def
Index: tools/Makefile.am
===================================================================
--- tools/Makefile.am (revision 2024)
+++ tools/Makefile.am (working copy)
@@ -45,7 +45,7 @@
 filter_apl_lines2_SOURCES  = filter_apl_lines2.cc
 lines_SOURCES              = lines.cc
 ncurses_emul_SOURCES       = ncurses_emul.cc
-ncurses_emul_LDADD         = -lncurses -ltinfo
+ncurses_emul_LIBS          = -lncurses -ltinfo
 TLV_server_SOURCES         = TLV_server.c
 unicodes_used_SOURCES      = unicodes_used.cc


-Russ

Reply via email to