On Wed, Jun 22, 2005 at 04:29:54PM -0700, Zac Medico wrote:
> Matias Grana wrote:
> > hi;
> > As a result of an  'emerge -uD world',  I've run across this error while
> > emerging gnu-classpath.
> > 
> > ----------------------------------------------
> > 
> >>>>Unpacking source...
> >>>>Unpacking classpath-0.14.tar.gz to 
> >>>>/var/tmp/portage/gnu-classpath-0.14/work
> >>>>Source unpacked.
> > 
> > [.... snip ....]
> > checking for gcj... no
> > checking for jikes... no
> > checking for kJC... no
> > checking for gcjx... no
> > checking for ecj... no
> > configure: cannot find javac, try --with-gcj, --with-jikes, --with-kjc, or 
> > --with-gcjx
> > 
> > !!! Please attach the config.log to your bug report:
> > !!! /var/tmp/portage/gnu-classpath-0.14/work/classpath-0.14/config.log
> > 
> > !!! ERROR: dev-java/gnu-classpath-0.14 failed.
> > !!! Function econf, Line 485, Exitcode 0
> > !!! econf failed
> > !!! If you need support, post the topmost build error, NOT this status 
> > message.
> > ----------------------------------------------
> > 
> > The file /var/tmp/portage/gnu-classpath-0.14/work/classpath-0.14/config.log
> > is too large to send it to the list (of course, I can send it if needed).
> > Where should I look for a hint?
> > 
> > TIA,
> > Matias
> 
> 
> You need a java compiler.  If you have a jdk like blackdown-jdk or sun-jdk 
> then you can use java-config to choose  which one you want.  You can "emerge 
> jikes" to get just a compiler. For gcj, you need to remerge gcc with USE=gcj 
> enabled.  Almost any one of these compilers should work.
> 
> Zac
> -- 
> gentoo-user@gentoo.org mailing list

But I already had blackdown-jdk:

mati(rojo)~$ java-config -c
/opt/blackdown-jdk-1.4.2.02/bin/javac
mati(rojo)~$ java-config -j
/opt/blackdown-jdk-1.4.2.02/bin/jar
mati(rojo)~$ java-config -O
/opt/blackdown-jdk-1.4.2.02
mati(rojo)~$ java-config -o

Except that it seems I don't have a JRE configured. Might this be the
problem? I have  blackdown-jre-1.4.2.01  emerged, but it doesn't appear
at the "java-config -o" command.

Thanks for the answer, Zac,
Matias
-- 
gentoo-user@gentoo.org mailing list

Reply via email to