threads / bug / 11276

[BUG] Failed to make install-info

Subject: [BUG] Failed to make install-info

## tl;dr

5 messages between Dec 13, 2007 and Dec 14, 2007.

replies: 4people: 3as markdown or json

Jon Loeliger· Dec 13, 2007, 15:38 UTC · lore

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· Dec 14, 2007, 05:35 UTC · re: Jon Loeliger · lore

Re: [BUG] Failed to make install-info

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· Dec 14, 2007, 06:03 UTC · re: Christian Couder · lore

Re: [BUG] Failed to make install-info

Christian Couder <chriscool@tuxfamily.org> writes:
Show 16 quoted lines
> 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· Dec 14, 2007, 14:38 UTC · re: Junio C Hamano · lore

Re: [BUG] Failed to make install-info

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· Dec 14, 2007, 17:45 UTC · re: Jon Loeliger · lore

Re: [BUG] Failed to make install-info

Jon Loeliger <jdl@jdl.com> writes:
Show 17 quoted lines
> 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.

← back to recent threads