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

Reply via email to