2013-07-03 62 views
1

当我试图从源头上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 

我在Google上看到很多make: %XXX%: Command not found问题,其中%XXX%是任意可执行文件,但没有看到它被替换为install。哪里不对?

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

QNX 6.5.0 SDP SP1,git 1.8.3.2

+2

'install'其路径是一种实用工具,是的'GNU coreutils'的一部分。 – devnull

回答

3

没有与makefile文件没有问题。 检查,如果你有install实用

$~ install --help 

如果你没有,那么你可以从GNU coreutils得到它。如果你有install地方,那么导出PATH可变

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