On May 9, 2004, at 11:07 AM, toughguy wrote: <snip>
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
The USE flags in Gentoo merely indicate what support you want compiled into programs by default. It definitely will not keep you from compiling java programs, but it may keep you from compiling java programs using gcc. You could still compile them to .class files using a JDK of your choice. If you really want/need GCJ support, do the following:
# USE="-java" emerge system
# USE="java" emerge gcc
This will require you to compile gcc twice, but it should fix your problem.
Good luck.
Grant
____________________
BYU Unix Users Group http://uug.byu.edu/ ___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list
