Date: Fri, 5 Oct 2007 00:53:22 -0400 From: "Naram Qashat" <cyberbotx@cyberbotx.com> To: <edwin@FreeBSD.org>, "Maho NAKATA" <chat95@mac.com> Cc: freebsd-ports-bugs@FreeBSD.org, openoffice@FreeBSD.org Subject: Re: ports/116906: [PATCH] editors/openoffice.org-2: Properly set Java versions allowed Message-ID: <15de01c8070b$a7fe8890$0f02000a@metroid> References: <200710042302.l94N21WS091068@freefall.freebsd.org> <20071005.095423.48510680.chat95@mac.com>
next in thread | previous in thread | raw e-mail | index | archive | help
The problem was that _JAVA_VERSION (from bsd.java.bk) was being set to "1.1 1.2 1.3 1.4 1.5 1.6" even though the Makefile for OpenOffice.org says JAVA_VERSION should be "1.4 1.5", and the reason is because USE_JAVA was before the include of bsd.port.pre.mk. I did have diablo-jdk15 installed, but OpenOffice.org won't compile with it, nor will it compile with JDK 1.6, which the port was trying to use before moving USE_JAVA. Moving USE_JAVA corrected the problem with _JAVA_VERSION so it would be properly set to "1.4 1.5" like it should, and let me use the jdk15 port as opposed to jdk16 or diablo-jdk15. Now, I don't know if this means the port should also be modified to not try to use the "freebsd" version but instead only work with the "bsdjava" version. I'll leave that up to you. But I experienced OpenOffice.org refusing to finish it's build with the "freebsd" diablo-jdk15 port installed. Thanks, Naram Qashat ----- Original Message ----- From: "Maho NAKATA" <chat95@mac.com> To: <edwin@FreeBSD.org> Cc: <freebsd-ports-bugs@FreeBSD.org>; <openoffice@FreeBSD.org> Sent: Thursday, October 04, 2007 8:54 PM Subject: Re: ports/116906: [PATCH] editors/openoffice.org-2: Properly set Java versions allowed > From: edwin@FreeBSD.org > Subject: Re: ports/116906: [PATCH] editors/openoffice.org-2: Properly set Java versions allowed > Date: Thu, 04 Oct 2007 23:02:01 +0000 (GMT) > > > Synopsis: [PATCH] editors/openoffice.org-2: Properly set Java versions allowed > > > > Responsible-Changed-From-To: freebsd-ports-bugs->openoffice > > Responsible-Changed-By: edwin > > Responsible-Changed-When: Thu Oct 4 23:02:00 UTC 2007 > > Responsible-Changed-Why: > > Over to maintainer (via the GNATS Auto Assign Tool) > > > > http://www.freebsd.org/cgi/query-pr.cgi?pr=116906 > > I don't object for committing your patch but, I'm not clear about your patch. > > I tried by > > # mv /usr/local/diablo-jdk1.5.0 /usr/local/diablo-jdk1.5.0_ > root# make > ===> openoffice.org-2.3.0_1 depends on file: /usr/local/diablo-jdk1.5.0/bin/java - not found > ===> Verifying install for /usr/local/diablo-jdk1.5.0/bin/java in /usr/ports/java/diablo-jdk15 > ===> diablo-jdk-1.5.0.07.01_7 : > Because of licensing restrictions, you must fetch the distribution > manually. > > Please open http://java.sun.com/javase/downloads/index.jsp > in a web browser and follow the "Download" link for > "JDK US DST Timezone Update Tool - 1.2.2" to obtain the > time zone update file, tzupdater-1_2_2-2007g.zip. > > .*** Error code 1 > > Stop in /work/cvsup/ports/java/diablo-jdk15. > *** Error code 1 > > Stop in /work/ports/editors/openoffice.org-2. > > > It means that JDK 1.5 is properly selected for FreeBSD 6, or I'm missing something? > > > _______________________________________________ > freebsd-ports-bugs@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs > To unsubscribe, send any mail to "freebsd-ports-bugs-unsubscribe@freebsd.org" > > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.488 / Virus Database: 269.14.0/1048 - Release Date: 10/3/2007 8:22 PM > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15de01c8070b$a7fe8890$0f02000a>