public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [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

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