Thread (7 messages) flat view 7 messages, 4 authors, 2016-06-15

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

From: Joi Ellis <hidden>
Date: 2016-06-15 22:46:06

On Fri, 6 Feb 2009, Johannes Schindelin wrote:
Hi,

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.  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.  Because there is no configure script
provided, and because my autoconf is considered too old, I simply can't
start the build process because I can't generate the missing configure
script.

Other projects put the configure script into source control to avoid
exactly this issue.

-- 
Joi Ellis                    
gyles19@visi.com

No matter what we think of Linux versus FreeBSD, etc., the one thing I
really like about Linux is that it has Microsoft worried.  Anything
that kicks a monopoly in the pants has got to be good for something.
           - Chris Johnson
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help