public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcj/30071]  New: make install fails for libjava
@ 2006-12-05  9:18 r dot emrich at de dot tecosim dot com
  2007-01-29 20:00 ` [Bug libgcj/30071] " tromey at gcc dot gnu dot org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: r dot emrich at de dot tecosim dot com @ 2006-12-05  9:18 UTC (permalink / raw)
  To: java-prs

Failure to relink libjvm.la
xgcc: /SCRATCH/gcc-build/HP-UX/hppa2.0w-hp-hpux11.00/install/lib/libgcj.sl: No
such file or directory
libtool: install: error: relink `libjvm.la' with the above command before
installing it

I tracked it down to an install sequence issue.

Makefile.in in the libjava directory contains the following install-exec-am
tag:

install-exec-am: install-binPROGRAMS install-binSCRIPTS \
        install-dbexecDATA install-dbexecLTLIBRARIES \
        install-toolexeclibLTLIBRARIES install-toolexecmainlibDATA
        @$(NORMAL_INSTALL)
        $(MAKE) $(AM_MAKEFLAGS) install-exec-hook

This installs binPROGRAMS and dbexecLTLIBRARIES before toolexeclibLTLIBRARIES
what gives warnings like this:

  /bin/sh ./libtool --mode=install
/appl/shared/gnu/Linux/i686-pc-linux-gnu/bin/install -c 'gij'
'/SCRATCH/gcc-build/Linux/i686-pc-linux-gnu/install/bin/gij'
libtool: install: warning: `libgij.la' has not been installed in
`/SCRATCH/gcc-build/Linux/i686-pc-linux-gnu/install/lib'
libtool: install: warning:
`/SCRATCH/gcc-build/Linux/i686-pc-linux-gnu/gcc-4.2.0/gcc-4.2.0/i686-pc-linux-gnu/libjava/libgcj.la'
has not been installed in
`/SCRATCH/gcc-build/Linux/i686-pc-linux-gnu/install/lib'

and fails on relinking of libjvm.la

xgcc: /SCRATCH/gcc-build/HP-UX/hppa2.0w-hp-hpux11.00/install/lib/libgcj.sl: No
such file or directory
libtool: install: error: relink `libjvm.la' with the above command before
installing it


I changed the install-exec-am tag in the Makefile.in to:

install-exec-am: install-toolexeclibLTLIBRARIES install-toolexecmainlibDATA \
        install-dbexecLTLIBRARIES install-dbexecDATA \
        install-binPROGRAMS install-binSCRIPTS
        @$(NORMAL_INSTALL)
        $(MAKE) $(AM_MAKEFLAGS) install-exec-hook

With this modification bootstrap, make check, and make install succeeds for at
least i686-pc-linux-gnu and hppa2.0w-hp-hpux11.00.


I'm not familiar with the automake machinery. So, somebody who knows the magics 
may help to change the configuration accordingly.


-- 
           Summary: make install fails for libjava
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libgcj
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: r dot emrich at de dot tecosim dot com
 GCC build triplet: hppa2.0w-hp-hpux11.00
  GCC host triplet: hppa2.0w-hp-hpux11.00
GCC target triplet: hppa2.0w-hp-hpux11.00


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


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2008-02-06 20:46 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-12-05  9:18 [Bug libgcj/30071] New: make install fails for libjava r dot emrich at de dot tecosim dot com
2007-01-29 20:00 ` [Bug libgcj/30071] " tromey at gcc dot gnu dot org
2007-01-30  8:55 ` r dot emrich at de dot tecosim dot com
2007-02-19 16:16 ` r dot emrich at de dot tecosim dot com
2007-04-17  6:54 ` r dot emrich at de dot tecosim dot com
2007-07-27 20:11 ` tromey at gcc dot gnu dot org
2007-07-29 21:24 ` andreast at gcc dot gnu dot org
2008-02-03 20:54 ` andreast at gcc dot gnu dot org
2008-02-03 20:56 ` andreast at gcc dot gnu dot org
2008-02-06 20:46 ` andreast at gcc dot gnu dot org
2008-02-06 20:46 ` andreast at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).