Re: Chicken/egg problem building from a 'git clone'
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Feb 6, 2009, 11:34 UTC
- Message-ID
- <alpine.DEB.1.00.0902061232000.7377@intel-tinevez-2-302>
- In-Reply-To
- <Pine.LNX.4.44.0902052238510.4851-100000@localhost.localdomain>
Hi,
On Thu, 5 Feb 2009, Joi Ellis wrote:
Show 15 quoted lines
> On Fri, 6 Feb 2009, Johannes Schindelin wrote: > > > On Fri, 6 Feb 2009, Joi Ellis wrote: > > > > > "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