Regarding installing git source code via checkinstall

453 Views Asked by At

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.

1

There are 1 best solutions below

0
On

Run this command sudo checkinstall make install install-doc install-html install-info and things get fixed.