Gentoo Archives: gentoo-user

From: Michael Sullivan <michael@××××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] java-config issues
Date: Mon, 07 Nov 2005 18:56:50
Message-Id: 1131389103.10217.0.camel@camille.espersunited.com
In Reply to: [gentoo-user] java-config issues by James
1 On Mon, 2005-11-07 at 18:20 +0000, James wrote:
2 > Hello,
3 >
4 > >Top-posting filter avoidance on gmane
5 > ->ignore line
6 >
7 > When performing a routine update
8 > (after emerge sync)
9 > I ran into a problem with java-config.
10 >
11 > emerge -uDp listed about 8 packages for update.
12 >
13 >
14 > Problem
15 > <snip>
16 > md5 src_uri ;-) php-4.4.0.tar.bz2
17 > md5 src_uri ;-) php-4.3.6-includepath.diff
18 > md5 src_uri ;-) php-pcrelib-new-secpatch.tar.bz2
19 > Unpacking source
20 > If you have both freetds and
21 > mssql in your USE flags,
22 > parts of PHP
23 > may not behave correctly, or
24 > may give strange warnings.
25 > You have been warned! It's recommended
26 > that you pick ONE of them.
27 > For sybase
28 > support, chose 'freetds'.
29 > For mssql support choose 'mssql'.
30 > Unpacking php-4.4.0.tar.bz2 to
31 > /var/tmp/portage/php-4.4.0-r4/work
32 > uclibctoolize() is depreciated,
33 > please just use elibtoolize()
34 > Running elibtoolize in: php-4.4.0
35 > Applying portage-1.4.1.patch ...
36 > Applying sed-1.4.3.patch ...
37 > Applying uclibc-conf-1.2.0.patch ...
38 > Applying php4.4.0-pspell-ext-segf.patch ...
39 > Applying php4.4.0-gd_safe_mode.patch ...
40 > Applying php4.4.0-curl_safemode.patch ...
41 > Applying php4.4.0-globals_overwrite.patch ...
42 > Applying php4.4.0-phpinfo_xss.patch ...
43 > Applying php4.4.0-fopen_wrappers.patch ...
44 > Applying php4.4.0-session_save_path-segf.patch ...
45 > > Unpacking php-pcrelib-new-secpatch.tar.bz2
46 > to / var/tmp/portage/php-4.4.0-r4/work
47 > Applying php4.4.0-pcre-security.patch ...
48 > [ ok ]
49 > Updating bundled PCRE library
50 > > Source unpacked.
51 > Traceback (most recent call last)
52 > File "/usr/bin/java-config", line 14, in ?
53 > from java_config import jc_options
54 > ImportError: No module named java_config
55 > You need to use java-config
56 > to set your JVM to a JDK!
57 >
58 > !!! ERROR: dev-php/php-4.4.0-r4 failed.
59 > !!! Function php-sapi_check_java_config,
60 > Line 201, Exitcode 0
61 > !!! You need to use java-config
62 > to set your JVM to a JDK!
63 >
64 > java-config
65 > Traceback (most recent call last)
66 > File "/usr/bin/java-config", line 14, in ?
67 > from java_config import jc_options
68 > ImportError: No module named java_config
69 > <snip>
70 >
71 > I tried to run /usr/bin/java-config:
72 >
73 > Traceback (most recent call last):
74 > File "/usr/bin/java-config", line 14, in ?
75 > from java_config import jc_options
76 > ImportError: No module named java_config
77 >
78 > I tried to unmerge and then 'emerge php'
79 > <did not fix>
80 >
81 > Looking at the above message I see
82 > 'you have both freetds and mssql in your USE flags'
83 >
84 > I have no idea what freetds is or where it gets set,
85 > as it's not in 'make.conf', but, mysql is set there.
86 >
87 > It looks to me as though I need to
88 > loose 'freetds' so I tried:
89 > USE="-freetds" emerge dev-php/php
90 > <and got this error message>
91 >
92 > Updating bundled PCRE library
93 > Source unpacked.
94 > Traceback (most recent call last)
95 > File "/usr/bin/java-config", line 14, in ?
96 > from java_config import jc_options
97 > ImportError: No module named java_config
98 > You need to use java-config to set your JVM to a JDK!
99 >
100 > Which brings me back to java-config, which is broken.
101 >
102 > Any help or ideas are most welcome.
103 >
104 > James
105
106 I had this problem last week. Running 'python-updater' fixed it.
107
108 --
109 gentoo-user@g.o mailing list

Replies

Subject Author
[gentoo-user] Re: java-config issues James <wireless@×××××××××××.com>