View previous topic :: View next topic |
Author |
Message |
gdub n00b
Joined: 17 Oct 2003 Posts: 17
|
Posted: Wed Aug 10, 2005 5:03 am Post subject: JDK for console-only machines |
|
|
Hi-
I'd like to install sun-jdk on some Gentoo machines that do not have GUIs.
In the make.conf USE variable, I set -X -kde -qt -gnome -gtk but the sun-jdk emerge still wants to build X, KDE-Base, OpenGL, ALSA, and all that stuff that has no business on these machines.
Must I simply use the Sun install directly? I hate to lose java-config .
TIA,
-dub |
|
Back to top |
|
|
feivelda Guru
Joined: 21 Feb 2005 Posts: 480 Location: Frankfurt, Germany
|
Posted: Wed Aug 10, 2005 5:53 am Post subject: |
|
|
Try
echo "dev-java/sun-jdk -X -kde -qt -gnome -gtk" >> /etc/portage/package.use
Does this help? |
|
Back to top |
|
|
gdub n00b
Joined: 17 Oct 2003 Posts: 17
|
Posted: Wed Aug 10, 2005 6:06 am Post subject: |
|
|
feivelda wrote: | Try
echo "dev-java/sun-jdk -X -kde -qt -gnome -gtk" >> /etc/portage/package.use
Does this help? |
Thanks, but, unfortunately, the results are the same.
-dub |
|
Back to top |
|
|
feivelda Guru
Joined: 21 Feb 2005 Posts: 480 Location: Frankfurt, Germany
|
Posted: Wed Aug 10, 2005 7:09 am Post subject: |
|
|
Have you tried the blackdown-jdk?
I think, X is required because of swt and swing classes
You can try to edit the ebuild yourself and remove the dependencies, but I won't try this |
|
Back to top |
|
|
Doc7 Tux's lil' helper
Joined: 18 Jul 2004 Posts: 133 Location: AC-Germany
|
Posted: Wed Aug 10, 2005 7:50 am Post subject: |
|
|
some USE-Flags that might cause this are
Code: | arts
mozilla
browserplugin |
Code: | USE="-arts" emerge -pv sun-jdk |
and sun-jdk can be emerged without xorg & Co. as you see with Code: | USE="-*" emerge -pv sun-jdk |
_________________ just my 2 cents |
|
Back to top |
|
|
sawyert Apprentice
Joined: 21 Aug 2003 Posts: 156 Location: Leeds, UK
|
|
Back to top |
|
|
gdub n00b
Joined: 17 Oct 2003 Posts: 17
|
Posted: Thu Aug 11, 2005 3:14 pm Post subject: |
|
|
sawyert wrote: | https://forums.gentoo.org/viewtopic-t-244341-highlight-dependencies+tim.html |
Wow! That did it. Amazing what that one little dependency causes. Reminds me of differential equations class.
Thanks.
-dub |
|
Back to top |
|
|
gdub n00b
Joined: 17 Oct 2003 Posts: 17
|
Posted: Thu Aug 11, 2005 3:53 pm Post subject: |
|
|
Just a followup. When installing without the gui-related stuff, emerge reports warnings as might be expected. But I will be doing deeper-than-normal deployment testing on our apps before clearing the deployment.
edited emerge warnings :
Code: | THIS SYSTEM VM IS NOT SUFFICIENT, REQUIRED BINARIES WERE NOT FOUND
[...]
* Some parts of Sun's JDK require virtual/x11 to be installed.
* Be careful which Java libraries you attempt to use.
|
|
|
Back to top |
|
|
pilla Bodhisattva
Joined: 07 Aug 2002 Posts: 7729 Location: Underworld
|
Posted: Thu Aug 11, 2005 4:15 pm Post subject: |
|
|
sawyert wrote: | https://forums.gentoo.org/viewtopic-t-244341-highlight-dependencies+tim.html
Tim. |
Dup. _________________ "I'm just very selective about the reality I choose to accept." -- Calvin |
|
Back to top |
|
|
|