[asterisk-bugs] [JIRA] (ASTERISK-15587) make install fails when GNU install missing

Corey Farrell (JIRA) noreply at issues.asterisk.org
Tue Dec 12 20:21:07 CST 2017


     [ https://issues.asterisk.org/jira/browse/ASTERISK-15587?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Corey Farrell closed ASTERISK-15587.
------------------------------------

    Resolution: Fixed

It appears this was fixed by commit 1ca8b2d482529a38d934f0626a376f8f027dc61c svn r259847.

> make install fails when GNU install missing
> -------------------------------------------
>
>                 Key: ASTERISK-15587
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-15587
>             Project: Asterisk
>          Issue Type: Bug
>          Components: Core/Portability
>            Reporter: Ben Klang
>            Severity: Minor
>
> I am marking this as a portability bug.  Even though this problem could exist on Linux, the fact that the "install" binary is provided by GNU coreutils means that a Linux system would have to be pretty broken not to have it.  So this problem will only manifest on systems where coreutils is not installed, or the "install" binary is otherwise missing.
> The build system creates an install-sh drop-in replacement if the "install" binary is missing.  However, the path to the script is referenced as ./ which causes subdirectories to break when calling for the install-sh script.
> The variable for INSTALL is populated in makeopts so this might actually be a problem with menuselect.  One workaround I used was to fully qualify the path to the install-sh script.
> ****** STEPS TO REPRODUCE ******
> This is what you will see when running "make install" without a native install binary available:
> <snip lots of other make install output...>
> make[1]: Leaving directory `/home/admin/asterisk-1.6.2.svn/sounds'
> mkdir -p /opt/asterisk/lib/modules
> mkdir -p /opt/asterisk/sbin
> mkdir -p /var/etc/asterisk
> mkdir -p /opt/asterisk/bin
> mkdir -p /var/run/asterisk
> mkdir -p /var/spool/asterisk/voicemail
> mkdir -p /var/spool/asterisk/dictate
> mkdir -p /var/spool/asterisk/system
> # NOTE: Names of _INCLUDE and _LIB entries in this file must be
> mkdir -p /var/spool/asterisk/tmp
> mkdir -p /var/spool/asterisk/meetme
> mkdir -p /var/spool/asterisk/monitor
> # NOTE: Names of _INCLUDE and _LIB entries in this file must be
> /bin/sh[2]: ./install-sh: not found [No such file or directory]
> /bin/sh[2]: ./install-sh: not found [No such file or directory]
> /bin/sh[2]: ./install-sh: not found [No such file or directory]
> /bin/sh[2]: ./install-sh: not found [No such file or directory]
> /bin/sh[2]: ./install-sh: not found [No such file or directory]
> /bin/sh[2]: ./install-sh: not found [No such file or directory]
> /bin/sh[2]: ./install-sh: not found [No such file or directory]
> /bin/sh[2]: ./install-sh: not found [No such file or directory]
> make[1]: *** [install] Error 127
> make: *** [utils-install] Error 2
>  



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list