This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Does "make install" work?


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*


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]