Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 8755 - openoffice-1.0.1-r1 (source) says to use blackdown-jdk , meant jre? Still fails
Summary: openoffice-1.0.1-r1 (source) says to use blackdown-jdk , meant jre? Still fails
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Seth Chandler
URL:
Whiteboard:
Keywords:
: 9635 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-10-04 13:22 UTC by FieldySnuts
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description FieldySnuts 2002-10-04 13:22:04 UTC
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)
Comment 1 FieldySnuts 2002-10-04 13:44:18 UTC
** This is gentoo 1.4_rc1, I failed to change it from the default 1.2 at first.
Corrected. **
Comment 2 FieldySnuts 2002-10-04 19:44:56 UTC
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.
Comment 3 Steven Boothe 2002-10-08 20:28:27 UTC
I'm having the same exact problem on 1.4rc1.
Comment 4 Matthew Kennedy (RETIRED) gentoo-dev 2002-10-25 01:52:42 UTC
*** Bug 9635 has been marked as a duplicate of this bug. ***
Comment 5 Wes Gray 2002-10-25 20:58:28 UTC
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.
Comment 6 Seth Chandler 2002-11-30 14:13:38 UTC
this isn't an OOo issue, this is an issue with the blackdown ebuild.  This 
also isn't an issue anymore