In the makefile, under the linux target, replace section:
HAVE_LIBCURSES=''; \
if test -f /usr/lib64/libncurses.so || \
test -f /usr/lib/libncurses.a || \
test -f /usr/lib/libncurses.so; then \
HAVE_LIBCURSES='-lncurses'; \
with section:
HAVE_LIBCURSES=''; \
if test -f /usr/lib64/libncurses.so || \
test -f /usr/lib/libncurses.a || \
test -f /usr/lib/x86_64-linux-gnu/libncurses.so || \
test -f /usr/lib/libncurses.so; then \
HAVE_LIBCURSES='-lncurses'; \
Since someone deemed it useful to change the old /usr/lib, /usr/lib64 structure.
I had success compiling the source from the C-Kermit “Daily” Source-Code Archive on Ubuntu 20.04
As this is something I have a need for and until a formal release is out, I patched makefile and ckucmd.c and Kermit compiles normally.
first of all, you'll need to install libpam development->
sudo apt-get install libpam0g-dev
C-Kermit can be obtained from:
http://www.columbia.edu/kermit/ck90.html
and finally, a link to the two files changed:
https://mega.nz/file/DL4nnZhD#1-Wr-QnywqsjNFxMstz4L0b8cf3eBPv6vt9DycpGoUY
build with->
make linux
Hope this has helped those who use kermit for file transfer, through ssh or telnet.
Thanks.
In the makefile, under the linux target, replace section:
with section:
Since someone deemed it useful to change the old
/usr/lib
,/usr/lib64
structure.