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

Re: Installing on AIX fails

From
Dario Rodriguez <soft.d4rio@gmail.com>
Date
Jun 4, 2010, 14:22 UTC
Message-ID
<AANLkTikkGtRmbsKD3JnQEWrhXQexH7J6SWEd9Aq3iQU_@mail.gmail.com>
In-Reply-To
<AANLkTik_FI0CETWZZcu8O8MQQx5oV6YAbt5-X0ozbVmw@mail.gmail.com>
On Fri, Jun 4, 2010 at 6:13 AM, Tor Arntsen <tor@spacetec.no> wrote:
Show 15 quoted lines
> Re. building on AIX.
>
> For AIX I've found that it's just better to always rely on the
> freeware toolkit stuff, which comes on a separate toolkit CD and in
> any case can be downloaded from
> ftp://ftp.software.ibm.com:/aix/freeSoftware/aixtoolbox/RPMS/ppc
> These are RPMs that you install via RPM which comes pre-installed on
> AIX (or anyway is part of the standard AIX CDs).
>
> On my own build the make, install, tar (gtar), grep, come from the
> toolkit CD (the /usr/freeware/bin/ path). At least the first two seems
> definitely mandatory.
> Oh, and AIX /bin/sh is not particularly good - it's simpler to rely on
> bash from the toolkit.
>

As I'm not the sysadmin, and git is not the project's tool, and the server is in other city... I cannot install things from the CD :(

Another thing is that RPM utility is there... but I think I will not have enough permissions to install software in such way. Development teams compile utilities when needed (or not) and install in $HOME/bin.

I will need 'install's sources or an alternate way to install GIT...

Anyway, the 'make test' begun yesterday with a lot of failures... so, I don't know if I'ill be able to use GIT on AIX soon, but may be I can help to make it work.

> Depending on your AIX and compiler versions you may need some additional changes.
AIX is 5.2(.0.0), PERL is 5.8.0, IBM(R) XL C/C++ Enterprise Edition V7.0
Show 31 quoted lines
> Gary Vaughan have posted patches which include
> updates that will improve the AIX experience. In addition to that, if
> you have the old XlC 5.0 compiler you will probably be better off at
> this point to use gcc from the toolkit. Otherwise you'll need those
> patches, and also one I posted which removes some C++ comments (I
> should probably re-post that one because it's not against the latest
> git repo version anymore).
>
> All that been said, I build on AIX as follows, using configure (which
> takes care of some other issues at the moment).
>
> SHELL_PATH=/opt/freeware/bin/bash
> PERL_PATH=/usr/local/special/bin/perl ./configure CC=cc
> CFLAGS=-Dinline=""
> and
> make SHELL_PATH=/opt/freeware/bin/bash PERL_PATH=/usr/local/special/bin/perl
> followed by the same, with 'install'
>
> That's with the old compiler and patches applied. Without patches
> you'll either have to rely on GCC (and remove those CC and CFLAGS
> lines, or change CC to gcc), or, with a newer (say, v10) IBM
> compiler), the -Dinline="" may not be needed.
>
> The only problem now is that some stuff (git rebase --interactive
> IIRC) will still not work, if you're on an AIX version with Perl 5.6
> (some things in git needs 5.8). AIX 6.1 has Perl 5.8, but some
> customers will downgrade to 5.6 because of bad performance problems
> with 5.8 on AIX.
>
> -Tor
>
I'ill try compiling 'install' (i don't know where the sources are)

Thank'u man, Dario

Previous: Tor ArntsenNext: Tor Arntsen
Message 6 of 18 in “Installing on AIX fails”
  1. Dario RodriguezJun 3, 2010
  2. Ævar Arnfjörð BjarmasonJun 3, 2010
  3. Michael J GruberJun 3, 2010
  4. Tor ArntsenJun 4, 2010
  5. Tor ArntsenJun 4, 2010
  6. Dario RodriguezJun 4, 2010
  7. Tor ArntsenJun 4, 2010
  8. Dario RodriguezJun 4, 2010
  9. Ævar Arnfjörð BjarmasonJun 4, 2010
  10. Dario RodriguezJun 4, 2010
  11. Jakub NarebskiJun 5, 2010
  12. Dario RodriguezJun 5, 2010
  13. Jakub NarebskiJun 6, 2010
  14. Ævar Arnfjörð BjarmasonJun 6, 2010
  15. Ævar Arnfjörð BjarmasonJun 3, 2010
  16. Dario RodriguezJun 3, 2010
  17. Ævar Arnfjörð BjarmasonJun 4, 2010
  18. Dario RodriguezJun 4, 2010

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.