Re: Chicken/egg problem building from a 'git clone'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Thu, 5 Feb 2009, Joi Ellis wrote:

> 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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux