Re: Chicken/egg problem building from a 'git clone'
From: Johannes Schindelin <hidden>
Date: 2016-06-15 22:46:06
Hi, On Thu, 5 Feb 2009, Joi Ellis wrote:
On Fri, 6 Feb 2009, Johannes Schindelin wrote:quoted
On Fri, 6 Feb 2009, Joi Ellis wrote:quoted
"make all" fails becuase my libaries are old: LINK git-fast-import fast-import.o: In function `store_object': /usr/local/src/git/git/fast-import.c:1086: undefined reference to `deflateBound' /usr/local/src/git/git/fast-import.c:1109: undefined reference to `deflateBound'You need to install a newer libz. (And this is not a chicken & egg problem.)Yes, this *is* a chicken & egg problem.
No it is _not_. A chicken and egg problem would be if your problem would go away if Git compiled cleanly. But it does not.
As I said in my original post, git will build on this machine if I have a configure script to run first. The configure script explicitly checks for the version of libz and sets a DEFINE appropriately.
So why don't you DEFINE the thing explicitely? From reading the Makefile, it appears as if $ make NO_DEFLATE_BOUND=YesPlease should make it compile. Of course, the documentation in the first part of the Makefile could be better, maybe you have suggestions? Hth, Dscho