* [gentoo-user] java-config issues
@ 2005-11-07 18:20 James
2005-11-07 18:45 ` Michael Sullivan
0 siblings, 1 reply; 7+ messages in thread
From: James @ 2005-11-07 18:20 UTC (permalink / raw
To: gentoo-user
Hello,
>Top-posting filter avoidance on gmane
->ignore line
When performing a routine update
(after emerge sync)
I ran into a problem with java-config.
emerge -uDp listed about 8 packages for update.
Problem
<snip>
md5 src_uri ;-) php-4.4.0.tar.bz2
md5 src_uri ;-) php-4.3.6-includepath.diff
md5 src_uri ;-) php-pcrelib-new-secpatch.tar.bz2
Unpacking source
If you have both freetds and
mssql in your USE flags,
parts of PHP
may not behave correctly, or
may give strange warnings.
You have been warned! It's recommended
that you pick ONE of them.
For sybase
support, chose 'freetds'.
For mssql support choose 'mssql'.
Unpacking php-4.4.0.tar.bz2 to
/var/tmp/portage/php-4.4.0-r4/work
uclibctoolize() is depreciated,
please just use elibtoolize()
Running elibtoolize in: php-4.4.0
Applying portage-1.4.1.patch ...
Applying sed-1.4.3.patch ...
Applying uclibc-conf-1.2.0.patch ...
Applying php4.4.0-pspell-ext-segf.patch ...
Applying php4.4.0-gd_safe_mode.patch ...
Applying php4.4.0-curl_safemode.patch ...
Applying php4.4.0-globals_overwrite.patch ...
Applying php4.4.0-phpinfo_xss.patch ...
Applying php4.4.0-fopen_wrappers.patch ...
Applying php4.4.0-session_save_path-segf.patch ...
> Unpacking php-pcrelib-new-secpatch.tar.bz2
to / var/tmp/portage/php-4.4.0-r4/work
Applying php4.4.0-pcre-security.patch ...
[ ok ]
Updating bundled PCRE library
> Source unpacked.
Traceback (most recent call last)
File "/usr/bin/java-config", line 14, in ?
from java_config import jc_options
ImportError: No module named java_config
You need to use java-config
to set your JVM to a JDK!
!!! ERROR: dev-php/php-4.4.0-r4 failed.
!!! Function php-sapi_check_java_config,
Line 201, Exitcode 0
!!! You need to use java-config
to set your JVM to a JDK!
java-config
Traceback (most recent call last)
File "/usr/bin/java-config", line 14, in ?
from java_config import jc_options
ImportError: No module named java_config
<snip>
I tried to run /usr/bin/java-config:
Traceback (most recent call last):
File "/usr/bin/java-config", line 14, in ?
from java_config import jc_options
ImportError: No module named java_config
I tried to unmerge and then 'emerge php'
<did not fix>
Looking at the above message I see
'you have both freetds and mssql in your USE flags'
I have no idea what freetds is or where it gets set,
as it's not in 'make.conf', but, mysql is set there.
It looks to me as though I need to
loose 'freetds' so I tried:
USE="-freetds" emerge dev-php/php
<and got this error message>
Updating bundled PCRE library
Source unpacked.
Traceback (most recent call last)
File "/usr/bin/java-config", line 14, in ?
from java_config import jc_options
ImportError: No module named java_config
You need to use java-config to set your JVM to a JDK!
Which brings me back to java-config, which is broken.
Any help or ideas are most welcome.
James
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] java-config issues
2005-11-07 18:20 [gentoo-user] java-config issues James
@ 2005-11-07 18:45 ` Michael Sullivan
2005-11-07 20:19 ` [gentoo-user] " James
0 siblings, 1 reply; 7+ messages in thread
From: Michael Sullivan @ 2005-11-07 18:45 UTC (permalink / raw
To: gentoo-user
On Mon, 2005-11-07 at 18:20 +0000, James wrote:
> Hello,
>
> >Top-posting filter avoidance on gmane
> ->ignore line
>
> When performing a routine update
> (after emerge sync)
> I ran into a problem with java-config.
>
> emerge -uDp listed about 8 packages for update.
>
>
> Problem
> <snip>
> md5 src_uri ;-) php-4.4.0.tar.bz2
> md5 src_uri ;-) php-4.3.6-includepath.diff
> md5 src_uri ;-) php-pcrelib-new-secpatch.tar.bz2
> Unpacking source
> If you have both freetds and
> mssql in your USE flags,
> parts of PHP
> may not behave correctly, or
> may give strange warnings.
> You have been warned! It's recommended
> that you pick ONE of them.
> For sybase
> support, chose 'freetds'.
> For mssql support choose 'mssql'.
> Unpacking php-4.4.0.tar.bz2 to
> /var/tmp/portage/php-4.4.0-r4/work
> uclibctoolize() is depreciated,
> please just use elibtoolize()
> Running elibtoolize in: php-4.4.0
> Applying portage-1.4.1.patch ...
> Applying sed-1.4.3.patch ...
> Applying uclibc-conf-1.2.0.patch ...
> Applying php4.4.0-pspell-ext-segf.patch ...
> Applying php4.4.0-gd_safe_mode.patch ...
> Applying php4.4.0-curl_safemode.patch ...
> Applying php4.4.0-globals_overwrite.patch ...
> Applying php4.4.0-phpinfo_xss.patch ...
> Applying php4.4.0-fopen_wrappers.patch ...
> Applying php4.4.0-session_save_path-segf.patch ...
> > Unpacking php-pcrelib-new-secpatch.tar.bz2
> to / var/tmp/portage/php-4.4.0-r4/work
> Applying php4.4.0-pcre-security.patch ...
> [ ok ]
> Updating bundled PCRE library
> > Source unpacked.
> Traceback (most recent call last)
> File "/usr/bin/java-config", line 14, in ?
> from java_config import jc_options
> ImportError: No module named java_config
> You need to use java-config
> to set your JVM to a JDK!
>
> !!! ERROR: dev-php/php-4.4.0-r4 failed.
> !!! Function php-sapi_check_java_config,
> Line 201, Exitcode 0
> !!! You need to use java-config
> to set your JVM to a JDK!
>
> java-config
> Traceback (most recent call last)
> File "/usr/bin/java-config", line 14, in ?
> from java_config import jc_options
> ImportError: No module named java_config
> <snip>
>
> I tried to run /usr/bin/java-config:
>
> Traceback (most recent call last):
> File "/usr/bin/java-config", line 14, in ?
> from java_config import jc_options
> ImportError: No module named java_config
>
> I tried to unmerge and then 'emerge php'
> <did not fix>
>
> Looking at the above message I see
> 'you have both freetds and mssql in your USE flags'
>
> I have no idea what freetds is or where it gets set,
> as it's not in 'make.conf', but, mysql is set there.
>
> It looks to me as though I need to
> loose 'freetds' so I tried:
> USE="-freetds" emerge dev-php/php
> <and got this error message>
>
> Updating bundled PCRE library
> Source unpacked.
> Traceback (most recent call last)
> File "/usr/bin/java-config", line 14, in ?
> from java_config import jc_options
> ImportError: No module named java_config
> You need to use java-config to set your JVM to a JDK!
>
> Which brings me back to java-config, which is broken.
>
> Any help or ideas are most welcome.
>
> James
I had this problem last week. Running 'python-updater' fixed it.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* [gentoo-user] Re: java-config issues
2005-11-07 18:45 ` Michael Sullivan
@ 2005-11-07 20:19 ` James
2005-11-07 20:48 ` Qian Qiao
0 siblings, 1 reply; 7+ messages in thread
From: James @ 2005-11-07 20:19 UTC (permalink / raw
To: gentoo-user
Michael Sullivan <michael <at> espersunited.com> writes:
> > You need to use java-config to set your JVM to a JDK!
> > Which brings me back to java-config, which is broken.
> > Any help or ideas are most welcome.
> I had this problem last week. Running 'python-updater' fixed it.
Well using 'python-updater'
env-update && source /etc/profile && etc-update
and 'emerge -uD world'
everything is fine now.....
Where does one read about python-updater ?
thanks,
James
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Re: java-config issues
2005-11-07 20:19 ` [gentoo-user] " James
@ 2005-11-07 20:48 ` Qian Qiao
2005-11-08 0:41 ` Willie Wong
0 siblings, 1 reply; 7+ messages in thread
From: Qian Qiao @ 2005-11-07 20:48 UTC (permalink / raw
To: gentoo-user
On 11/7/05, James <wireless@tampabay.rr.com> wrote:
> Well using 'python-updater'
> env-update && source /etc/profile && etc-update
> and 'emerge -uD world'
>
> everything is fine now.....
>
> Where does one read about python-updater ?
It was printed on the screen when you update your python package. Did
you do your upgrades through a cron? Or did you do it non-attended?
Please don't do that...
-- Joe
--
There are 3 kinds of people in the world:
Those who can count, and those who can't.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Re: java-config issues
2005-11-07 20:48 ` Qian Qiao
@ 2005-11-08 0:41 ` Willie Wong
2005-11-08 2:00 ` Qian Qiao
0 siblings, 1 reply; 7+ messages in thread
From: Willie Wong @ 2005-11-08 0:41 UTC (permalink / raw
To: gentoo-user
On Mon, Nov 07, 2005 at 08:48:20PM +0000, Qian Qiao wrote:
> On 11/7/05, James <wireless@tampabay.rr.com> wrote:
> > Well using 'python-updater'
> > env-update && source /etc/profile && etc-update
> > and 'emerge -uD world'
> >
> > everything is fine now.....
> >
> > Where does one read about python-updater ?
>
> It was printed on the screen when you update your python package. Did
> you do your upgrades through a cron? Or did you do it non-attended?
>
> Please don't do that...
Can't resist: you left out one option. I do my updates unattended: I
sync, I look at what should be updated, set emerge up to run over
night to update those packages, and go to bed.
BUT! I did set PORT_LOGDIR in /etc/make.conf and I check the next
morning to see if there are any important messages from einfo or
ewarn.
To be honest, I can't quite imagine you staring at the screen for 2
bloody hours the next time you update glibc, or mozilla, or kde...
=D
Back on track for the OP: if you are root of a a box, then it is your
responsibility to make sure you see the warning messages produced from
the emerge.
W
--
I have a mind like a steel...animal catcher thingy.
Sortir en Pantoufles: up 5 days, 1:55
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Re: java-config issues
2005-11-08 0:41 ` Willie Wong
@ 2005-11-08 2:00 ` Qian Qiao
2005-11-08 14:40 ` Allan Gottlieb
0 siblings, 1 reply; 7+ messages in thread
From: Qian Qiao @ 2005-11-08 2:00 UTC (permalink / raw
To: gentoo-user
On 11/8/05, Willie Wong <wwong@princeton.edu> wrote:
> On Mon, Nov 07, 2005 at 08:48:20PM +0000, Qian Qiao wrote:
> > On 11/7/05, James <wireless@tampabay.rr.com> wrote:
> > > Well using 'python-updater'
> > > env-update && source /etc/profile && etc-update
> > > and 'emerge -uD world'
> > >
> > > everything is fine now.....
> > >
> > > Where does one read about python-updater ?
> >
> > It was printed on the screen when you update your python package. Did
> > you do your upgrades through a cron? Or did you do it non-attended?
> >
> > Please don't do that...
>
> Can't resist: you left out one option. I do my updates unattended: I
> sync, I look at what should be updated, set emerge up to run over
> night to update those packages, and go to bed.
>
> BUT! I did set PORT_LOGDIR in /etc/make.conf and I check the next
> morning to see if there are any important messages from einfo or
> ewarn.
>
> To be honest, I can't quite imagine you staring at the screen for 2
> bloody hours the next time you update glibc, or mozilla, or kde...
> =D
Easy enough, pipe the output to a text file.
-- Joe
--
There are 3 kinds of people in the world:
Those who can count, and those who can't.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Re: java-config issues
2005-11-08 2:00 ` Qian Qiao
@ 2005-11-08 14:40 ` Allan Gottlieb
0 siblings, 0 replies; 7+ messages in thread
From: Allan Gottlieb @ 2005-11-08 14:40 UTC (permalink / raw
To: gentoo-user
At Tue, 08 Nov 2005 02:00:41 +0000 Qian Qiao <qian.qiao@gmail.com> wrote:
> On 11/8/05, Willie Wong <wwong@princeton.edu> wrote:
>> On Mon, Nov 07, 2005 at 08:48:20PM +0000, Qian Qiao wrote:
>>
>> Can't resist: you left out one option. I do my updates unattended: I
>> sync, I look at what should be updated, set emerge up to run over
>> night to update those packages, and go to bed.
>>
>> BUT! I did set PORT_LOGDIR in /etc/make.conf and I check the next
>> morning to see if there are any important messages from einfo or
>> ewarn.
>>
>> To be honest, I can't quite imagine you staring at the screen for 2
>> bloody hours the next time you update glibc, or mozilla, or kde...
>
> Easy enough, pipe the output to a text file.
That seems fairly similar to PORT_LOGDIR. I prefer the logdir, since
it splits off the portage messages into a separate file.
allan
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2005-11-08 14:54 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-07 18:20 [gentoo-user] java-config issues James
2005-11-07 18:45 ` Michael Sullivan
2005-11-07 20:19 ` [gentoo-user] " James
2005-11-07 20:48 ` Qian Qiao
2005-11-08 0:41 ` Willie Wong
2005-11-08 2:00 ` Qian Qiao
2005-11-08 14:40 ` Allan Gottlieb
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox