[gentoo-user] sun-jdk dependencies questions

2007-06-09 Thread Marko Kocić

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
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] sun-jdk dependencies questions

2007-06-09 Thread Bo Ørsted Andresen
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


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] sun-jdk dependencies questions

2007-06-09 Thread Marko Kocić

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
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] sun-jdk dependencies questions

2007-06-09 Thread Bo Ørsted Andresen
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


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] sun-jdk dependencies questions

2007-06-09 Thread Marko Kocić

On 6/9/07, Bo Ørsted Andresen [EMAIL PROTECTED] 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.


Re: [gentoo-user] sun-jdk dependencies questions

2007-06-09 Thread Bo Ørsted Andresen
On Saturday 09 June 2007 14:06:59 Marko Kocić wrote:
  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.

Right. If you chose another download that's a possibility too. In that case 
you still got the libstdc++.so.5 with the only difference that other binary 
apps that need it won't be able to share it with sun-jdk.

-- 
Bo Andresen


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] sun-jdk dependencies questions

2007-06-09 Thread Marko Kocić

Ok,
thanks for the explanation.
--
[EMAIL PROTECTED] mailing list