As I could not find on the internet any other solution, I'm going to
document here how I compiled ckermit 9.0.302 on my Ubuntu 12.04.1 LTS:

1) Download cku302.tar.gz from http://www.columbia.edu/kermit/ck90.html#source
to /usr/local/src/ckermit
2) gunzip -c cku302.tar.gz | tar xf -
3) make linux+krb5+ssl
compilation failed: openssl/comp.h: No such file or directory
4) Install package libssl-dev: apt-get install libssl-dev
5) Also needed packages libkrb5-dev & libpam0g-dev
6) Compilation failed: /usr/bin/ld: cannot find -lgssapi
libgssapi-krb5-2 was already installed which contains 
/usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2
        but not libgssapi.so...
These do exist (part of package libgssapi3-heimdal:
/usr/lib/x86_64-linux-gnu/libgssapi.so.3
/usr/lib/x86_64-linux-gnu/libgssapi.so.3.0.0

I'm not sure if I should be using krb5 MIT or heimdal.
I don't need krb5 anyway.

7) make linux+ssl
Now compilation failed complaining about missing curses symbols...
8) change makefile in section linux:
        if test -f /usr/lib64/libncurses.so || \
           test -f /usr/lib/libncurses.a  || \
           test -f /usr/lib/libncurses.so; then \
          HAVE_LIBCURSES='-lncurses'; \
        else if test -f /usr/lib64/libcurses.so || \
           test -f /usr/lib/libcurses.a || \
           test -f /usr/lib/libcurses.so; then \
             HAVE_LIBCURSES='-lcurses'; fi; fi; \
to
        if test -f /usr/lib64/libncurses.so || \
           test -f /usr/lib/libncurses.a  || \
           test -f /lib/x86_64-linux-gnu/libncurses.so.5  || \  ### add this 
line - do not include this comment###
           test -f /usr/lib/libncurses.so; then \
          HAVE_LIBCURSES='-lncurses'; \
        else if test -f /usr/lib64/libcurses.so || \
           test -f /usr/lib/libcurses.a || \
           test -f /usr/lib/libcurses.so; then \
             HAVE_LIBCURSES='-lcurses'; fi; fi; \

9) make linux+ssl
(Clean compiled now.)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1072725

Title:
  wrong version OpenSSL

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ckermit/+bug/1072725/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to