make:install:找不到命令 [英] make: install: Command not found

查看:2315
本文介绍了make:install:找不到命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我试图从 qnx 的源文件中安装 git 时,出现以下错误(注意这个英镑是在 qnx )中sudo的提示符:

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

我看过很多 make:%XXX%:找不到命令 Google搜索时遇到的问题%XXX%是任意可执行文件,但没有看到它被替换为 install 。有什么不对?

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?

我从 git 的主目录发布了一些可能感兴趣的文件: Makefile config.status

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

QNX 6.5.0 SDP SP1, git 1.8.3.2

推荐答案

makefile没有问题。
检查您是否有安装工具

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

$~ install --help

如果你没有,那么你可以从> GNU coreutils 。如果你有 install 某处,然后在 PATH 变量中输出它的路径

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

这篇关于make:install:找不到命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