From owner-freebsd-java Mon Oct 15 1:21: 8 2001 Delivered-To: freebsd-java@freebsd.org Received: from gnuppy.monkey.org (cx739861-a.dt1.sdca.home.com [24.5.164.61]) by hub.freebsd.org (Postfix) with ESMTP id D83F937B408 for ; Mon, 15 Oct 2001 01:21:05 -0700 (PDT) Received: from billh by gnuppy.monkey.org with local (Exim 3.32 #1 (Debian)) id 16FAzC-0002VY-00; Sat, 15 Dec 2001 01:20:02 -0800 Date: Sat, 15 Dec 2001 01:20:02 -0800 To: Greg Lewis Cc: freebsd-java@freebsd.org, Bill Huey Subject: Re: 1.3.1 patchset 5 Message-ID: <20011215012002.A9630@gnuppy> References: <20011014154814.A38579@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20011014154814.A38579@misty.eyesbeyond.com> User-Agent: Mutt/1.3.23i From: Bill Huey Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sun, Oct 14, 2001 at 03:48:14PM +0930, Greg Lewis wrote: > 5. The native threads subsystem was redone and is closer to working > (Bill Huey). Hello, I'd like to encourage folks to help me find a particular SEGV running SortDemo if anybody's got free cycles. The raw threading seems to work reliably so far but my hand crafted test suite is limited to things that are free running and hopefully I'll be able to checkout condition variable, mutexes and various kinds of IO while I continue to develop my test program. bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Oct 16 3:47:33 2001 Delivered-To: freebsd-java@freebsd.org Received: from ipcard.iptcom.net (ipcard.iptcom.net [212.9.224.5]) by hub.freebsd.org (Postfix) with ESMTP id 2632937B40C for ; Tue, 16 Oct 2001 03:47:27 -0700 (PDT) Received: from vega.vega.com (h55.229.dialup.iptcom.net [212.9.229.55]) by ipcard.iptcom.net (8.9.3/8.9.3) with ESMTP id NAA61997; Tue, 16 Oct 2001 13:45:01 +0300 (EEST) (envelope-from max@vega.com) Received: (from max@localhost) by vega.vega.com (8.11.6/8.11.3) id f9GAiUj49973; Tue, 16 Oct 2001 13:44:30 +0300 (EEST) (envelope-from sobomax@FreeBSD.org) From: Maxim Sobolev Message-Id: <200110161044.f9GAiUj49973@vega.vega.com> Subject: Strange errors with jdk13 patchlevel 5 To: java@FreeBSD.org Date: Tue, 16 Oct 2001 13:43:50 +0300 (EEST) Cc: glewis@eyesbeyond.com X-Mailer: ELM [version 2.5 PL5] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, I found that when I'm trying to run any Java GUI application I have the following error messages: Warning: translation table syntax error: Unknown keysym name: osfActivate Warning: ... found while parsing ':osfActivate: ManagerParentAct ivate()' Warning: String to TranslationTable conversion encountered errors Warning: translation table syntax error: Unknown keysym name: osfBeginLine Warning: ... found while parsing ':osfBeginLine: ManagerGadgetTra verseHome()' Warning: String to TranslationTable conversion encountered errors Warning: translation table syntax error: Unknown keysym name: osfHelp Warning: ... found while parsing ':osfHelp: ManagerG adgetHelp()' Warning: String to TranslationTable conversion encountered errors Warning: translation table syntax error: Unknown keysym name: osfActivate Warning: ... found while parsing ':osfActivate: DrawingAreaInput() Manag erParentActivate()' Warning: String to TranslationTable conversion encountered errors Warning: translation table syntax error: Unknown keysym name: osfUp Warning: ... fo [and so on....] These errors aren't fatal, but I really would like to see whatever problem causing them to be fixed before updating jdk13 FreeBSD port. Thanks! -Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Oct 16 13:23:53 2001 Delivered-To: freebsd-java@freebsd.org Received: from itouch.co.nz (itouch.co.nz [203.99.66.188]) by hub.freebsd.org (Postfix) with ESMTP id 1F77537B405; Tue, 16 Oct 2001 13:23:47 -0700 (PDT) Received: from jonc.itouch ([192.168.2.21]) by itouch.co.nz with esmtp (Exim 3.33 #1) id 15tak2-000Ir2-00; Wed, 17 Oct 2001 09:23:10 +1300 Received: (from jonc@localhost) by jonc.itouch (8.11.6/8.11.6) id f9GKNAx63470; Wed, 17 Oct 2001 09:23:10 +1300 (NZDT) (envelope-from jonc) Date: Wed, 17 Oct 2001 09:23:10 +1300 From: Jonathan Chen To: Maxim Sobolev Cc: java@freebsd.org, glewis@eyesbeyond.com Subject: Re: Strange errors with jdk13 patchlevel 5 Message-ID: <20011017092310.C63236@jonc.itouch> References: <200110161044.f9GAiUj49973@vega.vega.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200110161044.f9GAiUj49973@vega.vega.com>; from sobomax@freebsd.org on Tue, Oct 16, 2001 at 01:43:50PM +0300 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, Oct 16, 2001 at 01:43:50PM +0300, Maxim Sobolev wrote: > Hi, > > I found that when I'm trying to run any Java GUI application > I have the following error messages: > > Warning: translation table syntax error: Unknown keysym name: osfActivate > Warning: ... found while parsing ':osfActivate: ManagerParentAct > ivate()' [...] I'm running the Swing demos and some Swing apps I've written using jdk131p5, and I don't get those errors. Perhaps some config entries you've added for for Motif bindings? Cheers. -- Jonathan Chen ---------------------------------------------------------------------- Don't worry about avoiding temptation, as you grow older, it starts avoiding you. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Oct 16 14:46:37 2001 Delivered-To: freebsd-java@freebsd.org Received: from itouch.co.nz (itouch.co.nz [203.99.66.188]) by hub.freebsd.org (Postfix) with ESMTP id 2EE1737B40E for ; Tue, 16 Oct 2001 14:46:33 -0700 (PDT) Received: from jonc.itouch ([192.168.2.21]) by itouch.co.nz with esmtp (Exim 3.33 #1) id 15tc2j-000Jqc-00; Wed, 17 Oct 2001 10:46:33 +1300 Received: (from jonc@localhost) by jonc.itouch (8.11.6/8.11.6) id f9GLkWV64295; Wed, 17 Oct 2001 10:46:32 +1300 (NZDT) (envelope-from jonc) Date: Wed, 17 Oct 2001 10:46:32 +1300 From: Jonathan Chen To: Greg Lewis Cc: freebsd-java@freebsd.org Subject: Re: 1.3.1 patchset 5 Message-ID: <20011017104632.D64041@jonc.itouch> References: <20011014154814.A38579@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011014154814.A38579@misty.eyesbeyond.com>; from glewis@eyesbeyond.com on Sun, Oct 14, 2001 at 03:48:14PM +0930 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sun, Oct 14, 2001 at 03:48:14PM +0930, Greg Lewis wrote: [...] > I recommend people switch to using this version if they want to use a > native JDK 1.3.1. > > I've sent in an update for the FreeBSD JDK 1.3.1 native port. The > impatient can find it at http://www.freebsd.org/cgi/query-pr.cgi?pr=31257 What about adding a dependancy on the RUN_DEPENDS for URW fonts? The Swing demos in the the jdk1.3.1/demo/jfc directories complain if this hasn't been installed. Cheers. -- Jonathan Chen ---------------------------------------------------------------------- "Lots of folks confuse bad management with destiny" - Kin Hubbard To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Oct 17 0:44:51 2001 Delivered-To: freebsd-java@freebsd.org Received: from ipcard.iptcom.net (ipcard.iptcom.net [212.9.224.5]) by hub.freebsd.org (Postfix) with ESMTP id DBD0737B408 for ; Wed, 17 Oct 2001 00:44:41 -0700 (PDT) Received: from vega.vega.com (h105.229.dialup.iptcom.net [212.9.229.105]) by ipcard.iptcom.net (8.9.3/8.9.3) with ESMTP id KAA25965; Wed, 17 Oct 2001 10:43:43 +0300 (EEST) (envelope-from sobomax@FreeBSD.org) Received: from FreeBSD.org (big_brother.vega.com [192.168.1.1]) by vega.vega.com (8.11.6/8.11.3) with ESMTP id f9H7hBU53218; Wed, 17 Oct 2001 10:43:11 +0300 (EEST) (envelope-from sobomax@FreeBSD.org) Message-ID: <3BCD3706.D5134565@FreeBSD.org> Date: Wed, 17 Oct 2001 10:45:10 +0300 From: Maxim Sobolev Organization: Vega International Capital X-Mailer: Mozilla 4.78 [en] (Windows NT 5.0; U) X-Accept-Language: en,uk,ru MIME-Version: 1.0 To: Jonathan Chen Cc: java@FreeBSD.org, glewis@eyesbeyond.com Subject: Re: Strange errors with jdk13 patchlevel 5 References: <200110161044.f9GAiUj49973@vega.vega.com> <20011017092310.C63236@jonc.itouch> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Jonathan Chen wrote: > On Tue, Oct 16, 2001 at 01:43:50PM +0300, Maxim Sobolev wrote: > > Hi, > > > > I found that when I'm trying to run any Java GUI application > > I have the following error messages: > > > > Warning: translation table syntax error: Unknown keysym name: osfActivate > > Warning: ... found while parsing ':osfActivate: ManagerParentAct > > ivate()' > [...] > > I'm running the Swing demos and some Swing apps I've written using > jdk131p5, and I don't get those errors. Perhaps some config entries > you've added for for Motif bindings? No, I have not altered any default settings. Perhaps it has something to do with the fact that I am using XFree86-4, because I do not see such errors on another system with XFree86-3.3.6 installed. -Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Oct 17 13:26: 5 2001 Delivered-To: freebsd-java@freebsd.org Received: from itouch.co.nz (itouch.co.nz [203.99.66.188]) by hub.freebsd.org (Postfix) with ESMTP id 7EB3A37B407; Wed, 17 Oct 2001 13:26:01 -0700 (PDT) Received: from jonc.itouch ([192.168.2.21]) by itouch.co.nz with esmtp (Exim 3.33 #1) id 15txGK-0009bx-00; Thu, 18 Oct 2001 09:26:00 +1300 Received: (from jonc@localhost) by jonc.itouch (8.11.6/8.11.6) id f9HKPKi69374; Thu, 18 Oct 2001 09:25:20 +1300 (NZDT) (envelope-from jonc) Date: Thu, 18 Oct 2001 09:25:20 +1300 From: Jonathan Chen To: Maxim Sobolev Cc: java@freebsd.org, glewis@eyesbeyond.com Subject: Re: Strange errors with jdk13 patchlevel 5 Message-ID: <20011018092520.B69143@jonc.itouch> References: <200110161044.f9GAiUj49973@vega.vega.com> <20011017092310.C63236@jonc.itouch> <3BCD3706.D5134565@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3BCD3706.D5134565@FreeBSD.org>; from sobomax@freebsd.org on Wed, Oct 17, 2001 at 10:45:10AM +0300 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, Oct 17, 2001 at 10:45:10AM +0300, Maxim Sobolev wrote: > Jonathan Chen wrote: > > > On Tue, Oct 16, 2001 at 01:43:50PM +0300, Maxim Sobolev wrote: > > > Hi, > > > > > > I found that when I'm trying to run any Java GUI application > > > I have the following error messages: > > > > > > Warning: translation table syntax error: Unknown keysym name: osfActivate > > > Warning: ... found while parsing ':osfActivate: ManagerParentAct > > > ivate()' > > [...] > > > > I'm running the Swing demos and some Swing apps I've written using > > jdk131p5, and I don't get those errors. Perhaps some config entries > > you've added for for Motif bindings? > > No, I have not altered any default settings. Perhaps it has something to do with the > fact that I am using XFree86-4, because I do not see such errors on another system > with XFree86-3.3.6 installed. Strange. I'm running XFree88-4.1.0 as well. Has your /usr/X11R6/lib/X11/XKeysymDB been changed? Cheers. -- Jonathan Chen ---------------------------------------------------------------------- Build a man a fire, and he'll be warm for a day. Set a man on fire, and he'll be warm for the rest of his life. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Oct 17 13:48:41 2001 Delivered-To: freebsd-java@freebsd.org Received: from h24-67-76-240.cg.shawcable.net (h24-67-76-240.cg.shawcable.net [24.67.76.240]) by hub.freebsd.org (Postfix) with ESMTP id 55E8337B401 for ; Wed, 17 Oct 2001 13:48:39 -0700 (PDT) Received: from cirp.org (localhost [127.0.0.1]) by h24-67-76-240.cg.shawcable.net (8.11.3/8.11.3) with ESMTP id f9HKmUD01328 for ; Wed, 17 Oct 2001 14:48:31 -0600 (MDT) (envelope-from gtf@cirp.org) Message-Id: <200110172048.f9HKmUD01328@h24-67-76-240.cg.shawcable.net> Date: Wed, 17 Oct 2001 14:48:29 -0600 (MDT) From: "Geoffrey T. Falk" Subject: Getting 1.3.1 to compile To: freebsd-java@FreeBSD.ORG In-Reply-To: MIME-Version: 1.0 Content-Type: TEXT/plain; CHARSET=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Sorry if this is a dumb question, but I was taught in school that there is no such thing as a dumb question ;) Where can I get a tarball for the jsdk1.3.1 that will actually compile on FreeBSD 4.3? I tried to build the linux port under /usr/ports/java/jdk13, but found that the linux tarball from Sun had lots of files moved from their original locations (due to path length restrictions?)---Shouldn't the FreeBSD patch script be able to fix this? I tried to put all the files back, but seemingly some were still missing. Thanks Geoffrey To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Oct 17 14: 8: 7 2001 Delivered-To: freebsd-java@freebsd.org Received: from itouch.co.nz (itouch.co.nz [203.99.66.188]) by hub.freebsd.org (Postfix) with ESMTP id 0D17C37B405 for ; Wed, 17 Oct 2001 14:08:05 -0700 (PDT) Received: from jonc.itouch ([192.168.2.21]) by itouch.co.nz with esmtp (Exim 3.33 #1) id 15txv1-000A5g-00; Thu, 18 Oct 2001 10:08:03 +1300 Received: (from jonc@localhost) by jonc.itouch (8.11.6/8.11.6) id f9HL83069607; Thu, 18 Oct 2001 10:08:03 +1300 (NZDT) (envelope-from jonc) Date: Thu, 18 Oct 2001 10:08:03 +1300 From: Jonathan Chen To: "Geoffrey T. Falk" Cc: freebsd-java@freebsd.org Subject: Re: Getting 1.3.1 to compile Message-ID: <20011018100803.C69143@jonc.itouch> References: <200110172048.f9HKmUD01328@h24-67-76-240.cg.shawcable.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200110172048.f9HKmUD01328@h24-67-76-240.cg.shawcable.net>; from gtf@cirp.org on Wed, Oct 17, 2001 at 02:48:29PM -0600 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, Oct 17, 2001 at 02:48:29PM -0600, Geoffrey T. Falk wrote: > Sorry if this is a dumb question, but I was taught in school that there > is no such thing as a dumb question ;) > > Where can I get a tarball for the jsdk1.3.1 that will actually compile > on FreeBSD 4.3? > > I tried to build the linux port under /usr/ports/java/jdk13, but found > that the linux tarball from Sun had lots of files moved from their > original locations (due to path length restrictions?)---Shouldn't the > FreeBSD patch script be able to fix this? What sort of errors are you getting? The port has been upgraded to patchlevel5 recently; which builds fine. Make sure you've got the latest version of the port. -- Jonathan Chen ---------------------------------------------------------------------- "You can get farther with a kind word and a gun than you can with a kind word alone" - Al Capone To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Oct 17 22: 4:44 2001 Delivered-To: freebsd-java@freebsd.org Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by hub.freebsd.org (Postfix) with ESMTP id 7E92D37B407; Wed, 17 Oct 2001 22:04:40 -0700 (PDT) Received: from [166.70.2.194] (helo=misty.eyesbeyond.com) by mgr2.xmission.com with esmtp (Exim 3.22 #1) id 15u5ME-0002Ax-00; Wed, 17 Oct 2001 23:04:39 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id f9I54DS53961; Thu, 18 Oct 2001 14:34:13 +0930 (CST) (envelope-from glewis) Date: Thu, 18 Oct 2001 14:34:13 +0930 From: Greg Lewis To: Jonathan Chen Cc: Maxim Sobolev , java@FreeBSD.ORG Subject: Re: Strange errors with jdk13 patchlevel 5 Message-ID: <20011018143412.A53811@misty.eyesbeyond.com> References: <200110161044.f9GAiUj49973@vega.vega.com> <20011017092310.C63236@jonc.itouch> <3BCD3706.D5134565@FreeBSD.org> <20011018092520.B69143@jonc.itouch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011018092520.B69143@jonc.itouch>; from jonathan.chen@itouch.co.nz on Thu, Oct 18, 2001 at 09:25:20AM +1300 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, Oct 18, 2001 at 09:25:20AM +1300, Jonathan Chen wrote: > On Wed, Oct 17, 2001 at 10:45:10AM +0300, Maxim Sobolev wrote: > > No, I have not altered any default settings. Perhaps it has something to do with the > > fact that I am using XFree86-4, because I do not see such errors on another system > > with XFree86-3.3.6 installed. > > Strange. I'm running XFree88-4.1.0 as well. Has your > /usr/X11R6/lib/X11/XKeysymDB been changed? Same here too unfortunately. I installed the jdk directly from ports on my work machine, which runs X 4.1.0, and didn't get those errors. If anyone else is getting the same errors as Maxim can you please report: . XFree86 version. . open-motif, open-motif-devel or both installed. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Phone : (801) 765 1887 Information Technology Web : http://www.eyesbeyond.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Oct 17 23:42:36 2001 Delivered-To: freebsd-java@freebsd.org Received: from h24-67-76-240.cg.shawcable.net (h24-67-76-240.cg.shawcable.net [24.67.76.240]) by hub.freebsd.org (Postfix) with ESMTP id 76A7437B403 for ; Wed, 17 Oct 2001 23:42:31 -0700 (PDT) Received: from cirp.org (localhost [127.0.0.1]) by h24-67-76-240.cg.shawcable.net (8.11.3/8.11.3) with ESMTP id f9I6gSD24636 for ; Thu, 18 Oct 2001 00:42:29 -0600 (MDT) (envelope-from gtf@cirp.org) Message-Id: <200110180642.f9I6gSD24636@h24-67-76-240.cg.shawcable.net> Date: Thu, 18 Oct 2001 00:42:27 -0600 (MDT) From: "Geoffrey T. Falk" Subject: Re: Getting 1.3.1 to compile To: freebsd-java@freebsd.org In-Reply-To: <20011018100803.C69143@jonc.itouch> MIME-Version: 1.0 Content-Type: MULTIPART/mixed; BOUNDARY="0-846930886-1003387350=:1255" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --0-846930886-1003387350=:1255 Content-Type: TEXT/plain; CHARSET=US-ASCII OK, I finally got it to compile. It was relatively a pain. Here's all of what I had to do. I hope this experience benefits someone else, because it *won't* work out of the box!: 0) Download the Linux 1.3.0 binaries and install into /usr/local/linux-jdk1.3.0 as a bootstrap dist. 1) Extract the j2sdk-1_3_1-src.tar.gz that I downloaded from Sun. 2) Track down all the LongLinks and truncated filenames (because Sun probably used their stupid legacy "tar" utility from Solaris to generate the tarball, which can't handle long filenames) and restore them to their proper locations. Attached is a script that will do this for you. 3) Tar up the resulting directory using gtar, and put it in the distfiles directory, replacing the file "j2sdk-1_3_1-src.tar.gz". Compute the new md5 hash, and install this hash in the file /usr/ports/java/jdk13/distinfo so that it won't complain. 4) Update JDK_PATCHSET_VERSION in the Makefile to version 5 (since I started with patchlevel 4). Put the patch file (bsd-jdk131-patches-5.tar.gz) into /usr/ports/distfiles, and update the md5 hash for this file as well. 5) remove the patches under /usr/ports/java/jdk13/files, since these were relative to patchlevel 4 and had already been incorporated into the patchlevel 5. 6) Set environment variables according to the instructions in the BUILD file in the patchlevel 5. 7) setenv JDK13DIR /usr/local/linux-jdk1.3.0 setenv PORTDIR /usr/ports 8) make; make install After a lot of frustration, I was able to figure out what to do. It would really help a lot of people if this all was taken care of automatically... Regards Geoffrey On 18 Oct, Jonathan Chen wrote: > On Wed, Oct 17, 2001 at 02:48:29PM -0600, Geoffrey T. Falk wrote: >> Sorry if this is a dumb question, but I was taught in school that there >> is no such thing as a dumb question ;) >> >> Where can I get a tarball for the jsdk1.3.1 that will actually compile >> on FreeBSD 4.3? >> >> I tried to build the linux port under /usr/ports/java/jdk13, but found >> that the linux tarball from Sun had lots of files moved from their >> original locations (due to path length restrictions?)---Shouldn't the >> FreeBSD patch script be able to fix this? > > What sort of errors are you getting? The port has been upgraded to > patchlevel5 recently; which builds fine. Make sure you've got the latest > version of the port. --0-846930886-1003387350=:1255 Content-Type: TEXT/plain; CHARSET=US-ASCII Content-Description: script to put files in the right place Content-Disposition: attachment ; filename="FIXUP.csh" cd /usr/ports/java/jdk13/work mv ./j2sdk1.3.1/src/share/classes/com/sun/org/omg/CORBA/ValueDefPackage/FullValueDescriptionHelper.jav{,a} mv ./j2sdk1.3.1/ext/jpda/src/share/classes/com/sun/tools/example/debug/bdi/MethodNotFoundException.jav{,a} mv ./j2sdk1.3.1/ext/jpda/src/share/classes/com/sun/tools/example/debug/tty/VMNotConnectedException.jav{,a} mv javax.sound.sampled.spi.FormatConversionProvider ./j2sdk1.3.1/src/share/classes/com/sun/media/sound/services/ mv ValueDescSeqHelper.java ./j2sdk1.3.1/src/share/classes/com/sun/org/omg/SendingContext/CodeBasePackage/ mv FontLookUpAppletOffscreen.* ./j2sdk1.3.1/src/share/test/java2d/MiscTests/FontLookUpAppletOffscreen/ mv ConcurrentThreadsText.java ./j2sdk1.3.1/src/share/test/java2d/MiscTests/RegTests/ConcurrentThreadsText/ mv AmbiguousMethodException.java ./j2sdk1.3.1/ext/jpda/src/share/classes/com/sun/tools/example/debug/tty/ gtar --fast-read -xvzf /usr/ports/distfiles/j2sdk-1_3_1-src.tar.gz AmbiguousMethodException.java AmbiguousMethodException.java mv AmbiguousMethodException.java ./j2sdk1.3.1/ext/jpda/src/share/classes/com/sun/tools/example/debug/bdi/ mv FrameIndexOutOfBoundsException.java ./j2sdk1.3.1/ext/jpda/src/share/classes/com/sun/tools/example/debug/bdi/ mv ASCII_UCodeESC_CharStream.java ./j2sdk1.3.1/ext/jpda/src/share/classes/com/sun/tools/example/debug/expr/ mv AccessWatchpointEventSet.java ./j2sdk1.3.1/ext/jpda/src/share/classes/com/sun/tools/example/debug/event/ mv ConverterProgressListener.java ./j2sdk1.3.1/ext/plugin/src/share/converter/sun/plugin/converter/engine/ mv CurrentFrameChangedEvent.java ./j2sdk1.3.1/ext/jpda/src/share/classes/com/sun/tools/example/debug/gui/ mv ExpressionParserConstants.java ./j2sdk1.3.1/ext/jpda/src/share/classes/com/sun/tools/example/debug/expr/ mv ExpressionParserTokenManager.java ./j2sdk1.3.1/ext/jpda/src/share/classes/com/sun/tools/example/debug/expr mv LocationTriggerEventSet.java ./j2sdk1.3.1/ext/jpda/src/share/classes/com/sun/tools/example/debug/event/ mv MalformedMemberNameException.java ./j2sdk1.3.1/ext/jpda/src/share/classes/com/sun/tools/example/debug/tty/ gtar --fast-read -xvzf /usr/ports/distfiles/j2sdk-1_3_1-src.tar.gz MalformedMemberNameException.java MalformedMemberNameException.java mv MalformedMemberNameException.java ./j2sdk1.3.1/ext/jpda/src/share/classes/com/sun/tools/example/debug/bdi/ mv ModificationWatchpointEventSet.java ./j2sdk1.3.1/ext/jpda/src/share/classes/com/sun/tools/example/debug/event/ mv ModificationWatchpointSpec.java ./j2sdk1.3.1/ext/jpda/src/share/classes/com/sun/tools/example/debug/tty/ gtar --fast-read -xvzf /usr/ports/distfiles/j2sdk-1_3_1-src.tar.gz ModificationWatchpointSpec.java mv ModificationWatchpointSpec.java ./j2sdk1.3.1/ext/jpda/src/share/classes/com/sun/tools/example/debug/bdi/ mv PatternReferenceTypeSpec.java ./j2sdk1.3.1/ext/jpda/src/share/classes/com/sun/tools/example/debug/tty/ gtar --fast-read -xvzf /usr/ports/distfiles/j2sdk-1_3_1-src.tar.gz PatternReferenceTypeSpec.java PatternReferenceTypeSpec.java mv PatternReferenceTypeSpec.java ./j2sdk1.3.1/ext/jpda/src/share/classes/com/sun/tools/example/debug/bdi/ mv SingleLeafTreeSelectionModel.java ./j2sdk1.3.1/ext/jpda/src/share/classes/com/sun/tools/example/debug/gui/ mv SourceNameReferenceTypeSpec.java ./j2sdk1.3.1/ext/jpda/src/share/classes/com/sun/tools/example/debug/bdi/ mv TypeScriptOutputListener.java ./j2sdk1.3.1/ext/jpda/src/share/classes/com/sun/tools/example/debug/gui/ mv VMLaunchFailureException.java ./j2sdk1.3.1/ext/jpda/src/share/classes/com/sun/tools/example/debug/bdi/ mv VMNotInterruptedException.java ./j2sdk1.3.1/ext/jpda/src/share/classes/com/sun/tools/example/debug/bdi/ --0-846930886-1003387350=:1255-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Oct 17 23:58:31 2001 Delivered-To: freebsd-java@freebsd.org Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by hub.freebsd.org (Postfix) with ESMTP id 518F137B401 for ; Wed, 17 Oct 2001 23:58:28 -0700 (PDT) Received: from [166.70.2.194] (helo=misty.eyesbeyond.com) by mgr2.xmission.com with esmtp (Exim 3.22 #1) id 15u78L-0003al-00; Thu, 18 Oct 2001 00:58:26 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id f9I6wMs54611; Thu, 18 Oct 2001 16:28:22 +0930 (CST) (envelope-from glewis) Date: Thu, 18 Oct 2001 16:28:22 +0930 From: Greg Lewis To: "Geoffrey T. Falk" Cc: freebsd-java@FreeBSD.ORG Subject: Re: Getting 1.3.1 to compile Message-ID: <20011018162821.A54589@misty.eyesbeyond.com> References: <20011018100803.C69143@jonc.itouch> <200110180642.f9I6gSD24636@h24-67-76-240.cg.shawcable.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200110180642.f9I6gSD24636@h24-67-76-240.cg.shawcable.net>; from gtf@cirp.org on Thu, Oct 18, 2001 at 12:42:27AM -0600 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, Oct 18, 2001 at 12:42:27AM -0600, Geoffrey T. Falk wrote: > OK, I finally got it to compile. It was relatively a pain. I installed it today from ports (don't usually do this obviously) and I can't agree with your comments. > Here's all of what I had to do. I hope this experience benefits someone > else, because it *won't* work out of the box!: > > 0) Download the Linux 1.3.0 binaries and install into > /usr/local/linux-jdk1.3.0 as a bootstrap dist. This is the only problem I had. If you haven't got linux-jdk13 installed the build doesn't stop, it simply prints the message about where to get the distribution from and continues on. This needs to be fixed. Also, its easier to install the Linux JDK with the linux-jdk13 port, rather than installing it yourself... > 1) Extract the j2sdk-1_3_1-src.tar.gz that I downloaded from Sun. > > 2) Track down all the LongLinks and truncated filenames (because Sun > probably used their stupid legacy "tar" utility from Solaris to generate > the tarball, which can't handle long filenames) and restore them to > their proper locations. Attached is a script that will do this for you. > > 3) Tar up the resulting directory using gtar, and put it in the > distfiles directory, replacing the file "j2sdk-1_3_1-src.tar.gz". > Compute the new md5 hash, and install this hash in the file > /usr/ports/java/jdk13/distinfo so that it won't complain. This isn't the case. All you need to do is to extract with gtar, which the port is set up to do. pax(1) can also do the job. > 4) Update JDK_PATCHSET_VERSION in the Makefile to version 5 (since I > started with patchlevel 4). Put the patch file > (bsd-jdk131-patches-5.tar.gz) into /usr/ports/distfiles, and update the > md5 hash for this file as well. > > 5) remove the patches under /usr/ports/java/jdk13/files, since these > were relative to patchlevel 4 and had already been incorporated into the > patchlevel 5. CVSup would have solved these two for you :). > 6) Set environment variables according to the instructions in the BUILD > file in the patchlevel 5. No, they are for building it separate to the ports tree. > 7) setenv JDK13DIR /usr/local/linux-jdk1.3.0 > setenv PORTDIR /usr/ports You wouldn't have needed to set JDK13DIR if you had used the linux-jdk13 port to install the Linux JDK. > 8) make; make install > > After a lot of frustration, I was able to figure out what to do. It > would really help a lot of people if this all was taken care of > automatically... While I appreciate you had difficulties, the port does take care of most of this automatically, with the one exception I noted above. This is not to say the port is perfect, its not. I don't agree that its as broken as you say though. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Phone : (801) 765 1887 Information Technology Web : http://www.eyesbeyond.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Oct 18 9:11:30 2001 Delivered-To: freebsd-java@freebsd.org Received: from hotmail.com (f17.law3.hotmail.com [209.185.241.17]) by hub.freebsd.org (Postfix) with ESMTP id D46EE37B403 for ; Thu, 18 Oct 2001 09:11:28 -0700 (PDT) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 18 Oct 2001 09:11:28 -0700 Received: from 207.212.89.2 by lw3fd.law3.hotmail.msn.com with HTTP; Thu, 18 Oct 2001 16:11:28 GMT X-Originating-IP: [207.212.89.2] From: "SAMUEL SANKOH" To: freebsd-java@freebsd.org Subject: TUTORIAL Date: Thu, 18 Oct 2001 16:11:28 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 18 Oct 2001 16:11:28.0767 (UTC) FILETIME=[8B3940F0:01C157EF] Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org pLEASE SEND ME A Java Tutorial "control structures".Thanks _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Oct 18 9:31: 8 2001 Delivered-To: freebsd-java@freebsd.org Received: from arjun.niksun.com (gwnew.niksun.com [63.148.27.34]) by hub.freebsd.org (Postfix) with ESMTP id E87F237B403 for ; Thu, 18 Oct 2001 09:30:54 -0700 (PDT) Received: from niksun.com (arjun.niksun.com [10.0.0.5]) by arjun.niksun.com (8.9.3/8.9.3) with ESMTP id MAA24136 for ; Thu, 18 Oct 2001 12:30:54 -0400 (EDT) (envelope-from dragos@niksun.com) Message-ID: <3BCF03BC.BFD6015C@niksun.com> Date: Thu, 18 Oct 2001 12:30:52 -0400 From: Dragos Ilie Organization: NIKSUN Inc. http://www.niksun.com X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.2-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 Cc: freebsd-java@FreeBSD.ORG Subject: Re: Getting 1.3.1 to compile References: <20011018100803.C69143@jonc.itouch> <200110180642.f9I6gSD24636@h24-67-76-240.cg.shawcable.net> <20011018162821.A54589@misty.eyesbeyond.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org All I had to do in order to install the port was the following (FreeBSD 4.2 Release): 1) Install the linux-jdk1.3.1 package. You can build this from ports, as well. 2) Run cvsup to synch your CVS copy. I guess cvs update will do the trick as well, but the anonymous cvs has been down for about three weeks from my experience. 3) Run make in the directory ports/java/jdk13. It will tell you to download two files to ports/distfiles. I had no problem downloading these files. You must however sign up to the SUN developer connection in order to get the jdk source code. 4) Run make for the second time and go get a coffee. This part took about 20-30 minutes. 5) Run make install. 6) Optionally run make package so you can share the latest native jdk with your bsd friends. That's it! Worked like a charm! You'll find it under /usr/local/jdk1.3.1 Regards, Dragos Greg Lewis wrote: > > On Thu, Oct 18, 2001 at 12:42:27AM -0600, Geoffrey T. Falk wrote: > > OK, I finally got it to compile. It was relatively a pain. > > I installed it today from ports (don't usually do this obviously) and > I can't agree with your comments. > > > Here's all of what I had to do. I hope this experience benefits someone > > else, because it *won't* work out of the box!: > > > > 0) Download the Linux 1.3.0 binaries and install into > > /usr/local/linux-jdk1.3.0 as a bootstrap dist. > > This is the only problem I had. If you haven't got linux-jdk13 installed > the build doesn't stop, it simply prints the message about where to get > the distribution from and continues on. This needs to be fixed. Also, > its easier to install the Linux JDK with the linux-jdk13 port, rather > than installing it yourself... > > > 1) Extract the j2sdk-1_3_1-src.tar.gz that I downloaded from Sun. > > > > 2) Track down all the LongLinks and truncated filenames (because Sun > > probably used their stupid legacy "tar" utility from Solaris to generate > > the tarball, which can't handle long filenames) and restore them to > > their proper locations. Attached is a script that will do this for you. > > > > 3) Tar up the resulting directory using gtar, and put it in the > > distfiles directory, replacing the file "j2sdk-1_3_1-src.tar.gz". > > Compute the new md5 hash, and install this hash in the file > > /usr/ports/java/jdk13/distinfo so that it won't complain. > > This isn't the case. All you need to do is to extract with gtar, which > the port is set up to do. pax(1) can also do the job. > > > 4) Update JDK_PATCHSET_VERSION in the Makefile to version 5 (since I > > started with patchlevel 4). Put the patch file > > (bsd-jdk131-patches-5.tar.gz) into /usr/ports/distfiles, and update the > > md5 hash for this file as well. > > > > 5) remove the patches under /usr/ports/java/jdk13/files, since these > > were relative to patchlevel 4 and had already been incorporated into the > > patchlevel 5. > > CVSup would have solved these two for you :). > > > 6) Set environment variables according to the instructions in the BUILD > > file in the patchlevel 5. > > No, they are for building it separate to the ports tree. > > > 7) setenv JDK13DIR /usr/local/linux-jdk1.3.0 > > setenv PORTDIR /usr/ports > > You wouldn't have needed to set JDK13DIR if you had used the linux-jdk13 > port to install the Linux JDK. > > > 8) make; make install > > > > After a lot of frustration, I was able to figure out what to do. It > > would really help a lot of people if this all was taken care of > > automatically... > > While I appreciate you had difficulties, the port does take care of > most of this automatically, with the one exception I noted above. > > This is not to say the port is perfect, its not. I don't agree that > its as broken as you say though. > > -- > Greg Lewis Email : glewis@eyesbeyond.com > Eyes Beyond Phone : (801) 765 1887 > Information Technology Web : http://www.eyesbeyond.com > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Oct 18 9:36:19 2001 Delivered-To: freebsd-java@freebsd.org Received: from mail11.speakeasy.net (mail11.speakeasy.net [216.254.0.211]) by hub.freebsd.org (Postfix) with ESMTP id 0200037B401 for ; Thu, 18 Oct 2001 09:36:17 -0700 (PDT) Received: (qmail 25315 invoked from network); 18 Oct 2001 16:36:16 -0000 Received: from unknown (HELO patches) ([64.81.30.146]) (envelope-sender ) by mail11.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 18 Oct 2001 16:36:16 -0000 Reply-To: From: "Rick Moore" To: Subject: Any native updates? Date: Thu, 18 Oct 2001 09:33:30 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <3BCF03BC.BFD6015C@niksun.com> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I haven't heard anything about the possibility of a native port for quite some time. Any updates to the legal hurdles? Rick To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Oct 18 9:54:28 2001 Delivered-To: freebsd-java@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by hub.freebsd.org (Postfix) with ESMTP id 3892137B401 for ; Thu, 18 Oct 2001 09:54:25 -0700 (PDT) Received: from nomad.yogotech.com (nomad.yogotech.com [206.127.123.131]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id KAA00836; Thu, 18 Oct 2001 10:54:24 -0600 (MDT) (envelope-from nate@nomad.yogotech.com) Received: (from nate@localhost) by nomad.yogotech.com (8.8.8/8.8.8) id KAA28916; Thu, 18 Oct 2001 10:54:23 -0600 (MDT) (envelope-from nate) From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15311.2367.212838.602610@nomad.yogotech.com> Date: Thu, 18 Oct 2001 10:54:23 -0600 To: Cc: Subject: Re: Any native updates? In-Reply-To: References: <3BCF03BC.BFD6015C@niksun.com> X-Mailer: VM 6.95 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > I haven't heard anything about the possibility of a native port for quite > some time. Any updates to the legal hurdles? Still hurdling away. More as progress is made. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message