Subject: Openoffice vs. JAVA_HOME (Was: Re: Possible bug found with suse_*-7.3
To: Thomas Klausner <firstname.lastname@example.org>
From: Jaromir Dolecek <email@example.com>
Date: 08/17/2002 15:24:08
The openoffice package now explicitly requires sun-jdk13, so other
jdks installed shouldn't be problem.
HOWEVER, there is problem with JAVA_HOME (I forgot about this, and
remebered when I saw this e-mail)
In revision 1.21 of pkgsrc/misc/openoffice/Makefile, the pkg
was changed to use $JAVA_HOME for root of used jdk. This breaks
bigtime when people have JAVA_HOME set in their environment,
particularily if it points to different JDK. My change (in rev. 1.20)
used $_JAVA_HOME, which is internal bsd.pkg.mk variable
pointing to root of package's preferred JDK.
If you are having problems building openoffice, try unsetting
JAVA_HOME in your environment.
I think that correct thing to do is to either use $_JAVA_HOME
in misc/openoffice/Makefile, or change the
in bsd.pkg.mk to
i.e. override the values passed from environment.
I'm not a pkgsrc person tho, so I don't know which one of these
is more correct. However, the current way (in rev 1.21 of openoffice
Makefile) is _broken_.
Thomas Klausner wrote:
> On Fri, Aug 16, 2002 at 02:33:21PM -0400, J. D. Fisher & wrote:
> > By the way, I tried to compile openoffice-0.0.0.641nb1 and got this:
> > ===> Building for openoffice-0.0.0.641nb1
> > /usr/X11R6/bin/Xvfb :2 &
> > ulimit -d `ulimit -H -d`;tcsh -c "setenv DISPLAY '':2''; cd
> > /usr/local/src/pkgsrcstuff/pkgsrc/misc/openoffice/work/oo_641_src/config_office/
> > .. && ./bootstrap && source *.Set && dmake"
> > ./bootstrap: Command not found.
> > *** Error code 1
> Make sure that your pkgsrc is up-to-date, and that you have sun-jdk13
> installed; you might have to deinstall other jres and jdks temporarily
> for the build.
> At least, having other jdks installed (like th jdk-1.8 one) seems to
> be a common reason for failing.
> Thomas Klausner - firstname.lastname@example.org
> Main Rule of Usenet: Never argue with idiots. They drag you down to
> their level, then beat you with experience.
Jaromir Dolecek <jdolecek@NetBSD.org> http://www.NetBSD.org/
-=- We should be mindful of the potential goal, but as the tantric -=-
-=- Buddhist masters say, ``You may notice during meditation that you -=-
-=- sometimes levitate or glow. Do not let this distract you.'' -=-