public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
From: "r dot emrich at de dot tecosim dot com" <gcc-bugzilla@gcc.gnu.org>
To: java-prs@gcc.gnu.org
Subject: [Bug libgcj/30071]  New: make install fails for libjava
Date: Tue, 05 Dec 2006 09:18:00 -0000	[thread overview]
Message-ID: <bug-30071-11564@http.gcc.gnu.org/bugzilla/> (raw)

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


             reply	other threads:[~2006-12-05  9:18 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-05  9:18 r dot emrich at de dot tecosim dot com [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-30071-11564@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=java-prs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).