# [BUG] Failed to make install-info

5 messages from 2007-12-13 to 2007-12-14. Participants: Jon Loeliger, Christian Couder, Junio C Hamano.
Thread: https://gitlist.dev/t/11276

## Jon Loeliger, 2007-12-13 15:38

Subject: [BUG] Failed to make install-info
Message-ID: <E1J2q92-0001YT-BZ@jdl.com>
URL: https://gitlist.dev/e/E1J2q92-0001YT-BZ%40jdl.com

```

Guys,
I managed to fail to install info files during:

    /usr/src/git# make prefix=/usr install-info

The /usr/share/info/dir file is readable.  But it
looks like our build isn't supplying a description
that is needed by install-info?  Is my info really
old or something?

This is:

    1693 % pwd
    /usr/src/git
    1694 % git describe
    v1.5.4-rc0
    1695 % git rev-parse HEAD
    1e8df762b38e01685f3aa3613e2d61f73346fcbe

and:

    1698 % install-info --version
    Debian install-info version 1.14.5.

Thanks,
jdl



make -C Documentation install-info
make[1]: Entering directory `/usr/src/git/Documentation'
rm -f doc.dep+ doc.dep
/usr/bin/perl ./build-docdep.perl >doc.dep+
mv doc.dep+ doc.dep
make -C ../ GIT-VERSION-FILE
make[2]: Entering directory `/usr/src/git'
make[2]: `GIT-VERSION-FILE' is up to date.
make[2]: Leaving directory `/usr/src/git'
make[1]: Leaving directory `/usr/src/git/Documentation'
make[1]: Entering directory `/usr/src/git/Documentation'
make -C ../ GIT-VERSION-FILE
make[2]: Entering directory `/usr/src/git'
make[2]: `GIT-VERSION-FILE' is up to date.
make[2]: Leaving directory `/usr/src/git'
install -d -m 755 /usr/share/info
install -m 644 git.info gitman.info /usr/share/info
if test -r /usr/share/info/dir; then \
          install-info --info-dir=/usr/share/info git.info ;\
          install-info --info-dir=/usr/share/info gitman.info ;\
        else \
          echo "No directory found in /usr/share/info" >&2 ; \
        fi

No `START-INFO-DIR-ENTRY' and no `This file documents'.
install-info(git.info): unable to determine description for `dir' entry - giving up

No `START-INFO-DIR-ENTRY' and no `This file documents'.
install-info(gitman.info): unable to determine description for `dir' entry - giving up
make[1]: *** [install-info] Error 1
make[1]: Leaving directory `/usr/src/git/Documentation'
make: *** [install-info] Error 2

```

## Christian Couder, 2007-12-14 05:35

Subject: Re: [BUG] Failed to make install-info
Message-ID: <200712140635.39311.chriscool@tuxfamily.org>
URL: https://gitlist.dev/e/200712140635.39311.chriscool%40tuxfamily.org
In-Reply-To: <E1J2q92-0001YT-BZ@jdl.com>

```
Le jeudi 13 décembre 2007, Jon Loeliger a écrit :
> Guys,
> I managed to fail to install info files during:
>
>     /usr/src/git# make prefix=/usr install-info

I am also struggling with "make install-info" to make it install in 
~/share/info/dir 

First it barfed because "~/share/info/dir" did not exist.

Then it doesn't find "install-info" because it's in "/usr/sbin" on my debian 
machine.

I well tell if I get the same error as you. But right now I cannot 
invastigate more.

Thanks,
Christian.

```

## Junio C Hamano, 2007-12-14 06:03

Subject: Re: [BUG] Failed to make install-info
Message-ID: <7vejdpvmlw.fsf@gitster.siamese.dyndns.org>
URL: https://gitlist.dev/e/7vejdpvmlw.fsf%40gitster.siamese.dyndns.org
In-Reply-To: <200712140635.39311.chriscool@tuxfamily.org>

```
Christian Couder <chriscool@tuxfamily.org> writes:

> Le jeudi 13 décembre 2007, Jon Loeliger a écrit :
>> Guys,
>> I managed to fail to install info files during:
>>
>>     /usr/src/git# make prefix=/usr install-info
>
> I am also struggling with "make install-info" to make it install in 
> ~/share/info/dir 
>
> First it barfed because "~/share/info/dir" did not exist.
>
> Then it doesn't find "install-info" because it's in "/usr/sbin" on my debian 
> machine.
>
> I well tell if I get the same error as you. But right now I cannot 
> invastigate more.

I personally feel that calling "install-info" is a bit too distro-ish
and should not be done in our Makefile vanilla build-and-install
procedure.

```

## Jon Loeliger, 2007-12-14 14:38

Subject: Re: [BUG] Failed to make install-info
Message-ID: <E1J3Bg0-0004Ut-Ii@jdl.com>
URL: https://gitlist.dev/e/E1J3Bg0-0004Ut-Ii%40jdl.com
In-Reply-To: <7vejdpvmlw.fsf@gitster.siamese.dyndns.org>

```
So, like, the other day Junio C Hamano mumbled:
> 
> I personally feel that calling "install-info" is a bit too distro-ish
> and should not be done in our Makefile vanilla build-and-install
> procedure.

Hmmm...  That's an interesting take on things
given the top of the INSTALL file:

		    Git installation

    Normally you can just do "make" followed by "make install", and that
    will install the git programs in your own ~/bin/ directory.  If you want
    to do a global install, you can do

	    $ make prefix=/usr all doc info ;# as yourself
	    # make prefix=/usr install install-doc install-info ;# as root

Granted, it's the first time I've actually tried
to install the docs on this (debian) machine too.
I've normally just read them straight out of the
doc directory. :-)

But I will have to agree with you on the problems
surrounding the One Install to Rule Them All (and
in the darkness bind9 them).

jdl

```

## Junio C Hamano, 2007-12-14 17:45

Subject: Re: [BUG] Failed to make install-info
Message-ID: <7vprx9rwz1.fsf@gitster.siamese.dyndns.org>
URL: https://gitlist.dev/e/7vprx9rwz1.fsf%40gitster.siamese.dyndns.org
In-Reply-To: <E1J3Bg0-0004Ut-Ii@jdl.com>

```
Jon Loeliger <jdl@jdl.com> writes:

> So, like, the other day Junio C Hamano mumbled:
>> 
>> I personally feel that calling "install-info" is a bit too distro-ish
>> and should not be done in our Makefile vanilla build-and-install
>> procedure.
>
> Hmmm...  That's an interesting take on things
> given the top of the INSTALL file:
>
> 		    Git installation
>
>     Normally you can just do "make" followed by "make install", and that
>     will install the git programs in your own ~/bin/ directory.  If you want
>     to do a global install, you can do
>
> 	    $ make prefix=/usr all doc info ;# as yourself
> 	    # make prefix=/usr install install-doc install-info ;# as root

I was not talking about install-info target that copies generated *.info
files to $(DESTDIR)$(infodir)/.  That does not sound distro-ish at all
to me.

What I found questionable was $(INSTALL_INFO) invocation in that target
in the Makefile.

```
