Skip to contentSkip to conversation

Problems during upgrade git from 1.5.3.2 to latest

DISCUSSION horry 2 participants 2 messages Jun 15, 2016

lore
Share & tools
lore

horry

author
#0 lore raw

Hello ,
My previous git version is 1.5.3.2 and i perform the suggested commands :
git clone http://www.kernel.org/pub/scm/git/git.git and it goes well , end up with :

....................................................................
got d00da833cbeec16da9415e0ac11269594279545a
Checking 1480 files out...
100% (1480/1480) done

Then i checked git version , it still shows previous version without any change .

XXXXXXX:/apps/mds_lrt/git/git> git version
git version 1.5.3.2

Is there additional command which i should perform after clone ?

thanks,
Horry

Signature · 2 lines
View this message in context: http://www.nabble.com/Problems-during-upgrade-git-from-1.5.3.2-to-latest-tp20180862p20180862.html
Sent from the git mailing list archive at Nabble.com.
#1 lore raw
Quoted 18 lines · horry

Hello ,
My previous git version is 1.5.3.2 and i perform the suggested commands :
git clone http://www.kernel.org/pub/scm/git/git.git and it goes well , end up with :

....................................................................
got d00da833cbeec16da9415e0ac11269594279545a
Checking 1480 files out...
100% (1480/1480) done

Then i perform make in the same directory i performed clone and it shows errors .

bfnt47-gx1:/apps/mds_lrt/git/git> make GIT_VERSION = 1.6.0.3.517.g759a
* new build flags or prefix
CC fast-import.o
In file included from /usr/include/openssl/ssl.h:179,

Quoted 4 lines
                 from git-compat-util.h:104,
                 from builtin.h:4,
                 from fast-import.c:142:

/usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory

This is saying that you are missing this header file. On my machine (Debian Linux "testing") the package that provides that file is libkrb5-dev.

Even if you're not using Debian, or Linux, this page may help you locate which packages on your system may contain a given missing file:

http://www.debian.org/distrib/packages#search_contents

Entering krb5.h in the "Search the contents of packages" box brings up a list of packages containing files ending in "krb5.h", one (likely example of which) is libkrb5-dev.

--Pete

Quoted 7 lines

XXXXXXX:/apps/mds_lrt/git/git> git version
git version 1.5.3.2

Can someone tell me how to resolve it ?

thanks,
Horry