public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Java configuration is hosed
@ 2008-07-22 16:51 Kevin O'Gorman
  2008-07-22 17:00 ` Dale
  2008-07-22 17:34 ` Dave Jones
  0 siblings, 2 replies; 6+ messages in thread
From: Kevin O'Gorman @ 2008-07-22 16:51 UTC (permalink / raw
  To: gentoo-user

I cannot emerge the latest xulrunner, but the root cause appears to be
my Java configuration.  I haven't touched it in ages, so I have no
idea how this happened.

The evidence:
treat ~ # eselect java-vm list
Available Java Virtual Machines:
  [1]   sun-jdk-1.4
  [2]   sun-jdk-1.6  system-vm
treat ~ #

So far so good, but
treat ~ # java-config --list-available-vms
Traceback (most recent call last):
  File "/usr/bin/java-config-2", line 8, in <module>
    from java_config_2 import __version__
ImportError: No module named java_config_2
treat ~ #

Which seems to mean there should be a file /usr/bin/java-config-2, but
there is not.
Where should it come from?


-- 
Kevin O'Gorman, PhD



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

* Re: [gentoo-user] Java configuration is hosed
  2008-07-22 16:51 [gentoo-user] Java configuration is hosed Kevin O'Gorman
@ 2008-07-22 17:00 ` Dale
  2008-07-22 17:34 ` Dave Jones
  1 sibling, 0 replies; 6+ messages in thread
From: Dale @ 2008-07-22 17:00 UTC (permalink / raw
  To: gentoo-user

Kevin O'Gorman wrote:
> I cannot emerge the latest xulrunner, but the root cause appears to be
> my Java configuration.  I haven't touched it in ages, so I have no
> idea how this happened.
>
> The evidence:
> treat ~ # eselect java-vm list
> Available Java Virtual Machines:
>   [1]   sun-jdk-1.4
>   [2]   sun-jdk-1.6  system-vm
> treat ~ #
>
> So far so good, but
> treat ~ # java-config --list-available-vms
> Traceback (most recent call last):
>   File "/usr/bin/java-config-2", line 8, in <module>
>     from java_config_2 import __version__
> ImportError: No module named java_config_2
> treat ~ #
>
> Which seems to mean there should be a file /usr/bin/java-config-2, but
> there is not.
> Where should it come from?
>
>
>   

This help?

root@smoker / # equery belongs /usr/bin/java-config-2
[ Searching for file(s) /usr/bin/java-config-2 in *... ]
dev-java/java-config-2.1.6 (/usr/bin/java-config-2)
root@smoker / #

Dale

:-)  :-)



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

* Re: [gentoo-user] Java configuration is hosed
  2008-07-22 16:51 [gentoo-user] Java configuration is hosed Kevin O'Gorman
  2008-07-22 17:00 ` Dale
@ 2008-07-22 17:34 ` Dave Jones
  2008-07-22 18:03   ` Kevin O'Gorman
  1 sibling, 1 reply; 6+ messages in thread
From: Dave Jones @ 2008-07-22 17:34 UTC (permalink / raw
  To: gentoo-user

Hi Kevin

Kevin O'Gorman wrote on 22/07/08 18:51:
> I cannot emerge the latest xulrunner, but the root cause appears to be
> my Java configuration.  I haven't touched it in ages, so I have no
> idea how this happened.
> 
> The evidence:
> treat ~ # eselect java-vm list
> Available Java Virtual Machines:
>   [1]   sun-jdk-1.4
>   [2]   sun-jdk-1.6  system-vm
> treat ~ #
> 
> So far so good, but
> treat ~ # java-config --list-available-vms
> Traceback (most recent call last):
>   File "/usr/bin/java-config-2", line 8, in <module>
>     from java_config_2 import __version__
> ImportError: No module named java_config_2
> treat ~ #
> 
> Which seems to mean there should be a file /usr/bin/java-config-2, but
> there is not.
> Where should it come from?

I had the same problem yesterday, ran python-updater to fix it.

That did an awful lot of re-compiling (including OpenOffice), but it 
worked for me.

Cheers, Dave



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

* Re: [gentoo-user] Java configuration is hosed
  2008-07-22 17:34 ` Dave Jones
@ 2008-07-22 18:03   ` Kevin O'Gorman
  2008-07-22 20:31     ` Dave Jones
  0 siblings, 1 reply; 6+ messages in thread
From: Kevin O'Gorman @ 2008-07-22 18:03 UTC (permalink / raw
  To: gentoo-user

On Tue, Jul 22, 2008 at 10:34 AM, Dave Jones <Dave.Jones@xs4all.nl> wrote:
> Hi Kevin
>
> Kevin O'Gorman wrote on 22/07/08 18:51:
>>
>> I cannot emerge the latest xulrunner, but the root cause appears to be
>> my Java configuration.  I haven't touched it in ages, so I have no
>> idea how this happened.
>>
>> The evidence:
>> treat ~ # eselect java-vm list
>> Available Java Virtual Machines:
>>  [1]   sun-jdk-1.4
>>  [2]   sun-jdk-1.6  system-vm
>> treat ~ #
>>
>> So far so good, but
>> treat ~ # java-config --list-available-vms
>> Traceback (most recent call last):
>>  File "/usr/bin/java-config-2", line 8, in <module>
>>    from java_config_2 import __version__
>> ImportError: No module named java_config_2
>> treat ~ #
>>
>> Which seems to mean there should be a file /usr/bin/java-config-2, but
>> there is not.
>> Where should it come from?
>
> I had the same problem yesterday, ran python-updater to fix it.
>
> That did an awful lot of re-compiling (including OpenOffice), but it worked
> for me.

