LinkBack Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 05-Nov-2009, 04:32 AM
Junior Member
 
Join Date: Feb 2009
Posts: 1
QLogic 0 reputation points
Default Re: How to install git on sles11 ?

Originally Posted by dbbd View Post
Trying to install git from source:
/tmp/git-1.6.4.4 # make
CC fast-import.o
In file included from builtin.h:6,
from fast-import.c:143:
cache.h:16:18: error: zlib.h: No such file or directory
In file included from builtin.h:6,
from fast-import.c:143:
cache.h:21: error: expected ‘)’ before ‘strm’
cache.h:22: error: expected ‘)’ before ‘strm’
cache.h:23: error: expected ‘)’ before ‘strm’
fast-import.c:280: error: ‘Z_DEFAULT_COMPRESSION’ undeclared here (not in a function)
fast-import.c: In function ‘store_object’:
fast-import.c:1036: error: ‘z_stream’ undeclared (first use in this function)
fast-import.c:1036: error: (Each undeclared identifier is reported only once
fast-import.c:1036: error: for each function it appears in.)
fast-import.c:1036: error: expected ‘;’ before ‘s’
fast-import.c:1072: error: ‘s’ undeclared (first use in this function)
fast-import.c:1083: error: ‘Z_FINISH’ undeclared (first use in this function)
fast-import.c:1083: error: ‘Z_OK’ undeclared (first use in this function)
fast-import.c: In function ‘git_pack_config’:
fast-import.c:2387: error: ‘Z_BEST_COMPRESSION’ undeclared (first use in this function)
make: *** [fast-import.o] Error 1


Trying to install git-core rpm:
rpm -ivh git-core-1.5.4.2-1.x86_64.rpm
error: Failed dependencies:
libcrypto.so.6()(64bit) is needed by git-core-1.5.4.2-1.x86_64
libcurl.so.3()(64bit) is needed by git-core-1.5.4.2-1.x86_64
libexpat.so.0()(64bit) is needed by git-core-1.5.4.2-1.x86_64
openssh-clients is needed by git-core-1.5.4.2-1.x86_64
perl(Git) is needed by git-core-1.5.4.2-1.x86_64


Thanks,
Faced similar problem while installing git 1.5.6 ;problem got resolved after installing zlib-devel rpm named zlib-devel1.2.3-135.52.x86_64.rpm can be fetched from the location
wgetftp://ftp.pbone.net/mirror/ftp5.gwdg.de/pub/opensuse/repositories/Base:/build/standard/x86_64/zlib-devel-1.2.3-135.52.x86_64.rpm

Thanks,
Dhiraj S
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -6. The time now is 08:42 AM.


© 2007 Novell, Inc. All Rights Reserved.

Search Engine Friendly URLs by vBSEO 3.3.0 RC2