Redhat6 installation git problems, redhat6 installation git
Redhat6 compile install git error imap-send.c: In function 'ssl _ socket_connect ': imap-send.c: 291: Warning: we do not recommend that you use 'tlsv1 _ method' (declared in/usr/local/include/openssl/ssl. h: 1612) imap-send.c: In the function 'cram': imap-send.c: 865: Error: storage size of 'hmac' unknown imap-send.c: 880 ....????????
Git installation steps ::
[Root @ ff Downloads] # wget https://www.kernel.org/pub/software/scm/git/git-2.3.5.tar.gz
[Root @ ff Downloads] # tag zxf git-2.3.5.tar.gz
[Root @ ff Downloads] # cd git-2.3.5 [root @ skd git-2.3.5] #./configure
[Root @ ff git-2.3.5] # make
[Root @ ff git-2.3.5] # make install
[Root @ ff git-2.3.5] # git -- version
This is because multiple versions of openssl are installed in the system. You can delete all files in the/usr/local/include/openssl directory and make will not cause errors.