While emerging /usr/portage/app-office/openoffice/openoffice-1.0.1-r1.ebuild : * This ebuild has only been tested with the blackdown port of * java. If you use another java implementation, it could fail * horribly, so please merge the blackdown-jdk and set it as * system VM before proceeding: * * # emerge blackdown-jdk * # java-config --set-system-vm=blackdown-jdk-1.3.1 * # env-update * # source /etc/profile * * At the time of writing, this was version 1.3.1, so please * adjust the version according to the version installed in * /opt. * * If you however want to test another JDK (not officially supported), * you could do the following: * * # export FORCE_JAVA=yes * * dev-java/blackdown-jdk Latest version available: 1.3.1-r7 Latest version installed: 1.3.1-r7 Homepage: http://www.blackdown.org Description: Blackdown Java Development Kit 1.3.1 * dev-java/blackdown-jre Latest version available: 1.3.1-r7 Latest version installed: 1.3.1-r7 Homepage: http://www.blackdown.org Description: Blackdown Java Runtime Environment 1.3.1 # java-config --set-system-vm=blackdown-jdk-1.3.1 blackdown-jdk-1.3.1 not found # java-config --set-system-vm=blackdown-jdk-1.3.1-r7 blackdown-jdk-1.3.1-r7 not found # java-config --set-system-vm=blackdown-jre-1.3.1 Now using Blackdown JRE 1.3.1 (/etc/env.d/java/20blackdown-jre-1.3.1) Note that I personally don't know the difference between a JDK and JRE. I am not java-literate. After performing the rest of the suggested commands, ebuild of openoffice still fails, and gives me the exact same suggetsions about blackdown. Errors at end: !!! ERROR: The ebuild did not complete successfully. !!! Function pkg_setup, Line 94, Exitcode 0 !!! (no error message)
** This is gentoo 1.4_rc1, I failed to change it from the default 1.2 at first. Corrected. **
A user on freenode.net #gentoo walked me through something which fixed things for him/her, I tried them and the compile and install just completed successfully. Unfortunately for now I can only say this worked on gentoo 1.2, the 1.4_rc1 box at work is a far, far slower system. But I'll post updates here. I'm expecting the person who helped me to go ahead and post here what was needed to fix things.
I'm having the same exact problem on 1.4rc1.
*** Bug 9635 has been marked as a duplicate of this bug. ***
I had this problem with openoffice too. You need the jdk to emerge openoffice. I worked around it by creating the file /etc/env.d/java/20blackdown-jdk-1.3.1 with these contents (which I got from someone else): # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author: Karl Trygve Kalleberg # Maintainer: Tools Team <tools@gentoo.org> # $Header: /home/cvsroot/gentoo-x86/dev-java/blackdown-jdk/files/blackdown-jdk-1.3.1,v 1.7 2002/07/16 21:52:28 karltk Exp $ VERSION="Blackdown JDK 1.3.1" JAVA_HOME=/opt/blackdown-jdk-1.3.1 CLASSPATH=/opt/blackdown-jdk-1.3.1/jre/lib/rt.jar JDK_HOME=/opt/blackdown-jdk-1.3.1 JAVAC=${JAVA_HOME}/bin/javac ADDPATH="${JAVA_HOME}/bin:${JAVA_HOME}/jre/bin" ADDLDPATH="/opt/blackdown-jdk-1.3.1/jre/lib/i386/:/opt/blackdown-jdk-1.3.1/jre/lib/i386/native_threads/" MANPATH=/opt/blackdown-jdk-1.3.1/man ENV_VARS="JAVA_HOME CLASSPATH JDK_HOME JAVAC ADDPATH ADDLDPATH MANPATH" then run java-config as recommended and oo should emerge fine.
this isn't an OOo issue, this is an issue with the blackdown ebuild. This also isn't an issue anymore