From: Perry Smith Date: Mon, 26 Jan 2009 22:57:16 GMT Subject: Re: git 1.6.1 on AIX 5.3 Message-ID: <9E98493A-B17A-4905-8BEA-3E0B837961D6@gmail.com> In-Reply-To: On Jan 26, 2009, at 4:32 PM, Mike Ralphson wrote: > 2009/1/26 Jeff King : >> [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