This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: install failure: install-info: no info dir entry...
- To: law at cygnus dot com
- Subject: Re: install failure: install-info: no info dir entry...
- From: Dave Love <d dot love at dl dot ac dot uk>
- Date: 25 Jun 1998 12:20:28 +0100
- Cc: Gerald Pfeifer <pfeifer at dbai dot tuwien dot ac dot at>, egcs-bugs at cygnus dot com
- References: <25611.898734061@hurl.cygnus.com>
>>>>> "Jeff" == Jeffrey A Law <law@hurl.cygnus.com> writes:
Jeff> In message <Pine.GSO.3.96.980624115749.16958G-100000@markab.dbai.tuwien.ac.at
>> you write:
>> install-info: No such file or directory for /sw/swtest/egcs/BSD/info/dir
>> install-info: No such file or directory for /sw/swtest/egcs/BSD/info/dir
>> install-info: No such file or directory for /sw/swtest/egcs/BSD/info/dir
>> install-info: No such file or directory for /sw/swtest/egcs/BSD/info/dir
>> install-info: No such file or directory for /sw/swtest/egcs/BSD/info/dir
Jeff> Yup. I get this too during a "make install".
Jeff> David -- any thoughts?
I can't make that happen from either the gcc/cpp or g77 info installs
by removing the existing dir file; it's created without complaint. Is
it looking for non-existent dir file in the right place above? I have
install-info (GNU texinfo) 3.12
on i586-pc-linux-gnu. I haven't built the egcs texinfo stuff, which I
thought was the same thing. Do I have to?
However, I now see complaints like this for some reason, which I
didn't before:
install-info: menu item `Cpp' already exists, for file `cpp'
The previous version was intentional for safety and, I thought,
innocuous...
Thu Jun 25 11:24:55 1998 Dave Love <d.love@dl.ac.uk>
* Makefile.in (install-info): Run install-info program in separate
loop.
Index: Makefile.in
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/Makefile.in,v
retrieving revision 1.136
diff -u -p -r1.136 Makefile.in
--- Makefile.in 1998/06/22 18:32:14 1.136
+++ Makefile.in 1998/06/25 10:26:26
@@ -2376,10 +2376,13 @@ install-info: doc installdirs lang.insta
for f in cpp.info* gcc.info*; do \
realfile=`echo $$f | sed -e 's|.*/\([^/]*\)$$|\1|'`; \
$(INSTALL_DATA) $$f $(infodir)/$$realfile; \
- if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \
- install-info --dir-file=$(infodir)/dir $(infodir)/$$realfile; \
- else true; fi; \
done
+ if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \
+ for f in cpp.info gcc.info; do \
+ realfile=`echo $$f | sed -e 's|.*/\([^/]*\)$$|\1|'`; \
+ install-info --dir-file=$(infodir)/dir $(infodir)/$$realfile; \
+ done; \
+ else true; fi;
-chmod a-x $(infodir)/cpp.info* $(infodir)/gcc.info*
# Install the man pages.