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

Installing on AIX fails

From
Dario Rodriguez <soft.d4rio@gmail.com>
Date
Jun 3, 2010, 15:32 UTC
Message-ID
<AANLkTinKjEBkn-9ajO4QXyHqY0EOQBGPRgNREaC_p_vQ@mail.gmail.com>
Hi all,

I was trying to install git in a development and testing server we have. The first problem was that AIX 'make' tool does NOT support conditionals in makefiles, and display errors such...

[...] "Makefile", line 1003: make: Dependency line needs colon or double colon operator. "Makefile", line 1007: make: Dependency line needs colon or double colon operator. "Makefile", line 1009: make: Dependency line needs colon or double colon operator. "Makefile", line 1011: make: Dependency line needs colon or double colon operator. [...]

... until I get stucked. Well, I solved this by just using GNU make, then I compile:

$ /usr/linux/bin/make prefix=$HOME/apps/ NO_OPENSSL=1 NO_TCLTK=1 NO_EXPAT=1 PYTHON_PATH=/usr/local/bin/python

and it all works, with angels singing and everything... a testing repo works fine for a test drive without installing, excepting 'git log' that just don't display anything. Now, when I feel good to install it...

$ /usr/linux/bin/make prefix=$HOME/apps/ NO_OPENSSL=1 NO_TCLTK=1 NO_EXPAT=1 PYTHON_PATH=/usr/local/bin/python install

[...]
install -d -m 755 '/myhomedir/apps/bin'
getopt: illegal option -- d
Usage: install [-c dira] [-f dirb] [-i] [-m] [-M mode] [-O owner]
               [-G group] [-S] [-n dirc] [-o] [-s] file [dirx ...]
make: *** [install] Error 2

Now the installing process fails because of the AIX 'install' tool and I wonder, can I patch/configure the installing process for AIX? May be a set of utils for building in such systems would help some people.

PD: If you don't understand me please let me know it and I will try
again : )  My english could be horrible since I'm Argentinian.
PD2: I don't know if AIX python path is always /usr/local/bin/python,
but I've seen that git Makefiles set /usr/local/bin/python for FreeBSD
only:
git_remote_helpers/Makefile:
ifndef PYTHON_PATH
        ifeq ($(uname_S),FreeBSD)
                PYTHON_PATH = /usr/local/bin/python
        else
                PYTHON_PATH = /usr/bin/python
        endif
endif
I think 'test' the file is a good way for auto-configuration.

Cheers, Dario

Next: Ævar Arnfjörð Bjarmason
Message 1 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.