git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [BUG] Failed to make install-info
@ 2007-12-13 15:38 Jon Loeliger
  2007-12-14  5:35 ` Christian Couder
  0 siblings, 1 reply; 5+ messages in thread
From: Jon Loeliger @ 2007-12-13 15:38 UTC (permalink / raw)
  To: git


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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [BUG] Failed to make install-info
  2007-12-13 15:38 [BUG] Failed to make install-info Jon Loeliger
@ 2007-12-14  5:35 ` Christian Couder
  2007-12-14  6:03   ` Junio C Hamano
  0 siblings, 1 reply; 5+ messages in thread
From: Christian Couder @ 2007-12-14  5:35 UTC (permalink / raw)
  To: Jon Loeliger; +Cc: git

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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [BUG] Failed to make install-info
  2007-12-14  5:35 ` Christian Couder
@ 2007-12-14  6:03   ` Junio C Hamano
  2007-12-14 14:38     ` Jon Loeliger
  0 siblings, 1 reply; 5+ messages in thread
From: Junio C Hamano @ 2007-12-14  6:03 UTC (permalink / raw)
  To: Christian Couder; +Cc: Jon Loeliger, git

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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [BUG] Failed to make install-info
  2007-12-14  6:03   ` Junio C Hamano
@ 2007-12-14 14:38     ` Jon Loeliger
  2007-12-14 17:45       ` Junio C Hamano
  0 siblings, 1 reply; 5+ messages in thread
From: Jon Loeliger @ 2007-12-14 14:38 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: Christian Couder, git

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [BUG] Failed to make install-info
  2007-12-14 14:38     ` Jon Loeliger
@ 2007-12-14 17:45       ` Junio C Hamano
  0 siblings, 0 replies; 5+ messages in thread
From: Junio C Hamano @ 2007-12-14 17:45 UTC (permalink / raw)
  To: Jon Loeliger; +Cc: Christian Couder, git

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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-12-14 17:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-13 15:38 [BUG] Failed to make install-info Jon Loeliger
2007-12-14  5:35 ` Christian Couder
2007-12-14  6:03   ` Junio C Hamano
2007-12-14 14:38     ` Jon Loeliger
2007-12-14 17:45       ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).