[Bug libgcj/30071] make install fails for libjava

andreast at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Jul 29 21:24:00 GMT 2007



------- Comment #6 from andreast at gcc dot gnu dot org  2007-07-29 21:24 -------
install-binPROGRAMS: install-toolexeclibLTLIBRARIES 'overwrites' the
install-binPROGRAMS generated by automake. So this is a no go.

I helped myself with this one:

Index: Makefile.am
===================================================================
--- Makefile.am (revision 126962)
+++ Makefile.am (working copy)
@@ -440,7 +440,7 @@
 $(extra_headers) $(srcdir)/java/lang/Object.h $(srcdir)/java/lang/Class.h:
        @:

-install-exec-hook: install-toolexeclibLTLIBRARIES install-libexecsubPROGRAMS
+install-exec-hook: install-binPROGRAMS install-toolexeclibLTLIBRARIES
install-libexecsubPROGRAMS
 ## Support for libgcj_bc: dummy shared library used only at link-time.
 if USE_LIBGCJ_BC
 ## Install libgcj_bc dummy lib in the target directory. We also need to delete

This one is similar to the one Rainer posted and it might not work if one is
doing a parallel install.

I'll do a test on my farm and see how it behaves on different architectures.

Tom mentioned on IRC that it would be a 'go' for the time being. But one has to
file a bug on automake. (1.9.6 used here). Will do so.


-- 

andreast at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |andreast at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2007-01-29 20:00:01         |2007-07-29 21:24:48
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30071



More information about the Java-prs mailing list