Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 32992 - Java-Config unable to find jc_options
Summary: Java-Config unable to find jc_options
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 31468
  Show dependency tree
 
Reported: 2003-11-08 03:03 UTC by Robert Führicht
Modified: 2003-11-08 08:54 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Führicht 2003-11-08 03:03:57 UTC
Java-Config complains about missing jc_options module, as you can see it *is*
missing, there should be some symlinks or something, or java-config should be
using Python 2.3 Sitepackages.

$ ls /usr/lib/python2.2/site-packages/java_config/

$ ls /usr/lib/python2.3/site-packages/java_config/
cfg_parse.py   __init__.py   jc_iface.py   jc_options.py
cfg_parse.pyc  __init__.pyc  jc_iface.pyc  jc_options.pyc

Reproducible: Always
Steps to Reproduce:
1. run java-config

Actual Results:  
$ java-config
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

Expected Results:  
normal java-config output

Temporary workaround:

change 
  #!/usr/bin/env python2.2
to
  #!/usr/bin/env python2.3
Comment 1 Adrian Almenar 2003-11-08 07:25:49 UTC
kloeri@gentoo.org pointed me that using #!/usr/bin/env python2 works with
both python  version, so ill make the change on cvs of java-config.
Comment 2 Adrian Almenar 2003-11-08 08:54:29 UTC
This Change its going to get in java-config 1.1.5.

Thanks.