git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Chicken/egg problem building from a 'git clone'
@ 2009-02-06  4:09 Joi Ellis
  2009-02-06  4:32 ` Johannes Schindelin
                   ` (2 more replies)
  0 siblings, 3 replies; 31+ messages in thread
From: Joi Ellis @ 2009-02-06  4:09 UTC (permalink / raw)
  To: git

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'

"make configure" fails because my autoconf is too old.

    GEN configure
Usage: autoconf [-h] [--help] [-m dir] [--macrodir=dir]
       [-l dir] [--localdir=dir] [--version] [template-file]
make: *** [configure] Error 1

This found an issue with the Makefile, because my autoconf is sooo old, it's 
puking on the configure target build command, in part:

  autoconf -o $@ $<+ && \

because this old autoconf doesn't have a -o parameter.  If I change the
Makefile to:

  autoconf $<+ >$@ && \

Then the error becomes
    GEN configure
FATAL ERROR: Autoconf version 2.59 or higher is required for this script
make: *** [configure] Error 2

which is closer to what you intended.  I'm not sure what difference it makes 
between specifying -o and simply letting it default.

Anyway, would it break anything to have a 'configure' script provided as part 
of the clone pull?  It's provided in the tarball, and if I copy the 1.6.1 
configure script into my git workspace and run it, it seems to build.  I'm just 
not sure I trust it to be up-to-date with the configure script you folks can 
generate with your modern build tools using 'make configure'.

I realize the configure script is technically a build target but not having it 
does cause this chicken-egg issue on older platforms.

^ permalink raw reply	[flat|nested] 31+ messages in thread

end of thread, other threads:[~2009-03-06 13:40 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-06  4:09 Chicken/egg problem building from a 'git clone' Joi Ellis
2009-02-06  4:32 ` Johannes Schindelin
2009-02-06  4:45   ` Joi Ellis
2009-02-06  5:12     ` Miles Bader
2009-02-06  5:36       ` Junio C Hamano
2009-02-06  5:49         ` Miles Bader
2009-02-06  8:12           ` Junio C Hamano
2009-02-06  9:31             ` Miles Bader
2009-02-06 10:28               ` Junio C Hamano
2009-02-06 10:35                 ` Miles Bader
2009-02-06 19:25                 ` Jeff King
2009-02-06 22:12                   ` Junio C Hamano
2009-03-01 15:56                     ` Joi Ellis
2009-03-01 16:34                       ` Björn Steinbrink
2009-03-05  9:06                       ` Andreas Ericsson
2009-03-05 11:37                         ` John Tapsell
2009-03-05 12:06                           ` Jeff King
2009-03-05 12:38                             ` Matthieu Moy
2009-03-05 12:45                               ` Jeff King
2009-03-06 10:39                                 ` Jakub Narebski
2009-03-06 10:51                                   ` Matthieu Moy
2009-03-06 11:04                                   ` Johannes Schindelin
2009-03-06 11:27                                     ` John Tapsell
2009-03-06 12:02                                       ` asciidoc, was " Johannes Schindelin
2009-03-06 12:28                                         ` John Tapsell
2009-03-06 13:15                                           ` Jakub Narebski
2009-03-06 13:39                                             ` John Tapsell
2009-02-06  5:14     ` Björn Steinbrink
2009-02-06 11:34     ` Johannes Schindelin
2009-02-06  4:44 ` Björn Steinbrink
2009-02-06 19:06 ` Daniel Barkalow

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).