threads / discuss / 45558

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

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

## tl;dr

2 messages between Mar 30, 2017 and Mar 30, 2017.

replies: 1people: 2as markdown or json

Jeffrey Walton· Mar 30, 2017, 22:37 UTC · lore
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· Mar 30, 2017, 22:56 UTC · re: Jeffrey Walton · lore

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

Jeffrey Walton <noloader@gmail.com> writes:
Show 24 quoted lines
> 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.

← back to recent threads