This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Does "make install" work?
- To: hjl at lucon dot org (H.J. Lu)
- Subject: Re: Does "make install" work?
- From: Jim Meyering <meyering at ascend dot com>
- Date: 26 Jun 1998 07:39:06 -0500
- Cc: egcs at cygnus dot com
- References: <m0ypOJy-000265C@ocean.lucon.org>
hjl@lucon.org (H.J. Lu) writes:
| Hi,
|
| This is what I got with "make install". Any ideas?
...
| install-info: menu item `gcc' already exists, for file `gcc'
| install-info: menu item `gcc' already exists, for file `gcc'
| install-info: menu item `gcc' already exists, for file `gcc'
| make[1]: *** [install-info] Error 1
| make[1]: Leaving directory `/home/work/gnu/bin/egcs/gcc'
| make: *** [install-gcc] Error 2
Here's how I fixed it in my local copy:
Index: Makefile.in
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/Makefile.in,v
retrieving revision 1.138
diff -u -p -r1.138 Makefile.in
--- Makefile.in 1998/06/26 02:13:41 1.138
+++ Makefile.in 1998/06/26 12:37:34
@@ -2380,7 +2380,7 @@ install-info: doc installdirs lang.insta
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; \
+ install-info --dir-file=$(infodir)/dir $(infodir)/$$realfile || true; \
else true; fi; \
done
-chmod a-x $(infodir)/cpp.info* $(infodir)/gcc.info*