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, 17:21 UTC
Message-ID
<AANLkTinLCLnpy5fkajsF5ICd97UtDB_q7T-kD4J-hFF4@mail.gmail.com>
In-Reply-To
<AANLkTilnFXUI9hnVJlAylCzTUqOStZAFvtgvNrh8Kisj@mail.gmail.com>
On Fri, Jun 4, 2010 at 11:38 AM, Tor Arntsen <tor@spacetec.no> wrote:
Show 21 quoted lines
> On Fri, Jun 4, 2010 at 16:22, Dario Rodriguez <soft.d4rio@gmail.com> wrote:
>
>> AIX is 5.2(.0.0), PERL is 5.8.0, IBM(R) XL C/C++ Enterprise Edition V7.0
>
> I think that compiler is reasonably OK to use, it'll probably not
> choke on anything in particular. Perl OK too.
>
>> I'ill try compiling 'install' (i don't know where the sources are)
>
> It's in 'coreutils' these days, but that package includes a lot of stuff.
>
> Maybe you could get away with just using the script-version of install
> which comes with coreutils itself (because it'll need an install tool
> to use before 'install' itself is installed..).
>
> I'm attaching a copy. To use it it should be sufficient to use
> INSTALL=path-to/install-sh make install
> or something like that.
>
> -Tor
>

Hmm... I will check makefiles today, but there is something wrong here, take a look:

$ INSTALL=$HOME/bin/install-sh /usr/linux/bin/make
prefix=$HOME/.gitbin NO_OPENSSL=1 NO_TCLTK=1 NO_EXPAT=1
PYTHON_PATH=/usr/local/bin/python install
    SUBDIR perl
    SUBDIR git_remote_helpers
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
    SUBDIR templates
install -d -m 755 '/aplicaciones/D0/imei/usuarios/tximeid0/.gitbin/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

It's not using install-sh since it supports -d ... and lets take a quick look at Makefiles:

$ find . -name Makefile -exec grep install {} \; | grep -v "^#" | grep INSTALL
INSTALL?=install
INSTALL_INFO=install-info
INSTALL = install
        INSTALL = ginstall
        INSTALL = ginstall
        INSTALL = /usr/ucb/install
        INSTALL = /bin/install
        $(INSTALL) $(install_bindir_programs) '$(DESTDIR_SQ)$(bindir_SQ)'
INSTALL ?= install
        INSTALL = install
INSTALL ?= install
INSTALL ?= install

It seems as if it's looking for /bin/install ... even when I wrote 'INSTALL=$HOME/bin/install-sh'

I have no more time, and will access the server next monday... but I'm going home and may be i'ill take a look at this to know how to do it, thanks 4 the script ; )

Cheers, Dario

Previous: Tor ArntsenNext: Ævar Arnfjörð Bjarmason
Message 8 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.