Yeah, thanks.  I tried running elogviewer to look for things like this
and that was broken too, but at least elogviewer was kind enough to
diagnose its own problem and suggest python-updater to fix it.  So
I've been running that for a few hours.

You mail at least gives me some hope that the fix is in...

-- 
Kevin O'Gorman, PhD



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

* Re: [gentoo-user] Java configuration is hosed
  2008-07-22 18:03   ` Kevin O'Gorman
@ 2008-07-22 20:31     ` Dave Jones
  2008-07-22 20:40       ` Rev. Ferris
  0 siblings, 1 reply; 6+ messages in thread
From: Dave Jones @ 2008-07-22 20:31 UTC (permalink / raw
  To: gentoo-user

Hi Kevin,

Kevin O'Gorman wrote on 22/07/08 20:03:
> On Tue, Jul 22, 2008 at 10:34 AM, Dave Jones <Dave.Jones@xs4all.nl> wrote:
>> Kevin O'Gorman wrote on 22/07/08 18:51:
>>> I cannot emerge the latest xulrunner, but the root cause appears to be
>>> my Java configuration.  I haven't touched it in ages, so I have no
>>> idea how this happened.
>>>
>>> So far so good, but
>>> treat ~ # java-config --list-available-vms
>>> Traceback (most recent call last):
>>>  File "/usr/bin/java-config-2", line 8, in <module>
>>>    from java_config_2 import __version__
>>> ImportError: No module named java_config_2
>>> treat ~ #
>>>
>>> Which seems to mean there should be a file /usr/bin/java-config-2, but
>>> there is not.
>>> Where should it come from?
>> I had the same problem yesterday, ran python-updater to fix it.
>>
>> That did an awful lot of re-compiling (including OpenOffice), but it worked
>> for me.
> 
> Yeah, thanks.  I tried running elogviewer to look for things like this
> and that was broken too, but at least elogviewer was kind enough to
> diagnose its own problem and suggest python-updater to fix it.  So
> I've been running that for a few hours.
> 
> You mail at least gives me some hope that the fix is in...

java_config_2 was installed with python 2.5, which itself was installed 
yesterday with an emerge -auDv world

I found java_config_2 in /usr/lib/python2.5/site-packages/java_config_2/

Having noticed the new python version, I ran python-updater. Since then, 
it's fine.

Cheers, Dave



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

* Re: [gentoo-user] Java configuration is hosed
  2008-07-22 20:31     ` Dave Jones
@ 2008-07-22 20:40       ` Rev. Ferris
  0 siblings, 0 replies; 6+ messages in thread
From: Rev. Ferris @ 2008-07-22 20:40 UTC (permalink / raw
  To: gentoo-user

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I used one hour ago the java update guide wiki.
It's worked!
Luigi

Alle martedì 22 luglio 2008, Dave Jones ha scritto:
> Hi Kevin,
>
> Kevin O'Gorman wrote on 22/07/08 20:03:
> > On Tue, Jul 22, 2008 at 10:34 AM, Dave Jones <Dave.Jones@xs4all.nl> 
wrote:
> >> Kevin O'Gorman wrote on 22/07/08 18:51:
> >>> I cannot emerge the latest xulrunner, but the root cause appears
> >>> to be my Java configuration.  I haven't touched it in ages, so I
> >>> have no idea how this happened.
> >>>
> >>> So far so good, but
> >>> treat ~ # java-config --list-available-vms
> >>> Traceback (most recent call last):
> >>>  File "/usr/bin/java-config-2", line 8, in <module>
> >>>    from java_config_2 import __version__
> >>> ImportError: No module named java_config_2
> >>> treat ~ #
> >>>
> >>> Which seems to mean there should be a file
> >>> /usr/bin/java-config-2, but there is not.
> >>> Where should it come from?
> >>
> >> I had the same problem yesterday, ran python-updater to fix it.
> >>
> >> That did an awful lot of re-compiling (including OpenOffice), but
> >> it worked for me.
> >
> > Yeah, thanks.  I tried running elogviewer to look for things like
> > this and that was broken too, but at least elogviewer was kind
> > enough to diagnose its own problem and suggest python-updater to
> > fix it.  So I've been running that for a few hours.
> >
> > You mail at least gives me some hope that the fix is in...
>
> java_config_2 was installed with python 2.5, which itself was
> installed yesterday with an emerge -auDv world
>
> I found java_config_2 in
> /usr/lib/python2.5/site-packages/java_config_2/
>
> Having noticed the new python version, I ran python-updater. Since
> then, it's fine.
>
> Cheers, Dave
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkiGRakACgkQYoDKzgS2pLMOPACfdLV+dbWhwKeLIXJwMErV3Czn
9XEAoId8iYDZlCo0a3p4qv9JK7wita8y
=omPG
-----END PGP SIGNATURE-----



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

end of thread, other threads:[~2008-07-22 20:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-22 16:51 [gentoo-user] Java configuration is hosed Kevin O'Gorman
2008-07-22 17:00 ` Dale
2008-07-22 17:34 ` Dave Jones
2008-07-22 18:03   ` Kevin O'Gorman
2008-07-22 20:31     ` Dave Jones
2008-07-22 20:40       ` Rev. Ferris

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