Re: Installing on AIX fails
From: Dario Rodriguez <hidden>
Date: 2016-06-15 22:48:54
On Fri, Jun 4, 2010 at 11:38 AM, Tor Arntsen [off-list ref] wrote:
On Fri, Jun 4, 2010 at 16:22, Dario Rodriguez [off-list ref] wrote:quoted
AIX is 5.2(.0.0), PERL is 5.8.0, IBM(R) XL C/C++ Enterprise Edition V7.0I think that compiler is reasonably OK to use, it'll probably not choke on anything in particular. Perl OK too.quoted
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