简体   繁体   中英

Regarding installing git source code via checkinstall

I'm running the OS Ubuntu 14.04 and I am going to install git via checkinstall. Here is the step as per the 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

Run checkinstall insead of make install on above command and here is the output:

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.

Please help me out and thanks.

运行此命令sudo checkinstall make install install-doc install-html install-info ,事情得到解决。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM