• building MagiTerm

    From Al@21:4/106 to apam on Fri Jan 24 00:50:36 2020
    Hello apam,

    I get this when I try to build MagiTerm, do you see any reason for that?


    bash-4.3$ mkdir build
    bash-4.3$ cd build
    bash-4.3$ cmake ..
    -- The C compiler identification is GNU 5.5.0
    -- The CXX compiler identification is GNU 5.5.0
    -- Check for working C compiler: /usr/bin/cc
    -- Check for working C compiler: /usr/bin/cc -- works
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Detecting C compile features
    -- Detecting C compile features - done
    -- Check for working CXX compiler: /usr/bin/c++
    -- Check for working CXX compiler: /usr/bin/c++ -- works
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- Detecting CXX compile features
    -- Detecting CXX compile features - done
    -- Looking for pthread.h
    -- Looking for pthread.h - found
    -- Looking for pthread_create
    -- Looking for pthread_create - not found
    -- Looking for pthread_create in pthreads
    -- Looking for pthread_create in pthreads - not found
    -- Looking for pthread_create in pthread
    -- Looking for pthread_create in pthread - found
    -- Found Threads: TRUE
    -- Found SDL2: /usr/lib64/libSDL2main.a;/usr/lib64/libSDL2.so;-lpthread
    -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2")
    -- Checking for module 'libsecret-1'
    -- Found libsecret-1, version 0.18.5
    -- Found Libsecret: /usr/include/libsecret-1;/usr/include/glib-2.0;/usr/lib64/glib-2.0/include
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /home/alan/MagiTerm-master/build
    bash-4.3$ make
    Scanning dependencies of target MagiTerm
    [ 8%] Building CXX object CMakeFiles/MagiTerm.dir/main.cpp.o /home/alan/MagiTerm-master/main.cpp: In function ‘int main(int, char**)’: /home/alan/MagiTerm-master/main.cpp:800:38: warning: ISO C++ forbids converting
    a string constant to ‘char*’ [-Wwrite-strings]
    send_telnet(tsock, "\r", 1, 0);
    ^ /home/alan/MagiTerm-master/main.cpp:814:38: warning: ISO C++ forbids converting
    a string constant to ‘char*’ [-Wwrite-strings]
    send_telnet(tsock, "\r", 1, 0);
    ^ /home/alan/MagiTerm-master/main.cpp:1658:52: error: ‘ssh_get_server_publickey’ was not declared in this scope
    if (ssh_get_server_publickey(sess, &key) != SSH_OK) {
    ^ CMakeFiles/MagiTerm.dir/build.make:62: recipe for target 'CMakeFiles/MagiTerm.dir/main.cpp.o' failed
    make[2]: *** [CMakeFiles/MagiTerm.dir/main.cpp.o] Error 1 CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/MagiTerm.dir/all' failed make[1]: *** [CMakeFiles/MagiTerm.dir/all] Error 2
    Makefile:149: recipe for target 'all' failed
    make: *** [all] Error 2


    Ttyl :-),
    Al

    --- GoldED+/LNX 1.1.5-b20180707
    * Origin: The Rusty MailBox - Penticton, BC Canada (21:4/106)
  • From apam@21:1/126 to Al on Fri Jan 24 18:57:44 2020
    Hello apam,

    I get this when I try to build MagiTerm, do you see any reason for
    that?

    What version of libssh are you using? I've tried to make it work with
    most versions, but looks like it might need tweaking.

    Andrew

    --- MagickaBBS v0.13alpha (Linux/x86_64)
    * Origin: HappyLand - telnet://magickabbs.com:2023/ (21:1/126)
  • From Al@21:4/106 to apam on Fri Jan 24 19:23:40 2020
    I get this when I try to build MagiTerm, do you see any reason
    for that?

    What version of libssh are you using? I've tried to make it work
    with most versions, but looks like it might need tweaking.

    ssh -V says..

    OpenSSH_7.4p1, OpenSSL 1.0.2u 20 Dec 2019

    Slackware used to be updated twice a year, roughly. 14.2 was released 07-01-2016, so we may be getting a bit behind!

    Ttyl :-),
    Al

    --- MagickaBBS v0.13alpha (Linux/x86_64)
    * Origin: The Rusty MailBox - Penticton, BC Canada (21:4/106)
  • From apam@21:1/126 to Al on Sat Jan 25 14:03:01 2020
    I get this when I try to build MagiTerm, do you see any reason
    for that?

    What version of libssh are you using? I've tried to make it
    work with most versions, but looks like it might need
    tweaking.

    ssh -V says..

    OpenSSH_7.4p1, OpenSSL 1.0.2u 20 Dec 2019

    Slackware used to be updated twice a year, roughly. 14.2 was
    released 07-01-2016, so we may be getting a bit behind!

    No, not openssh, libssh it's a different library - you might have to
    check your package lists.

    Andrew

    --- MagickaBBS v0.13alpha (Linux/x86_64)
    * Origin: HappyLand - telnet://magickabbs.com:2023/ (21:1/126)
  • From Al@21:4/106 to apam on Fri Jan 24 20:16:30 2020
    No, not openssh, libssh it's a different library - you might have
    to check your package lists.

    Ah, OK. libssh is 0.7.6 and there is also libssh2 at 1.8.2.


    Ttyl :-),
    Al

    --- MagickaBBS v0.13alpha (Linux/x86_64)
    * Origin: The Rusty MailBox - Penticton, BC Canada (21:4/106)
  • From apam@21:1/126 to Al on Mon Jan 27 12:05:44 2020
    No, not openssh, libssh it's a different library - you might
    have to check your package lists.

    Ah, OK. libssh is 0.7.6 and there is also libssh2 at 1.8.2.

    Just pushed a fix for this, should be good to build now.

    Andrew

    --- MagickaBBS v0.13alpha (Linux/x86_64)
    * Origin: HappyLand - telnet://magickabbs.com:2023/ (21:1/126)
  • From Al@21:4/106 to apam on Sun Jan 26 18:35:38 2020
    Ah, OK. libssh is 0.7.6 and there is also libssh2 at 1.8.2.

    Just pushed a fix for this, should be good to build now.

    Great, thank you. I'm using MagiTerm 0.9.96 now.. :)


    Ttyl :-),
    Al

    --- MagickaBBS v0.13alpha (Linux/x86_64)
    * Origin: The Rusty MailBox - Penticton, BC Canada (21:4/106)