# sunos nay install nay ginstall nay

3 messages from 2008-04-05 to 2008-04-05. Participants: Jan Engelhardt, Miklos Vajna, Jakub Narebski.
Thread: https://gitlist.dev/t/12991

## Jan Engelhardt, 2008-04-05 05:07

Subject: sunos nay install nay ginstall nay
Message-ID: <alpine.LNX.1.10.0804050653570.14919@fbirervta.pbzchgretzou.qr>
URL: https://gitlist.dev/e/alpine.LNX.1.10.0804050653570.14919%40fbirervta.pbzchgretzou.qr

```
Hi,


I found myself in a position to compile Git on Nexenta, and ran into the 
incredibly smart Makefile logic to pick "ginstall" when `uname -s` 
equals SunOS. Except that on GNU/*, it's install, not ginstall.
Would not it be time to completely use automake?

```

## Miklos Vajna, 2008-04-05 11:53

Subject: Re: sunos nay install nay ginstall nay
Message-ID: <20080405115303.GV11574@genesis.frugalware.org>
URL: https://gitlist.dev/e/20080405115303.GV11574%40genesis.frugalware.org
In-Reply-To: <alpine.LNX.1.10.0804050653570.14919@fbirervta.pbzchgretzou.qr>

```
On Sat, Apr 05, 2008 at 07:07:53AM +0200, Jan Engelhardt <jengelh@computergmbh.de> wrote:
> I found myself in a position to compile Git on Nexenta, and ran into the 
> incredibly smart Makefile logic to pick "ginstall" when `uname -s` equals 
> SunOS. Except that on GNU/*, it's install, not ginstall.

afaik, GNU/* has ginstall as well.

at least this is what i have here:

$ ls -l `which ginstall`
lrwxrwxrwx 1 root root 7 Mar  9 23:10 /usr/bin/ginstall -> install*

> Would not it be time to completely use automake?

or maybe time to fix your system :)

```

## Jakub Narebski, 2008-04-05 12:08

Subject: Re: sunos nay install nay ginstall nay
Message-ID: <m3lk3stsfh.fsf@localhost.localdomain>
URL: https://gitlist.dev/e/m3lk3stsfh.fsf%40localhost.localdomain
In-Reply-To: <alpine.LNX.1.10.0804050653570.14919@fbirervta.pbzchgretzou.qr>

```
Jan Engelhardt <jengelh@computergmbh.de> writes:

> I found myself in a position to compile Git on Nexenta, and ran into
> the incredibly smart Makefile logic to pick "ginstall" when `uname -s`
> equals SunOS. Except that on GNU/*, it's install, not ginstall.
> Would not it be time to completely use automake?

First, you can use ./configure when installing git, but as a way to
set Makefile variables rather than as a way to build Makefile.  By
decision autoconf is _optional_.

Now autoconf macro AC_PROG_INSTALL requires to have ubstall-sh or
install.sh fallback script version of install in sources.  We need to
have minimal version; it doesn't need to be insanely portable, just as
portable as git would be enough.  So if you are interested in
./configure detecting proper 'install' binary (or fallback to script),
please propose (e.g. via patch) some install.sh to use.


Second, you can always use INSTALL=install when compiling, or set it
up in config.mak, the Makefile configuration file.

-- 
Jakub Narebski
Poland
ShadeHawk on #git

```
