[Slackbuilds-users] Error building codelite-14.0

Gunga Din II srigungadinji2 at gmail.com
Sat Apr 25 10:39:16 UTC 2020


Hi,

I recently built codelite-13.0, and that went OK, but the recent upgrade 
to codelite-14.0 failed on my Slackware-14.2 machine.

Here's the problem...

===========================================

CodeLite/CMakeFiles/libcodelite.dir/cl_ssh.cpp.o
/tmp/SBo/codelite-14.0/CodeLite/cl_ssh.cpp: In member function 'bool
clSSH::AuthenticateServer(wxString&)':
/tmp/SBo/codelite-14.0/CodeLite/cl_ssh.cpp:118:45: error:
'ssh_get_server_publickey' was not declared in this scope
      ssh_get_server_publickey(m_session, &key);

^
     CodeLite/CMakeFiles/libcodelite.dir/build.make:758:
recipe for target 'CodeLite/CMakeFiles/libcodelite.dir/cl_ssh.cpp.o'
failed
===========================================

I found mention on Github of the same issue on another distro (Linux 
Mint), and apparently it's a problem with the version checking of libssh

The original post is here => https://github.com/eranif/codelite/issues/2443

There's mention of a quick fix in the bug report...

====CUT===
You will probably be able to 'fix' the build by changing
CodeLite/cl_ssh.cpp
#if LIBSSH_VERSION_INT < SSH_VERSION_INT(0, 6, 1)
to e.g. (0, 6, 5).
====CUT===

So it looks like a know problem upstream...?

Any chance of a patch until this is resolved upstream?

Thanks.




More information about the SlackBuilds-users mailing list