public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] How can I get java compiler without x11?
@ 2006-05-23  3:57 michael
  2006-05-23  4:46 ` Matthew Cline
  2006-05-23  6:35 ` [gentoo-user] " Remy Blank
  0 siblings, 2 replies; 5+ messages in thread
From: michael @ 2006-05-23  3:57 UTC (permalink / raw
  To: gentoo-user

I've damaged my gentoo system while cleaning up a little too aggressively, and
I'm missing libdb so Apache won't run.

   emerge sys-libs/db

failed due to missing the java compiler, javac. It seems that in order to get
javac, I need to emerge the whole java IDE blackdown-jdk, which needs x11.

Is there a way to get the java compiler without installing x11?

Or am I misunderstanding something here?

Michael
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] How can I get java compiler without x11?
  2006-05-23  3:57 [gentoo-user] How can I get java compiler without x11? michael
@ 2006-05-23  4:46 ` Matthew Cline
  2006-05-23  6:35 ` [gentoo-user] " Remy Blank
  1 sibling, 0 replies; 5+ messages in thread
From: Matthew Cline @ 2006-05-23  4:46 UTC (permalink / raw
  To: gentoo-user

On 5/22/06, michael@michaelshiloh.com <michael@michaelshiloh.com> wrote:
> Is there a way to get the java compiler without installing x11?

Try adding "-X" to your USE flags.

HTH,

Matt

-- 
gentoo-user@gentoo.org mailing list



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

* [gentoo-user]  Re: How can I get java compiler without x11?
  2006-05-23  3:57 [gentoo-user] How can I get java compiler without x11? michael
  2006-05-23  4:46 ` Matthew Cline
@ 2006-05-23  6:35 ` Remy Blank
  2006-05-23 14:40   ` michael
  1 sibling, 1 reply; 5+ messages in thread
From: Remy Blank @ 2006-05-23  6:35 UTC (permalink / raw
  To: gentoo-user

michael@michaelshiloh.com wrote:
> I'm missing libdb so Apache won't run.
> 
>   emerge sys-libs/db
> 
> failed due to missing the java compiler, javac.

Add the following line to /etc/portage/package.use

sys-libs/db -java

This will disable the java USE flag for sys-libs/db, and will avoid
requiring java.

HTH.
-- Remy


Remove underscore and suffix in reply address for a timely response.

-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user]  Re: How can I get java compiler without x11?
  2006-05-23  6:35 ` [gentoo-user] " Remy Blank
@ 2006-05-23 14:40   ` michael
  2006-05-23 15:25     ` Sven Köhler
  0 siblings, 1 reply; 5+ messages in thread
From: michael @ 2006-05-23 14:40 UTC (permalink / raw
  To: gentoo-user

On Tue, 23 May 2006, Remy Blank wrote:

> michael@michaelshiloh.com wrote:
>> I'm missing libdb so Apache won't run.
>>
>>   emerge sys-libs/db
>>
>> failed due to missing the java compiler, javac.
>
> Add the following line to /etc/portage/package.use
>
> sys-libs/db -java
>
> This will disable the java USE flag for sys-libs/db, and will avoid
> requiring java.


Thanks Remy. That's exactly what I need. No need for x11 on a server only
system!
-- 
gentoo-user@gentoo.org mailing list



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

* [gentoo-user]  Re: How can I get java compiler without x11?
  2006-05-23 14:40   ` michael
@ 2006-05-23 15:25     ` Sven Köhler
  0 siblings, 0 replies; 5+ messages in thread
From: Sven Köhler @ 2006-05-23 15:25 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 359 bytes --]

> Thanks Remy. That's exactly what I need. No need for x11 on a server only
> system!

If you don't want X, then disable all X-related use-flags. The java
use-flag is _not_ X related, since all JRE/JDK ebuilds (at least those,
that i now) won't install X if the right use-flags are disabled.

javac will also start and work without any X installed.


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 251 bytes --]

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

end of thread, other threads:[~2006-05-23 15:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-23  3:57 [gentoo-user] How can I get java compiler without x11? michael
2006-05-23  4:46 ` Matthew Cline
2006-05-23  6:35 ` [gentoo-user] " Remy Blank
2006-05-23 14:40   ` michael
2006-05-23 15:25     ` Sven Köhler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox