* [gentoo-user] sun-jdk dependencies questions
@ 2007-06-09 9:46 Marko Kocić
2007-06-09 10:19 ` Bo Ørsted Andresen
0 siblings, 1 reply; 7+ messages in thread
From: Marko Kocić @ 2007-06-09 9:46 UTC (permalink / raw
To: gentoo-user
Why does sun-jdk needs gcc-3.3.6 and and libstdc++-3.3?
As I understand sun-jdk-1.6.0.01 is a binary package, and java works
just fine if downloaded and installed from Sun site, without portage.
Since I don't have enough disk spac fro another gcc, is it possible to
somehow let portage handle sun-jdk, but without additional gcc and
libstdc++?
Thanks,
Marko
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] sun-jdk dependencies questions
2007-06-09 9:46 [gentoo-user] sun-jdk dependencies questions Marko Kocić
@ 2007-06-09 10:19 ` Bo Ørsted Andresen
2007-06-09 11:02 ` Marko Kocić
0 siblings, 1 reply; 7+ messages in thread
From: Bo Ørsted Andresen @ 2007-06-09 10:19 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1096 bytes --]
On Saturday 09 June 2007 11:46:52 Marko Kocić wrote:
> Why does sun-jdk needs gcc-3.3.6 and and libstdc++-3.3?
> As I understand sun-jdk-1.6.0.01 is a binary package, and java works
> just fine if downloaded and installed from Sun site, without portage.
>
> Since I don't have enough disk spac fro another gcc, is it possible to
> somehow let portage handle sun-jdk, but without additional gcc and
> libstdc++?
virtual/libstdc++-3.3 is a virtual that contains nothing but is provided by /
depends on libstdc++-v3 OR gcc-3.x. Not both. Unfortunately bug #161953
causes portage to think that as you already have a version of gcc(-4.x)
installed and you don't have libstdc++-v3 installed that means you prefer
gcc. The solution to that is to manually install libstdc++-v3 (even
with --oneshot).
The reason is as you say that dev-java/sun-jdk:1.6 is a binary package that
isn't ABI compatible with libstdc++.so.6 (from gcc-4.x). And as we don't have
the source we cannot fix that with revdep-rebuild.
https://bugs.gentoo.org/show_bug.cgi?id=161953
--
Bo Andresen
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] sun-jdk dependencies questions
2007-06-09 10:19 ` Bo Ørsted Andresen
@ 2007-06-09 11:02 ` Marko Kocić
2007-06-09 11:44 ` Bo Ørsted Andresen
0 siblings, 1 reply; 7+ messages in thread
From: Marko Kocić @ 2007-06-09 11:02 UTC (permalink / raw
To: gentoo-user
Thanks for the clarification.
> The reason is as you say that dev-java/sun-jdk:1.6 is a binary package that
> isn't ABI compatible with libstdc++.so.6 (from gcc-4.x). And as we don't have
> the source we cannot fix that with revdep-rebuild.
But I'm already running sun-jdk on my machine that I manually
downloaded and installed from the sun site, although I don't have
libstdc++ installed.
One thing I don't understand is why do I need libstdc++ when using
portage version?
Regards,
Marko
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] sun-jdk dependencies questions
2007-06-09 11:02 ` Marko Kocić
@ 2007-06-09 11:44 ` Bo Ørsted Andresen
2007-06-09 12:06 ` Marko Kocić
0 siblings, 1 reply; 7+ messages in thread
From: Bo Ørsted Andresen @ 2007-06-09 11:44 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 840 bytes --]
On Saturday 09 June 2007 13:02:00 Marko Kocić wrote:
> Thanks for the clarification.
>
> > The reason is as you say that dev-java/sun-jdk:1.6 is a binary package
> > that isn't ABI compatible with libstdc++.so.6 (from gcc-4.x). And as we
> > don't have the source we cannot fix that with revdep-rebuild.
>
> But I'm already running sun-jdk on my machine that I manually
> downloaded and installed from the sun site, although I don't have
> libstdc++ installed.
> One thing I don't understand is why do I need libstdc++ when using
> portage version?
Do you mean you are already running sun-jdk:1.6 without an ABI compatible
version of libstdc++ ? In that case I wouldn't be surprised if it
occasionally crashes. If you meant 1.4 or 1.5 then they simply don't seem to
use the c++ standard library...
--
Bo Andresen
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] sun-jdk dependencies questions
2007-06-09 11:44 ` Bo Ørsted Andresen
@ 2007-06-09 12:06 ` Marko Kocić
2007-06-09 12:27 ` Bo Ørsted Andresen
0 siblings, 1 reply; 7+ messages in thread
From: Marko Kocić @ 2007-06-09 12:06 UTC (permalink / raw
To: gentoo-user
On 6/9/07, Bo Ørsted Andresen <bo.andresen@zlin.dk> wrote:
> > But I'm already running sun-jdk on my machine that I manually
> > downloaded and installed from the sun site, although I don't have
> > libstdc++ installed.
> > One thing I don't understand is why do I need libstdc++ when using
> > portage version?
>
> Do you mean you are already running sun-jdk:1.6 without an ABI compatible
> version of libstdc++ ? In that case I wouldn't be surprised if it
I'm running Sun jdk 1.6.0_01 as downloaded from http://java.sun.com .
I don't even know what ABI is, but I don't have libstdc++ installed,
only gcc-4.1.2. I did not experience any crash, although I use it a
lot.
> occasionally crashes. If you meant 1.4 or 1.5 then they simply don't seem to
> use the c++ standard library...
I don't know the difference between Sun and gentoo packaging. Maybe
Sun is statically linking that ABI stuff.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2007-06-09 13:03 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-09 9:46 [gentoo-user] sun-jdk dependencies questions Marko Kocić
2007-06-09 10:19 ` Bo Ørsted Andresen
2007-06-09 11:02 ` Marko Kocić
2007-06-09 11:44 ` Bo Ørsted Andresen
2007-06-09 12:06 ` Marko Kocić
2007-06-09 12:27 ` Bo Ørsted Andresen
2007-06-09 12:56 ` Marko Kocić
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox