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