# /bin/bash: /usr/ucb/install: No such file or directory

2 messages from 2017-03-30 to 2017-03-30. Participants: Jeffrey Walton, Junio C Hamano.
Thread: https://gitlist.dev/t/45558

## Jeffrey Walton, 2017-03-30 22:37

Subject: /bin/bash: /usr/ucb/install: No such file or directory
Message-ID: <CAH8yC8nAYKMe21Q+QvoTvR_WnNJyn2p8DYSkzKmn_dWaeGb+4g@mail.gmail.com>
URL: https://gitlist.dev/e/CAH8yC8nAYKMe21Q%2BQvoTvR_WnNJyn2p8DYSkzKmn_dWaeGb%2B4g%40mail.gmail.com

```
I think this is the last of the issues for Git 2.12.2 on Solaris 11.3.

It looks like 'install' is located in a few places, but not in
'/usr/ucb'. I believe /usr/ucb is Solaris 9 or Solaris 10. I think the
equivalent place to look on Solaris 11 is /usr/gnu (but I only have
limited experience on Solaris).

solaris:~$ find /usr -name install 2>/dev/null
/usr/share/install
/usr/dtrace/DTT/install
/usr/sadm/install
/usr/gnu/bin/install
/usr/sbin/install

solaris:~$ ls /usr/ucb
/usr/ucb: No such file or directory

Here's the default one based on default paths using Bash. I change the
default shell, but not the default paths:

solaris:~$ sudo su -
Oracle Corporation      SunOS 5.11      11.3    September 2015
solaris:~# which install
/sbin/install

Jeff

************

...
Writing MYMETA.yml and MYMETA.json
    GEN git-add--interactive
    GEN git-archimport
    GEN git-cvsexportcommit
    GEN git-cvsimport
    GEN git-cvsserver
    GEN git-send-email
    GEN git-svn
    SUBDIR git-gui
    SUBDIR gitk-git
    SUBDIR perl
"/usr/local/bin/perl5.24.0" -pe
"s<\Q++LOCALEDIR++\E></usr/local/share/locale>" <Git/SVN.pm
>blib/lib/Git/SVN.pm
"/usr/local/bin/perl5.24.0" -pe
"s<\Q++LOCALEDIR++\E></usr/local/share/locale>" <Git/SVN/GlobSpec.pm
>blib/lib/Git/SVN/GlobSpec.pm
"/usr/local/bin/perl5.24.0" -pe
"s<\Q++LOCALEDIR++\E></usr/local/share/locale>" <private-Error.pm
>blib/lib/Error.pm
"/usr/local/bin/perl5.24.0" -pe
"s<\Q++LOCALEDIR++\E></usr/local/share/locale>" <Git/I18N.pm
>blib/lib/Git/I18N.pm
"/usr/local/bin/perl5.24.0" -pe
"s<\Q++LOCALEDIR++\E></usr/local/share/locale>" <Git/SVN/Editor.pm
>blib/lib/Git/SVN/Editor.pm
"/usr/local/bin/perl5.24.0" -pe
"s<\Q++LOCALEDIR++\E></usr/local/share/locale>"
<Git/SVN/Memoize/YAML.pm >blib/lib/Git/SVN/Memoize/YAML.pm
"/usr/local/bin/perl5.24.0" -pe
"s<\Q++LOCALEDIR++\E></usr/local/share/locale>" <Git/SVN/Fetcher.pm
>blib/lib/Git/SVN/Fetcher.pm
"/usr/local/bin/perl5.24.0" -pe
"s<\Q++LOCALEDIR++\E></usr/local/share/locale>" <Git/SVN/Ra.pm
>blib/lib/Git/SVN/Ra.pm
"/usr/local/bin/perl5.24.0" -pe
"s<\Q++LOCALEDIR++\E></usr/local/share/locale>" <Git/SVN/Utils.pm
>blib/lib/Git/SVN/Utils.pm
"/usr/local/bin/perl5.24.0" -pe
"s<\Q++LOCALEDIR++\E></usr/local/share/locale>" <Git.pm
>blib/lib/Git.pm
"/usr/local/bin/perl5.24.0" -pe
"s<\Q++LOCALEDIR++\E></usr/local/share/locale>" <Git/SVN/Prompt.pm
>blib/lib/Git/SVN/Prompt.pm
"/usr/local/bin/perl5.24.0" -pe
"s<\Q++LOCALEDIR++\E></usr/local/share/locale>" <Git/SVN/Migration.pm
>blib/lib/Git/SVN/Migration.pm
"/usr/local/bin/perl5.24.0" -pe
"s<\Q++LOCALEDIR++\E></usr/local/share/locale>" <Git/IndexInfo.pm
>blib/lib/Git/IndexInfo.pm
"/usr/local/bin/perl5.24.0" -pe
"s<\Q++LOCALEDIR++\E></usr/local/share/locale>" <Git/SVN/Log.pm
>blib/lib/Git/SVN/Log.pm
Manifying 9 pod documents
    SUBDIR templates
/usr/ucb/install -d -m 755 '/usr/local/bin'
/bin/bash: /usr/ucb/install: No such file or directory
gmake: *** [install] Error 127

```

## Junio C Hamano, 2017-03-30 22:56

Subject: Re: /bin/bash: /usr/ucb/install: No such file or directory
Message-ID: <xmqqshlu1iho.fsf@gitster.mtv.corp.google.com>
URL: https://gitlist.dev/e/xmqqshlu1iho.fsf%40gitster.mtv.corp.google.com
In-Reply-To: <CAH8yC8nAYKMe21Q+QvoTvR_WnNJyn2p8DYSkzKmn_dWaeGb+4g@mail.gmail.com>

```
Jeffrey Walton <noloader@gmail.com> writes:

> I think this is the last of the issues for Git 2.12.2 on Solaris 11.3.
>
> It looks like 'install' is located in a few places, but not in
> '/usr/ucb'. I believe /usr/ucb is Solaris 9 or Solaris 10. I think the
> equivalent place to look on Solaris 11 is /usr/gnu (but I only have
> limited experience on Solaris).
>
> solaris:~$ find /usr -name install 2>/dev/null
> /usr/share/install
> /usr/dtrace/DTT/install
> /usr/sadm/install
> /usr/gnu/bin/install
> /usr/sbin/install
>
> solaris:~$ ls /usr/ucb
> /usr/ucb: No such file or directory
>
> Here's the default one based on default paths using Bash. I change the
> default shell, but not the default paths:
>
> solaris:~$ sudo su -
> Oracle Corporation      SunOS 5.11      11.3    September 2015
> solaris:~# which install
> /sbin/install

$ make INSTALL=/usr/gnu/install

perhaps?  Look into config.mak.uname; it probably needs an update to
SunOS section, as we seem to only have entries up to 5.9.

```
