我正在运行OS Ubuntu 14.04,我将通过checkinstall安装git。 以下是根据git docs的步骤:
sudo apt-get install libcurl4-gnutls-dev libexpat1-dev gettext \
libz-dev libssl-dev
sudo apt-get install asciidoc xmlto docbook2x
tar -zxf git
cd git
make configure
./configure --prefix=/usr
make all doc info
sudo checkinstall install-doc install-html install-info
在上面的命令中运行checkinstall
make install
的{{1}},这是输出:
Installing with install-doc install-html install-info...
========================= Installation results ===========================
/var/tmp/tmp.5uGKarW0hS/installscript.sh: 4: /var/tmp/tmp.5uGKarW0hS/installscript.sh: install-doc: not found
**** Installation failed. Aborting package creation.
Cleaning up...OK
Bye.
请帮帮我,谢谢。
答案 0 :(得分:1)
运行此命令sudo checkinstall make install install-doc install-html install-info
并解决问题。