threads / discuss / 21752

Please help with GIT install problem.

Subject: Please help with GIT install problem.

## tl;dr

3 messages between Nov 25, 2009 and Nov 26, 2009.

replies: 2people: 3as markdown or json

Stephan T.· Nov 25, 2009, 22:07 UTC · lore
Hello there,

My system is a: % uname -a Linux naboo 2.4.21-50.ELsmp #1 SMP Tue May 8 17:18:29 EDT 2007 i686 i686 i386 GNU/Linux

Trying to install "git-1.6.5.3".  Configure goes happily to the end but make gives me the following error:
> make
    CC fast-import.o
In file included from /usr/include/openssl/ssl.h:179,
                 from git-compat-util.h:138,
                 from builtin.h:4,
                 from fast-import.c:143:
/usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory
In file included from /usr/include/openssl/ssl.h:179,
                 from git-compat-util.h:138,
                 from builtin.h:4,
                 from fast-import.c:143:
/usr/include/openssl/kssl.h:134: syntax error before "krb5_enctype"
What is missing on my system?

Thanks for your help, Stephan.

Junio C Hamano· Nov 25, 2009, 22:23 UTC · re: Stephan T. · lore

Re: Please help with GIT install problem.

"Stephan T." <stman937-lingit@yahoo.com> writes:
Show 5 quoted lines
> My system is a:
> % uname -a
> Linux naboo 2.4.21-50.ELsmp #1 SMP Tue May 8 17:18:29 EDT 2007 i686 i686 i386 GNU/Linux
> ...
> What is missing on my system?
Perhaps reading INSTALL will tell you a bit better?
On a typical Linux desktop, configure is unnecessary.
Tom G. Christensen· Nov 26, 2009, 07:44 UTC · re: Stephan T. · lore

Re: Please help with GIT install problem.

Stephan T. wrote:
Show 6 quoted lines
> Hello there,
> 
> My system is a:
> % uname -a
> Linux naboo 2.4.21-50.ELsmp #1 SMP Tue May 8 17:18:29 EDT 2007 i686 i686 i386 GNU/Linux
> 
Looks like you're on RHEL 3 or a derivative.
Show 18 quoted lines
> Trying to install "git-1.6.5.3".  Configure goes happily to the end but make gives me the following error:
> 
>> make
>     CC fast-import.o
> In file included from /usr/include/openssl/ssl.h:179,
>                  from git-compat-util.h:138,
>                  from builtin.h:4,
>                  from fast-import.c:143:
> /usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory
> In file included from /usr/include/openssl/ssl.h:179,
>                  from git-compat-util.h:138,
>                  from builtin.h:4,
>                  from fast-import.c:143:
> /usr/include/openssl/kssl.h:134: syntax error before "krb5_enctype"
> 
> 
> What is missing on my system?
> 

You need to add "-I/usr/kerberos/include" to CFLAGS to build with openssl on el3.

Instead of doing your own build you could install the packages I maintain for my own use: http://jupiterrise.com/tmp/git-el3

This is just a temporary location, in the future I hope so have this in rpmforge.

Not that perl-Git will require perl-Error from rpmforge (http://packages.sw.be/perl-Error)

-tgc

← back to recent threads