Failed to make install-info
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
1e8df762b38e01685f3aa3613e2d61f73346fcbeand:
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 ; \
fiNo 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
Quoted 4 lines · Jon Loeliger
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.
Quoted 9 lines · Christian Couder
Quoted 4 lines · Jon Loeliger
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
Quoted 7 lines
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.
So, like, the other day Junio C Hamano mumbled:
Quoted 4 lines
I personally feel that calling "install-info" is a bit too distro-ish and should not be done in our
Makefilevanilla 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
Quoted 9 lines · Jon Loeliger
So, like, the other day Junio C Hamano mumbled:
Quoted 4 lines
I personally feel that calling "install-info" is a bit too distro-ish and should not be done in our
Makefilevanilla build-and-install procedure.Hmmm... That's an interesting take on things
given the top of the INSTALL file:
Quoted 8 lines
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.