git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git 1.6.1 on AIX 5.3

From
Jeff King <peff@peff.net>
Date
Jan 28, 2009, 07:01 UTC
Message-ID
<20090128070114.GB19165@coredump.intra.peff.net>
In-Reply-To
<BAD975AD-323D-4278-8405-0B57E7202797@gmail.com>
On Tue, Jan 27, 2009 at 07:35:00PM -0600, Perry Smith wrote:
Show 5 quoted lines
> Just to be sure we are on the same page.  My directory structure has a
> top/src/git-1.6.1 and top/build/git.1.6.1.  The src/git-1.6.1 is the
> tar ball.  The  build/git-1.6.1 starts out empty.  I cd into it and
> then do: ../../src/git-1.6.1/configure <options>  After this
> completes, you can do "make".

I don't see how this would work without automake support, which git does not have. The configure script just generates a config.mak.autogen file, which is included by the Makefile. So you have no Makefile in your build directory.

Show 5 quoted lines
> About 90% of the open source configure / autoconf code out there can
> do this with.  The other 10% you can not.  I like it because when
> things die, its easier to grep around the source tree and I blow away
> the build directory and start back over and I know that I'm starting
> fresh.
Another way of solving the same problem:
  cd untarred-sources
  git init
  git add .
  git commit -m 'pristine sources'

Now you can use "git clean" to clean up cruft, not to mention the usual git stuff like tracking any changes you've made and submitting any patches upstream.

> I get further.  But now test 10 of t0001.sh fails because test_cmp can
> not be found.
>
> Is that a GNU tool?  (I didn't see it in git or coreutils.)

It's a shell function defined in test-lib.sh (which is sourced by all of the test scripts).

-Peff
Previous: Perry SmithNext: Junio C Hamano
Message 8 of 12 in “git 1.6.1 on AIX 5.3”
  1. Perry SmithJan 26, 2009
  2. Jeff KingJan 26, 2009
  3. Mike RalphsonJan 26, 2009
  4. Perry SmithJan 26, 2009
  5. Jeff KingJan 27, 2009
  6. Mike RalphsonJan 27, 2009
  7. Perry SmithJan 28, 2009
  8. Jeff KingJan 28, 2009
  9. Junio C HamanoJan 28, 2009
  10. Jeff KingJan 28, 2009
  11. Perry SmithJan 28, 2009
  12. Mike RalphsonJan 28, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.