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

Re: git 1.6.1 on AIX 5.3

From
Perry Smith <pedzsan@gmail.com>
Date
Jan 26, 2009, 22:57 UTC
Message-ID
<9E98493A-B17A-4905-8BEA-3E0B837961D6@gmail.com>
In-Reply-To
<e2b179460901261432r601fa006iaf04fc42487e7235@mail.gmail.com>
On Jan 26, 2009, at 4:32 PM, Mike Ralphson wrote:
Show 52 quoted lines
> 2009/1/26 Jeff King <peff@peff.net>:
>> [cc-ing Mike Ralphson, our local AIX expert]
>
> Bless you!
>
>> On Mon, Jan 26, 2009 at 02:02:15PM -0600, Perry Smith wrote:
>>
>>> I tried building git 1.6.1 on AIX 5.3 as an "out of tree" build  
>>> and it
>>> does not seem to be set up to do out of tree builds.  If that is not
>>> true, please let me know.
>>>
>>> The install process wants to call install with a -d option.  AIX  
>>> has two
>>> install programs but they are pretty old -- neither takes a -d  
>>> option.
>>>
>>> Is there a GNU install program I can get?  I've not been able to  
>>> locate
>>> one.
>>
>> It's in GNU coreutils:
>>
>> http://www.gnu.org/software/coreutils/
>>
>> I don't know what Mike uses to install on AIX; you can see his config
>> setup here:
>>
>> http://repo.or.cz/w/git/gitbuild.git?a=tree;f=mr/aix;hb=platform
>>
>> but I don't see any override of install.
>
> I've got the AIX Toolbox for Linux applications[1] installed and ahead
> of /bin and /usr/bin on my PATH. Beware that some of these don't
> function as well as the stock AIX utilities and should normally be
> removed. I've posted about this on what is ostensibly a blog but which
> is really just a post-it note I'm less likely to lose[2].
>
> Failing that, many programs which are primarily configured using
> autoconf will ship with an install shell script which you can co-opt,
> some apache stuff does too[3].
>
> Any other questions, don't hesitate to ask.
>
> Mike
>
> [1] http://www-03.ibm.com/systems/power/software/aix/linux/index.html
>
> [2] http://mermade.blogspot.com/2008/04/aix-toolbox.html
>
> [3] http://svn.apache.org/repos/asf/tcl/websh/trunk/src/unix/install- 
> sh

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.

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

Previous: Mike RalphsonNext: Jeff King
Message 4 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.