Hi. I just downloaded git (git-1.6.5.3.tar.bz2) from git's website (git-scm.com) and encountered problems during the installation specifically after executing 'make' in the terminal. I had no problems with './configure'. Output after typing 'make':
CC fast-import.o
In file included from builtin.h:6,
from fast-import.c:143:
cache.h:17:18: error: zlib.h: No such file or directory
In file included from builtin.h:6,
from fast-import.c:143:
cache.h:22: error: expected ‘)’ before ‘strm’
cache.h:23: error: expected ‘)’ before ‘strm’
cache.h:24: 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:2390: error: ‘Z_BEST_COMPRESSION’ undeclared (first use in this function)
make: *** [fast-import.o] Error 1
I'm new to all this and am not sure what the error is... Please help.. THank you in advance..