[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

version master branch


Dear all!
Briefly: version of the master brunch is 0.7.0 - is it normal?In detail:
I compiled and installed libssh from git:
git clone git://git.libssh.org/projects/libssh.git libssh
cd libssh
git branch
* master
mkdir build
cd build
cmake -DWITH_TESTING=ON -DCMAKE_INSTALL_PREFIX=/home/user/lib
-DCMAKE_BUILD_TYPE=Debug ..
make
make install
Then I compiled my test application using libssh from /home/user/lib
=========my main.c====================================
#include <libssh/libssh.h>
#include <stdio.h>int main(int argc, char **argv)
{
printf("libssh version: %s\n", ssh_version(0));
return 0;
}
======================================================
gcc -I/home/user/lib/include -L/home/user/lib/lib -lssh -lssh_threads main.c
./a.out
libssh version: 0.7.0/openssl/zlib
what is it ?????????if I switch to the 0.7.5 branch tag then the libssh version
will correspond to the tag!
cd build
rm -rf *
cd ../
git checkout tags/libssh-0.7.5
git branch
* (detached from libssh-0.7.5)
master
cd build
cmake -DWITH_TESTING=ON -DCMAKE_INSTALL_PREFIX=/home/user/lib
-DCMAKE_BUILD_TYPE=Debug ..
make
rm -rf /home/user/lib/*
make install
./a.out
libssh version: 0.7.5/openssl/zlib

--
Andrey Seredin

Follow-Ups:
Re: version master branchAndreas Schneider <asn@xxxxxxxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org