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

Reply via email to