git编译错误make [1]:execvp:/ usr:权限被拒绝

时间:2016-01-19 14:19:45

标签: git makefile debian

所有

我尝试使用源代码安装git。

我运行了./configure脚本并且成功了。

$ ./configure --prefix=/usr/local/git --with-openssl --with-libpcre=/usr/local/git --with-curl=/usr --with-expat=/usr/local/git --with-iconv=/usr/local/git --with-zlib=/usr/local/git --with-perl=/usr --with-python=/usr --with-tcltk=no --with-pager=/usr/bin/pager --with-editor=/usr/bin/vim --with-gitconfig=/usr/local/git/etc/gitconfig --with-gitattributes=/usr/local/git/etc/gitattributes

但是当我运行make时出现错误:

............
SUBDIR perl
/usr Makefile.PL PREFIX='/usr/local/git' INSTALL_BASE='' --localedir='/usr/local/git/share/locale'
make[1]: execvp: /usr: Permission denied
Makefile:83: recipe for target 'perl.mak' failed
make[1]: *** [perl.mak] Error 127
Makefile:1781: recipe for target 'perl/perl.mak' failed
make: *** [perl/perl.mak] Error 2

谁能告诉我错过了哪些文件?

0 个答案:

没有答案
相关问题