public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcj/48533] New: Installer fails on libjava component
@ 2011-04-09 19:05 jrt at worldlinc dot net
  2011-04-13 18:53 ` [Bug libgcj/48533] " jrt at worldlinc dot net
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: jrt at worldlinc dot net @ 2011-04-09 19:05 UTC (permalink / raw)
  To: java-prs

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

           Summary: Installer fails on libjava component
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libgcj
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: jrt@worldlinc.net


I just built gcc-4.6.0 with all components requested, built with /usr/local/ as
prefix. Ada not built. On "make install", libjava fails later in installation
process because it tries to find and link a libppl file by looking in /usr/lib
instead of /usr/local/lib. I copied the first not-found file into /usr/lib and
it linked that and failed on the next one. This system has two versions of ppl
and cloog files, 0.10.2 in /usr and 0.11 in /usr/local. The first is required
for gcc-4.4.5 and the other for 4.6.0 and the linkers and installer should find
the right version for the right gcc. The installer goes looking first in
/usr/lib and fails, though. Why doesn't it at least use the system library path
which is said to list /usr/local/lib before /usr/lib? The only references to
the wrong prefix that I found in the top makefile and the libjava makefile are
in the var oldincludedir=/usr/include.


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

* [Bug libgcj/48533] Installer fails on libjava component
  2011-04-09 19:05 [Bug libgcj/48533] New: Installer fails on libjava component jrt at worldlinc dot net
@ 2011-04-13 18:53 ` jrt at worldlinc dot net
  2011-04-14 17:02 ` jrt at worldlinc dot net
  2011-05-29 20:32 ` joakimds at kth dot se
  2 siblings, 0 replies; 4+ messages in thread
From: jrt at worldlinc dot net @ 2011-04-13 18:53 UTC (permalink / raw)
  To: java-prs

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

--- Comment #1 from John T <jrt at worldlinc dot net> 2011-04-13 18:53:29 UTC ---
On building all components of GCC 4.6.0 except java, ada and go, there was no
problem installing with the prefix for 4.6.0 set to /usr/local. The problem
seems confined to the java files for 4.6.0. I haven't tried installing any
other version of gcc java to /usr/local.


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

* [Bug libgcj/48533] Installer fails on libjava component
  2011-04-09 19:05 [Bug libgcj/48533] New: Installer fails on libjava component jrt at worldlinc dot net
  2011-04-13 18:53 ` [Bug libgcj/48533] " jrt at worldlinc dot net
@ 2011-04-14 17:02 ` jrt at worldlinc dot net
  2011-05-29 20:32 ` joakimds at kth dot se
  2 siblings, 0 replies; 4+ messages in thread
From: jrt at worldlinc dot net @ 2011-04-14 17:02 UTC (permalink / raw)
  To: java-prs

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

John T <jrt at worldlinc dot net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jrt at worldlinc dot net

--- Comment #2 from John T <jrt at worldlinc dot net> 2011-04-14 17:02:11 UTC ---
New build & attempted install to demonstrate installation bug, excerpt of log.
Keep in mind that libppl.so.4 is copied into /usr/lib where the installer
wrongly looks for it. Otherwise it would trigger the error shown below. As
noted previously, C, C++ and lto build and install with no problems, but the
library path for java file linkage are incorrectly set.

console log excerpt:
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
test -z "/usr/yokel/libexec/gcc/i686-pc-linux-gnu/4.6.0" || /bin/mkdir -p
"/usr/yokel/libexec/gcc/i686-pc-linux-gnu/4.6.0"
Installing dummy lib libgcj_bc.so.1.0.0
/home/dilbert/java/./gcc/cc1: error while loading shared libraries:
libppl.so.9: cannot open shared object file: No such file or directory
make[5]: *** [install-exec-hook] Error 1
make[5]: Leaving directory `/home/dilbert/java/i686-pc-linux-gnu/libjava'
make[4]: *** [install-exec-am] Error 2
make[4]: Leaving directory `/home/dilbert/java/i686-pc-linux-gnu/libjava'
make[3]: *** [install-am] Error 2
make[3]: Leaving directory `/home/dilbert/java/i686-pc-linux-gnu/libjava'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/home/dilbert/java/i686-pc-linux-gnu/libjava'
make[1]: *** [install-target-libjava] Error 2
make[1]: Leaving directory `/home/dilbert/java'
make: *** [install] Error 2


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

* [Bug libgcj/48533] Installer fails on libjava component
  2011-04-09 19:05 [Bug libgcj/48533] New: Installer fails on libjava component jrt at worldlinc dot net
  2011-04-13 18:53 ` [Bug libgcj/48533] " jrt at worldlinc dot net
  2011-04-14 17:02 ` jrt at worldlinc dot net
@ 2011-05-29 20:32 ` joakimds at kth dot se
  2 siblings, 0 replies; 4+ messages in thread
From: joakimds at kth dot se @ 2011-05-29 20:32 UTC (permalink / raw)
  To: java-prs

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

Åke Ragnar Dahlgren <joakimds at kth dot se> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |joakimds at kth dot se

--- Comment #3 from Åke Ragnar Dahlgren <joakimds at kth dot se> 2011-05-29 20:31:57 UTC ---
I have also encountered this problem when running "make install" to install
gcc. The error message disappeared after I edited the file /etc/ld.so.conf and
added the directory /usr/local/lib and then updated the dynamic loader cache by
executing the command "ldconfig". I hope this helps somebody. Greetings from
Stockholm.


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

end of thread, other threads:[~2011-05-29 20:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-09 19:05 [Bug libgcj/48533] New: Installer fails on libjava component jrt at worldlinc dot net
2011-04-13 18:53 ` [Bug libgcj/48533] " jrt at worldlinc dot net
2011-04-14 17:02 ` jrt at worldlinc dot net
2011-05-29 20:32 ` joakimds at kth dot se

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).