make: install: Command not found

微笑、不失礼 提交于 2019-12-20 03:53:16

问题


While I'm trying to install git from its source on qnx, I get the following error (note that pound is a prompt for sudo in qnx):

# ./configure --without-iconv --with-perl=/usr/pkg/bin/perl --with-python=/usr/qnx650/host/qnx6/x86/usr/bin/python
# make all
# make install
    GEN perl/PM.stamp
    SUBDIR gitweb
    SUBDIR ../
make[2]: `GIT-VERSION-FILE' is up to date.
    GEN git-instaweb
    SUBDIR git-gui
    SUBDIR gitk-git
    SUBDIR perl
    SUBDIR git_remote_helpers
    SUBDIR templates
install -d -m 755 '/usr/local/bin'
make: install: Command not found
make: *** [install] Error 127

I've seen many make: %XXX%: Command not found issues upon Googling where %XXX% is arbitrary executable, but haven't seen it replaced with install. What is wrong?

I posted some files of possible interest from git's home directory: Makefile, config.status

QNX 6.5.0 SDP SP1, git 1.8.3.2


回答1:


There is no problem with the makefile. Check if you have install utility

$~ install --help

If you dont have then you can get it from GNU coreutils. If you have install somewhere then export its path in PATH variable

export PATH=$PATH:/path/to/install-utility


来源:https://stackoverflow.com/questions/17444777/make-install-command-not-found

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!