Quick search of the gentoo forums came up with this:
http://forums.gentoo.org/viewtopic.php?t=130729&highlight=db+gcj
http://forums.gentoo.org/viewtopic.php?t=137967&highlight=db+gcj

There are about three different suggestions there to fix it:
1. "emerge portage"
2. USE="java" emerge gcc
3. java-config --set-system-vm=blackdown-jdk-1.4.1

good luck.

William Page

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> On Behalf Of toughguy
> Sent: Sunday, May 09, 2004 11:08 AM
> To: [EMAIL PROTECTED]
> Subject: [uug] Gentoo install: "emerge system" problem
> 
>   I'm in the middle of installing Gentoo on my iBook, (at the end of step
> 6
>  of
>   12, according to the online handbook) and I'm getting stuck. I'm in the
>   middle of emerge system, it's trying to emerge db-4.1.25_p1-r3 It fails
>   saying:
>   ...
>   checking for gcj ... gcj -C
>   checking if gcj -C works... configure: error: The Java compiler gcj -C
>   failed (see config.log, check the CLASSPATH?)
> 
>   !!! ERROR: sys-libs/db-4.1.25_p1-r3 failed.
>   !!! Function src_compile, Link 95, Exitcode 1
>   !!! (no error message)
> 
>   The config log reports:
>   ...
>   configure:9720: gcj -C Test.java
>   Test.java:0: Cazn't find default package 'java.lang'. Check the
> CLASSPATH
>   envirnment variable and the access to the archives
>   1 error
>   configure: 9723: $? = 1
>   configure: 9727: error: The java compiler gcj -C failed (see config.log,
>   check the CLASSPATH?)
>   ...
> 
> #  echo $CLASSPATH
>     -returns a blank line
> 
>  I found that db-4.1.25_p1-r3 has issues compiling wth Use=java. I want to
> be
>  able to compile java programs in gentoo. The use definitions list seemed
> to
>  imply that if I didn't have use=java set, I wouldn't be able to compile
> java
>  programs.
> 
>  1) Is this something I can unset for now, and make work later on?
>  2) If I want to just compile db-4.1.25_p1-r3 without java support, but
> the
>  rest with,  could I run:
>      # emerge -Java db-4.1.25_p1-r3 (or something?)
>      # emerge system
> 
> Thanks a ton!
> 
>   ~Michael Moore
> 
> 
> 
> 
> 
> 
> 
> ____________________
> BYU Unix Users Group
> http://uug.byu.edu/
> ___________________________________________________________________
> List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list
> 
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.659 / Virus Database: 423 - Release Date: 4/15/2004
> 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.659 / Virus Database: 423 - Release Date: 4/15/2004
 


____________________
BYU Unix Users Group
http://uug.byu.edu/
___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to