【问题标题】:make: install: Command not found制作:安装:找不到命令
【发布时间】:2013-07-03 09:49:19
【问题描述】:

当我尝试在qnx 上从其源安装git 时,我收到以下错误(请注意,磅是qnx 中的sudo 提示):

# ./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%: Command not found 问题,其中%XXX% 是任意可执行文件,但没有看到它被install 取代。怎么了?

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

QNX6.5.0 SDP SP1,git1.8.3.2

【问题讨论】:

  • install 是一个实用程序,它是GNU coreutils 的一部分。

标签: git makefile qnx qnx-neutrino


【解决方案1】:

makefile 没有问题。 检查您是否有install 实用程序

$~ install --help

如果你没有,那么你可以从GNU coreutils 获得它。如果您在某处有install,则将其路径导出到PATH 变量中

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

【讨论】:

    猜你喜欢
    • 2018-10-25
    • 2017-05-31
    • 2013-03-28
    • 2016-11-04
    • 2022-01-12
    • 2018-06-17
    • 2014-01-13
    • 2015-07-20
    • 2014-09-25
    相关资源
    最近更新 更多