Subject: "version" problem with 1.2.8

"version" problem with 1.2.8

From: Paul Howarth <>
Date: Wed, 06 Apr 2011 10:42:00 +0100

There's a problem with the configure script in 1.2.8, where the VERSION
variable extracted from ${srcdir}/include/libssh2.h (correctly) is later
reset to "-". The result of this is that the "Version:" tag in the
libssh2.pc is set to "-" rather than "1.2.8" and possibly similar
effects elsewhere.

For the moment I'm working around this by patching the configure script
as follows:

--- libssh2-1.2.8/configure.orig
+++ libssh2-1.2.8/configure
@@ -2807,7 +2807,7 @@

  # Define the identity of the package.
+ VERSION='1.2.8'

  cat >>confdefs.h <<_ACEOF

Cheers, Paul.
Received on 2011-04-06