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

Re: git 1.6.1 on AIX 5.3

From
Mike Ralphson <mike.ralphson@gmail.com>
Date
Jan 27, 2009, 10:10 UTC
Message-ID
<e2b179460901270210q69fe1e42xb801553e4e9005e9@mail.gmail.com>
In-Reply-To
<9E98493A-B17A-4905-8BEA-3E0B837961D6@gmail.com>
2009/1/26 Perry Smith <pedzsan@gmail.com>:
Show 5 quoted lines
> Thanks guys.  I picked up coreutils version 7.   I didn't
> install them but just moved ginstall over to /usr/local/bin.
>
> A few other comments:  I had to add in the --without-tcltk flag.  I don't
> have tcl installed but the config did not autodetect that it was not present.

Yup, I usually build with NO_TCLTK=YesPlease in my config.mak, which you can see from the link Peff posted.

When you said 'out of tree builds' I thought you meant using the AIX defaults in the Makefile without running ./configure, but it seems not, you meant is a clone of the tree buildable by itself or are only release snapshots buildable. Sorry.

./configure is (deliberately) a second-class citizen in the world of git, and may still get you a slightly suboptimal build compared with the defaults on platforms such as AIX... e.g. it doesn't test for performance-related switches such as INTERNAL_QSORT. If you have run configure, there's some file you need to blow away to get back to a non-autoconf world... is it config.mak.autogen?

Despite that, your problem with --without-tcltk falling back to wish, but not falling back if that isn't installed does look like something we should fix, as per Peff's mail.

Show 19 quoted lines
> I can't tell if make test is happy or not.  The output looks like its happy
> but the exit code is 2.
>
> Below is my "configure" script if anyone is interested.
>
> #!/usr/bin/env bash
>
> export CONFIG_SHELL=/usr/local/bin/bash
> export LDFLAGS='-L/usr/local/lib -L/usr/local/ssl/lib'
> export CFLAGS='-I/usr/local/include -I/usr/local/ssl/include'
> export CC=gcc
> echo CONFIG_SHELL set to ${CONFIG_SHELL}
>
> ${CONFIG_SHELL} ../../src/git-1.6.1/configure --without-tcltk
>
> #
> # Note that to install you need to do:
> # make INSTALL=ginstall install
> # to use GNU's install program

I build with SHELL_PATH={path}/bash as well. If I don't, the test suite exits after t0000-basic.sh with an unexpected error despite passing all the tests.

gmake -C t/ all
gmake[1]: Entering directory `/usr/local/src/gitbuild/t'
rm -f -r test-results
gmake aggregate-results-and-cleanup
gmake[2]: Entering directory `/usr/local/src/gitbuild/t'
*** t0000-basic.sh ***
* passed all remaining 40 test(s)
FATAL: Unexpected exit with code 0
gmake[2]: *** [t0000-basic.sh] Error 1
gmake[2]: Leaving directory `/usr/local/src/gitbuild/t'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/usr/local/src/gitbuild/t'
gmake: *** [test] Error 2
Is that what you're seeing? There's many more test scripts than that 8-)

With GIT_SKIP_TESTS='t3900 t3901 t5100.[12] t8005' (to omit some cases not handled by the version of iconv I have access to on all the AIX boxes I deploy to) the test suit runs to completion on AIX 5.3 for me.

BTW Are you running AIX's make or GNU make?
Mike
Previous: Jeff KingNext: Perry Smith
Message 6 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.