threads / discuss / 12991

sunos nay install nay ginstall nay

Subject: sunos nay install nay ginstall nay

## tl;dr

3 messages between Apr 5, 2008 and Apr 5, 2008.

replies: 2people: 3as markdown or json

Jan Engelhardt· Apr 5, 2008, 05:07 UTC · lore
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· Apr 5, 2008, 11:53 UTC · re: Jan Engelhardt · lore

Re: sunos nay install nay ginstall nay

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· Apr 5, 2008, 12:08 UTC · re: Jan Engelhardt · lore

Re: sunos nay install nay ginstall nay

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

← back to recent threads