Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
java troubles
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
terens
n00b
n00b


Joined: 05 Dec 2003
Posts: 12

PostPosted: Sun May 30, 2004 3:23 pm    Post subject: java troubles Reply with quote

Hi everybody,
I havent updated or made anything but regular work on my system in a long while and when I did a lot of system upgrade was made when I installed newer versions of software. I guess I have done a too fast and furious etc-update and missed some important settings. Maybe...
Anyway this is what I get when I try to upgrade OpenOffice. I have blackdown 1.4.1 and when I try the second suggestion: "java-config --set system..." I get the same error message about line 15: "No module named java_config."
Any suggestions?

/terens

Quote:
emerge -u openoffice
Calculating dependencies ...done!
>>> emerge (1 of 1) app-office/openoffice-1.1.1-r1 to /
>>> md5 src_uri ;-) OOo_1.1.1p1_source.tar.bz2
>>> md5 src_uri ;-) gpc231.tar.Z
Traceback (most recent call last):
File "/usr/bin/java-config", line 15, in ?
from java_config import jc_options
ImportError: No module named java_config
*
* This ebuild has only been tested with the blackdown port of
* java. If you use another java implementation, it could fail
* horribly, so please merge the blackdown-jdk and set it as
* system VM before proceeding:
*
* # emerge blackdown-jdk
* # java-config --set-system-vm=blackdown-jdk-<VERSION>
* # env-update
* # source /etc/profile
*
* Please adjust <VERSION> according to the version installed in
* /opt.
*
* If you however want to test another JDK (not officially supported),
* you could do the following:
*
* # export FORCE_JAVA=yes
*

!!! ERROR: app-office/openoffice-1.1.1-r1 failed.
!!! Function pkg_setup, Line 112, Exitcode 0
!!! (no error message)

Back to top
View user's profile Send private message
cdmstro
Tux's lil' helper
Tux's lil' helper


Joined: 26 Apr 2003
Posts: 93

PostPosted: Sun May 30, 2004 3:51 pm    Post subject: Reply with quote

try
Code:
emerge java-config
If the system packages which were updated included python when you did your update, the python version may have changed and as such java-config is not installed in the new version.
Back to top
View user's profile Send private message
terens
n00b
n00b


Joined: 05 Dec 2003
Posts: 12

PostPosted: Sun May 30, 2004 6:11 pm    Post subject: Reply with quote

seems to work, thanks :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum