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

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

 



On Fri, 6 Feb 2009, Joi Ellis wrote:

> I have an elderly laptop.  I can build and install git using a tarball.  I 
> original installed git 1.6.0.  This evening I noticed 1.6.1 was availble, and I 
> decided to try building from the git repository using 'git clone' as described 
> in the git home page.   And to jump ahead of myself, I want to point out that 
> 1.6.1 will build from the tarball.  However...
> 
> The workspace I get using 'git clone' does not provide a configure file.  And 
> because my laptop isn't running a bleeding edge distribution, my build tools 
> are older than you'd expect, so...
> 
> "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'

What zlib version do you have? If your libraries are old enough, git's 
cache.h header file should effectively enable NO_DEFLATE_BOUND. Maybe you 
have skew between your header files and the libraries the linker finds by 
default? Or maybe we should consider any zlib without a version in the 
header file old enough not to have deflateBound()?

	-Daniel
*This .sig left intentionally blank*
--
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