[Slackbuilds-users] Error building codelite-14.0
Willy Sudiarto Raharjo
willysr at slackbuilds.org
Sun May 10 07:10:26 UTC 2020
> 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?
It's now fixed on my branch
the patch need some adjustment for Slackware as it uses newer version of
libssh compared to Ubuntu/Debian.
--
Willy Sudiarto Raharjo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: OpenPGP digital signature
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20200510/79a7f350/attachment.asc>
More information about the SlackBuilds-users
mailing list