From owner-freebsd-java Sun May 27 11: 4:57 2001 Delivered-To: freebsd-java@freebsd.org Received: from scaup.mail.pas.earthlink.net (scaup.mail.pas.earthlink.net [207.217.121.49]) by hub.freebsd.org (Postfix) with ESMTP id A3E4837B423 for ; Sun, 27 May 2001 11:04:53 -0700 (PDT) (envelope-from ipthomas_77@yahoo.com) Received: from scarlet.my.domain (1Cust3.tnt6.buffalo.ny.da.uu.net [63.10.187.3]) by scaup.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id LAA13546 for ; Sun, 27 May 2001 11:04:51 -0700 (PDT) Received: (from ipt@localhost) by scarlet.my.domain (8.9.3/8.9.3) id OAA10558 for freebsd-java@freebsd.org; Sun, 27 May 2001 14:04:12 -0400 (EDT) (envelope-from ipt) From: User Ipt Ian Patrick Thomas Message-Id: <200105271804.OAA10558@scarlet.my.domain> Subject: can't install jdk1.2.2 To: freebsd-java@freebsd.org Date: Sun, 27 May 2001 14:03:31 -0400 (EDT) Operating-System: FreeBSD X-Mailer: ELM [version 2.4ME+ PL54 (25)] 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 After having the following installed without any problems javavmwrapper-1.1 jdk-1.1.8 jfc-1.1.1 linux_base-6.1 linux-jdk-1.2.2 the port for jdk12-beta will still not build. Here are the errors. ELF binary type not known. Use "brandelf" to brand it. ELF binary type not known. Use "brandelf" to brand it. ERROR: Your ALT_BOOTDIR environment variable does not point to a valid JDK for bootstrapping this build. A JDK 1.2 or 1.2.x build must be bootstrapped against a 1.2-V (or later) build. Please update your ALT_BOOTDIR setting, or just unset it, and try again. gmake: *** [sanity] Error 1 *** Error code 2 Stop. *** Error code 1 Stop. I have checked this variable in the Makefile. It seems to be looking in the right place. MAKE_ENV= HAVE_DPS="no" \ ALT_BOOTDIR="${JDK12DIR}" \ Here is the variable it references. JDK12DIR?= ${LOCALBASE}/linux-jdk${JDK_VERSION} Here is the path of the linuxjdk it is looking for. /usr/local/linux-jdk1.2.2 So I delete ALT_BOOTDIR as it advises, and the build gets further, but ... /usr/local/java/jdk1.2/x86/bin/javac: not found gmake[3]: *** [.compile.classlist] Error 127 gmake[3]: Leaving directory `/usr/ports/java/jdk12-beta/work/build/freebsd/java/jvm' gmake[2]: *** [optimized] Error 2 gmake[2]: Leaving directory `/usr/ports/java/jdk12-beta/work/build/freebsd/java/jvm' gmake[1]: *** [all] Error 1 gmake[1]: Leaving directory `/usr/ports/java/jdk12-beta/work/build/freebsd/java' gmake: *** [all] Error 1 *** Error code 2 Stop. *** Error code 1 Stop. *** Error code 1 I'm stumped. I'll keep fiddling but maybe someone else has ran into this. I'm running 3.5 Stable. Ian -- Have blue screens given you the blues, go to www.freebsd.org for the cure. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun May 27 14:29:44 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 1D4C237B424 for ; Sun, 27 May 2001 14:29:41 -0700 (PDT) (envelope-from jonc@itouch.co.nz) Received: (from jonc@localhost) by itouch.co.nz (8.11.3/8.11.1) id f4RLTK333875; Mon, 28 May 2001 09:29:20 +1200 (NZST) (envelope-from jonc) Date: Mon, 28 May 2001 09:29:20 +1200 From: Jonathan Chen To: "Koster, K.J." Cc: "'FreeBSD Java mailing list'" Subject: Re: Who used jdk 1.1.8 and linux 1.2.2? Message-ID: <20010528092920.C30532@itouchnz.itouch> References: <59063B5B4D98D311BC0D0001FA7E452205FD9C0E@l04.research.kpn.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <59063B5B4D98D311BC0D0001FA7E452205FD9C0E@l04.research.kpn.com>; from K.J.Koster@kpn.com on Fri, May 25, 2001 at 10:21:49AM +0100 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 Fri, May 25, 2001 at 10:21:49AM +0100, Koster, K.J. wrote: > Dear All, > > We are collecting a tremendous number of JDK's. We have 1.1.8, 1.2.2 (2x), > 1.3.0. As soon as someone sits down to write the Makefiles for them, 1.3.1 > and 1.4 should be added to this list. > > I appreciate that 1.1.8 is genuinely useful for applet development, and also > our only official native port. I don't think it's time to pull the plug on > it. Still I'd like to know how widely it's used. Since it's the only official native port, it's the only version that I can install on our production machines. Building the 1.2-beta native is a pain due to the off-on responsiveness of ftp servers. I'm losing hope of ever seeing a release for this... :-( > The usefulness of Linux JDK 1.2.2 is less obvious. Apart from "I haven't had > time", what are your reasons not to switch to 1.3? Are there stability > issues that keep you from moving to 1.3? The only thing stopping me from moving onwards is the lack of an official port. -- Jonathan Chen | To do is to be -- Nietzsche | To be is to do -- Sartre | Scooby do be do -- Scooby To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun May 27 16:11:35 2001 Delivered-To: freebsd-java@freebsd.org Received: from mail.xmission.com (mail.xmission.com [198.60.22.22]) by hub.freebsd.org (Postfix) with ESMTP id BE9AF37B423 for ; Sun, 27 May 2001 16:11:31 -0700 (PDT) (envelope-from glewis@misty.eyesbeyond.com) Received: from [166.70.7.131] (helo=misty.eyesbeyond.com) by mail.xmission.com with esmtp (Exim 3.12 #1) id 1549h4-0000qz-00; Sun, 27 May 2001 17:11:30 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.1/8.11.1) id f4RNBRV31315; Mon, 28 May 2001 08:41:27 +0930 (CST) (envelope-from glewis) Date: Mon, 28 May 2001 08:41:27 +0930 From: Greg Lewis To: User Ipt Ian Patrick Thomas Cc: freebsd-java@FreeBSD.ORG Subject: Re: can't install jdk1.2.2 Message-ID: <20010528084127.A31291@misty.eyesbeyond.com> References: <200105271804.OAA10558@scarlet.my.domain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200105271804.OAA10558@scarlet.my.domain>; from ipthomas_77@yahoo.com on Sun, May 27, 2001 at 02:03:31PM -0400 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, May 27, 2001 at 02:03:31PM -0400, User Ipt Ian Patrick Thomas wrote: > After having the following installed without any problems > > javavmwrapper-1.1 > jdk-1.1.8 > jfc-1.1.1 > linux_base-6.1 > linux-jdk-1.2.2 > > the port for jdk12-beta will still not build. Here are the errors. > > ELF binary type not known. Use "brandelf" to brand it. > ELF binary type not known. Use "brandelf" to brand it. Does the Linux JDK 1.2.2 that you installed without any problems actually work? The above lines appear to indicate that it does not and that the binaries need branding. Can you actually do a "java -version" with it? > ERROR: Your ALT_BOOTDIR environment variable does not point > to a valid JDK for bootstrapping this build. > A JDK 1.2 or 1.2.x build must be bootstrapped against > a 1.2-V (or later) build. Please update your ALT_BOOTDIR > setting, or just unset it, and try again. > > gmake: *** [sanity] Error 1 > *** Error code 2 > > Stop. > *** Error code 1 > > Stop. > > I have checked this variable in the Makefile. It seems to be looking in the right place. > > MAKE_ENV= HAVE_DPS="no" \ > ALT_BOOTDIR="${JDK12DIR}" \ > > Here is the variable it references. > > JDK12DIR?= ${LOCALBASE}/linux-jdk${JDK_VERSION} > > Here is the path of the linuxjdk it is looking for. > > /usr/local/linux-jdk1.2.2 Does this JDK actually work for you? > So I delete ALT_BOOTDIR as it advises, and the build gets further, but ... Note that this warning is part of the Sun sources. In this case you must get the Linux JDK you have working, and then the native port will be able to build. You cannot just delete ALT_BOOTDIR as then it will assume a default place for the bootstrap compiler as below (a place which doesn't exist!). > I'm stumped. I'll keep fiddling but maybe someone else has ran into this. I'm running 3.5 > Stable. Brandelf the Linux JDK binaries and see how things go. regards, Greg -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Mobile: 0419 868 494 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 Sun May 27 16:14:22 2001 Delivered-To: freebsd-java@freebsd.org Received: from mail.xmission.com (mail.xmission.com [198.60.22.22]) by hub.freebsd.org (Postfix) with ESMTP id 00D1437B422 for ; Sun, 27 May 2001 16:14:20 -0700 (PDT) (envelope-from glewis@misty.eyesbeyond.com) Received: from [166.70.7.131] (helo=misty.eyesbeyond.com) by mail.xmission.com with esmtp (Exim 3.12 #1) id 1549jl-0001DH-00; Sun, 27 May 2001 17:14:18 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.1/8.11.1) id f4RNEFH31330; Mon, 28 May 2001 08:44:15 +0930 (CST) (envelope-from glewis) Date: Mon, 28 May 2001 08:44:14 +0930 From: Greg Lewis To: Jonathan Chen Cc: "Koster, K.J." , "'FreeBSD Java mailing list'" Subject: Re: Who used jdk 1.1.8 and linux 1.2.2? Message-ID: <20010528084414.B31291@misty.eyesbeyond.com> References: <59063B5B4D98D311BC0D0001FA7E452205FD9C0E@l04.research.kpn.com> <20010528092920.C30532@itouchnz.itouch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010528092920.C30532@itouchnz.itouch>; from jonathan.chen@itouch.co.nz on Mon, May 28, 2001 at 09:29:20AM +1200 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 Mon, May 28, 2001 at 09:29:20AM +1200, Jonathan Chen wrote: > On Fri, May 25, 2001 at 10:21:49AM +0100, Koster, K.J. wrote: > > Dear All, > > > > We are collecting a tremendous number of JDK's. We have 1.1.8, 1.2.2 (2x), > > 1.3.0. As soon as someone sits down to write the Makefiles for them, 1.3.1 > > and 1.4 should be added to this list. > > > > I appreciate that 1.1.8 is genuinely useful for applet development, and also > > our only official native port. I don't think it's time to pull the plug on > > it. Still I'd like to know how widely it's used. > > Since it's the only official native port, it's the only version that I > can install on our production machines. Is this a management policy? Just curious as I'm using the native 1.2.2 JDK in a production environment without any problems. > Building the 1.2-beta native is a pain due to the off-on > responsiveness of ftp servers. I'm losing hope of ever seeing a > release for this... :-( This is indeed unfortunate, but difficult to "fix" due to the licensing on the source code (i.e. it can't just be mirrored anywhere). regards, Greg -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Mobile: 0419 868 494 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 Sun May 27 19: 1:16 2001 Delivered-To: freebsd-java@freebsd.org Received: from panda.FreeBSDsystems.COM (panda.freebsdsystems.com [216.126.95.28]) by hub.freebsd.org (Postfix) with ESMTP id 3A32E37B423 for ; Sun, 27 May 2001 19:01:13 -0700 (PDT) (envelope-from lnb@FreeBSDsystems.COM) Received: from panda.FreeBSDsystems.COM (panda.freebsdsystems.com [216.126.95.28]) by panda.FreeBSDsystems.COM (8.11.3/8.11.3) with SMTP id f4S21CB35026 for ; Sun, 27 May 2001 22:01:12 -0400 (EDT) (envelope-from lnb@FreeBSDsystems.COM) From: Lanny Baron Date: Sun, 27 May 2001 22:01:12 -0400 X-Mailer: KMail [version 1.1.99] Content-Type: text/plain; charset="iso-8859-1" To: freebsd-java@freebsd.org Subject: mod_jk won't build on FreeBSD MIME-Version: 1.0 Message-Id: <01052722011204.34260@panda.FreeBSDsystems.COM> Content-Transfer-Encoding: 8bit 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 Help, I'm really having trouble with building and running mod_jk with Tomcat-3.2.1 + mod_jk + Apache 1.3.19 on FreeBSD 4.3-STABLE The components from /usr/ports:  Apache  JDK-1.2.2 Linux emulation Download the binaries for Tomcat, and try it out: works fine standalone with the example servlets mod_jk: Download Tomcat src tarball and build : Attempt #1, with Makefile.freebsd (using gmake). (Changed APXS=/usr/local/sbin/apxs) I get:  Cannot load /usr/local/libexec/apache/mod_jk.so into  server: /usr/local/libexec/apache/mod_jk.so: Undefined symbol "fdatasync" Attempt #2, using the hint in the mod_jk how-to page: Add -lposix before -c in the APXS command line to build mod_jk.so mod_jk.so: ${OBJS} mod_jk.o         $(APXS) -lposix4 -c -o mod_jk.so ${OBJS} mod_jk.o I get:   /usr/libexec/elf/ld: cannot find -lposix4   apxs:Break: Command failed with rc=1   gmake: *** [mod_jk.so] Error 1 What is -lposix4? Is it supposed to be in my FreeBSD installation? (I can't seem to find any libary name posix4.*) Thanks in advance for any help on this issue. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun May 27 19:15:23 2001 Delivered-To: freebsd-java@freebsd.org Received: from gravy.kishka.net (adsl-151-197-8-33.phila.adsl.bellatlantic.net [151.197.8.33]) by hub.freebsd.org (Postfix) with ESMTP id 8947F37B42C for ; Sun, 27 May 2001 19:15:21 -0700 (PDT) (envelope-from bleez@bellatlantic.net) Received: from gravy (0hzaiu@gravy [192.168.1.1]) by gravy.kishka.net (8.11.3/8.11.3) with ESMTP id f4S2F6Z00473; Sun, 27 May 2001 22:15:06 -0400 (EDT) (envelope-from bleez@bellatlantic.net) Date: Sun, 27 May 2001 22:15:06 -0400 (EDT) From: Bryan Liesner X-X-Sender: To: Lanny Baron Cc: Subject: Re: mod_jk won't build on FreeBSD In-Reply-To: <01052722011204.34260@panda.FreeBSDsystems.COM> Message-ID: <20010527221148.O465-100000@gravy.kishka.net> 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 On Sun, 27 May 2001, Lanny Baron wrote: >Help, > >I'm really having trouble with building and running mod_jk with >Tomcat-3.2.1 + mod_jk + Apache 1.3.19 on FreeBSD 4.3-STABLE > I had problems too, but got it to build. Check out the freebsd-java archive, there's a thread or two in there that will help you out. Bryan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun May 27 21:21:55 2001 Delivered-To: freebsd-java@freebsd.org Received: from hobbits.brel.com (hobbits.brel.com [203.127.231.61]) by hub.freebsd.org (Postfix) with ESMTP id 1301C37B424 for ; Sun, 27 May 2001 21:21:53 -0700 (PDT) (envelope-from calvinng@hobbits.brel.com) Received: by hobbits.brel.com (Postfix, from userid 1001) id 7A8BB3329; Mon, 28 May 2001 12:21:48 +0800 (SGT) Date: Mon, 28 May 2001 12:21:48 +0800 From: Calvin NG To: Bryan Liesner Cc: Lanny Baron , freebsd-java@FreeBSD.ORG Subject: Re: mod_jk won't build on FreeBSD Message-ID: <20010528122148.D24122@brel.com> References: <01052722011204.34260@panda.FreeBSDsystems.COM> <20010527221148.O465-100000@gravy.kishka.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010527221148.O465-100000@gravy.kishka.net>; from bleez@bellatlantic.net on Sun, May 27, 2001 at 10:15:06PM -0400 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 Greetings, considering that mod_jk is now a port, (www/mod_jk). I think it will the easiest to use to build and install mod_jk. Regards, /calvin lines with :> are quotes from Bryan Liesner's email :> On Sun, 27 May 2001, Lanny Baron wrote: :> :> >Help, :> > :> >I'm really having trouble with building and running mod_jk with :> >Tomcat-3.2.1 + mod_jk + Apache 1.3.19 on FreeBSD 4.3-STABLE :> > :> :> I had problems too, but got it to build. Check out the freebsd-java :> archive, there's a thread or two in there that will help you out. :> :> Bryan :> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun May 27 21:31:41 2001 Delivered-To: freebsd-java@freebsd.org Received: from matrix.dynamic-cast.com (r175-5-dsl.sea.lightrealm.net [216.122.5.175]) by hub.freebsd.org (Postfix) with ESMTP id 11A9337B43E for ; Sun, 27 May 2001 21:31:38 -0700 (PDT) (envelope-from herveyw@dynamic-cast.com) Received: from chillipepper (chillipepper.dynamic-cast.com [192.168.1.1]) by matrix.dynamic-cast.com (8.11.3/8.11.3) with SMTP id f4S4VUa94707; Sun, 27 May 2001 21:31:31 -0700 (PDT) (envelope-from herveyw@dynamic-cast.com) Message-ID: <001b01c0e72f$527e1e10$0101a8c0@dynamiccast.com> From: "Hervey Wilson" To: "Calvin NG" , "Bryan Liesner" Cc: "Lanny Baron" , References: <01052722011204.34260@panda.FreeBSDsystems.COM> <20010527221148.O465-100000@gravy.kishka.net> <20010528122148.D24122@brel.com> Subject: Re: mod_jk won't build on FreeBSD Date: Sun, 27 May 2001 21:33:19 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2462.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2462.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 From: "Calvin NG" > > considering that mod_jk is now a port, (www/mod_jk). I think it will > the easiest to use to build and install mod_jk. > This is certainly true if you're using the native jdk1.1.8 vm. However, if you're using the linux-jdk1.3.0 then you still need to tweak makefile.freebsd that comes in the port collection. Specifically, I had to change the line: OS=freebsd to: OS=linux but left the -DFREEBSD in the compile steps alone. Without this change, the make fails because I don't have an include directory for freebsd and the jni.h file doesn't exist. Changing this line allows the make to pick up the linux jdk header files. Of course, you also need to tweak the root Makefile for the port so that it depends on linux-jdk1.3.0 not the native jdk1.1.8 port. Anyway, that lot worked for me, your mileage may vary ;) H. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun May 27 21:48:37 2001 Delivered-To: freebsd-java@freebsd.org Received: from priv-edtnes10-hme0.telusplanet.net (mtaout.telus.net [199.185.220.235]) by hub.freebsd.org (Postfix) with ESMTP id 64E1337B423 for ; Sun, 27 May 2001 21:48:34 -0700 (PDT) (envelope-from npapke@acm.org) Received: from localhost.telus.net ([216.232.236.201]) by priv-edtnes10-hme0.telusplanet.net (InterMail vM.4.01.03.10 201-229-121-110) with ESMTP id <20010528044833.OIQN10373.priv-edtnes10-hme0.telusplanet.net@localhost.telus.net>; Sun, 27 May 2001 22:48:33 -0600 Received: from localhost (localhost [127.0.0.1]) by localhost.telus.net (8.11.3/8.11.1) with ESMTP id f4S4mXQ19827; Sun, 27 May 2001 21:48:33 -0700 (PDT) (envelope-from npapke@acm.org) Date: Sun, 27 May 2001 21:48:33 -0700 (PDT) From: Norbert Papke Reply-To: Norbert Papke To: Calvin NG Cc: Bryan Liesner , Lanny Baron , Subject: Re: mod_jk won't build on FreeBSD In-Reply-To: <20010528122148.D24122@brel.com> Message-ID: <20010527213809.E19126-100000@localhost.telus.net> Organization: Archaeological Filing 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 I built mod_jk from the ports a couple of weeks ago. However, I found that I was unable to load it because it depended on pthreads. Apache, by default, is not linked against the pthreads library. I therefore had rebuild Apache to build with pthreads (i.e., tweak the Makefile to add -pthread to the compiler options). -- Norbert Papke. On Mon, 28 May 2001, Calvin NG wrote: > Greetings, > > considering that mod_jk is now a port, (www/mod_jk). I think it will > the easiest to use to build and install mod_jk. > > Regards, > /calvin > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon May 28 2:36: 0 2001 Delivered-To: freebsd-java@freebsd.org Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by hub.freebsd.org (Postfix) with ESMTP id D3E4937B424 for ; Mon, 28 May 2001 02:35:57 -0700 (PDT) (envelope-from K.J.Koster@kpn.com) Received: by l04.research.kpn.com with Internet Mail Service (5.5.2653.19) id ; Mon, 28 May 2001 11:35:56 +0100 Message-ID: <59063B5B4D98D311BC0D0001FA7E452205FD9C15@l04.research.kpn.com> From: "Koster, K.J." To: 'Ernst de Haan' Cc: 'FreeBSD Java mailing list' Subject: RE: Who used jdk 1.1.8 and linux 1.2.2? Date: Mon, 28 May 2001 11:35:53 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" 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 Dear Ernst, > > Well, I just submitted a diff that will upgrade the > java/linux-jdk13 port from > 1.3.0_02 to 1.3.1, but I already found that 1.3.1 exposed one > problem that 1.3.0_02 did not. > Could you describe the problem? Please don't commit the upgrade while this problem is there. > > A newer version is not always better in all > situations. > Amen. Kees Jan ================================================ You are only young once, but you can stay immature all your life. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon May 28 2:40:59 2001 Delivered-To: freebsd-java@freebsd.org Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by hub.freebsd.org (Postfix) with ESMTP id AD01A37B424 for ; Mon, 28 May 2001 02:40:56 -0700 (PDT) (envelope-from K.J.Koster@kpn.com) Received: by l04.research.kpn.com with Internet Mail Service (5.5.2653.19) id ; Mon, 28 May 2001 11:40:55 +0100 Message-ID: <59063B5B4D98D311BC0D0001FA7E452205FD9C16@l04.research.kpn.com> From: "Koster, K.J." To: 'User Ipt Ian Patrick Thomas' Cc: freebsd-java@FreeBSD.ORG Subject: RE: can't install jdk1.2.2 Date: Mon, 28 May 2001 11:40:54 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" 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 Dear Ian, > > the port for jdk12-beta will still not build. Here are > the errors. > > ELF binary type not known. Use "brandelf" to brand it. > ELF binary type not known. Use "brandelf" to brand it. > Hmm. Is the linux emu actually running? Use linux_enable=YES in rc.conf and use kdlstat to see if linux.so is loaded. > > ERROR: Your ALT_BOOTDIR environment variable does not point > to a valid JDK for bootstrapping this build. > A JDK 1.2 or 1.2.x build must be bootstrapped against > a 1.2-V (or later) build. Please update your ALT_BOOTDIR > setting, or just unset it, and try again. > > gmake: *** [sanity] Error 1 > *** Error code 2 > > Stop. > Before trying to build and install the native JDK, verify that the linux jdk works. Type "/usr/local/linux_jdk1.2.2/bin/java -version" and fix any error messages you get. Kees Jan ================================================ You are only young once, but you can stay immature all your life. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon May 28 6:40: 7 2001 Delivered-To: freebsd-java@freebsd.org Received: from harrier.mail.pas.earthlink.net (harrier.mail.pas.earthlink.net [207.217.121.12]) by hub.freebsd.org (Postfix) with ESMTP id A5B7137B422 for ; Mon, 28 May 2001 06:39:59 -0700 (PDT) (envelope-from ipthomas_77@yahoo.com) Received: from scarlet.my.domain (ip249.buffalo11.ny.pub-ip.psi.net [38.26.224.249]) by harrier.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id GAA19162 for ; Mon, 28 May 2001 06:39:50 -0700 (PDT) Received: (from ipt@localhost) by scarlet.my.domain (8.9.3/8.9.3) id JAA02054; Mon, 28 May 2001 09:37:38 -0400 (EDT) (envelope-from ipt) From: User Ipt Ian Patrick Thomas Message-Id: <200105281337.JAA02054@scarlet.my.domain> Subject: Re: can't install jdk1.2.2 In-Reply-To: <20010528084127.A31291@misty.eyesbeyond.com> from Greg Lewis at "May 28, 2001 08:41:27 am" To: glewis@eyesbeyond.com (Greg Lewis) Date: Mon, 28 May 2001 09:36:17 -0400 (EDT) Cc: freebsd-java@freebsd.org Operating-System: FreeBSD X-Mailer: ELM [version 2.4ME+ PL54 (25)] 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 O.K., I put the Makefile back to its original state and got the same errors. I went ahead and loaded the linux module and did java -version on the linux 1.2. java version "1.2.2" Classic VM (build Linux_JDK_1.2.2_RC4, green threads, sunwjit) It looks functional to me. I'll try to compile some of my programs with the linux javac and see what happens. RMI should give me a noticable difference, sans skeletons after rmic on serializables. What binary's should I run brandelf on? All of the ones in /usr/local/linux-jdk1.2.2/bin, /usr/local/linux-jdk1.2.2/bin/i386/green_threads, or /usr/local/linux-jdk1.2.2/bin/i386/native_threads? Also is it brandelf -t Linux [filename here]? Thanks for the help so far. Ian As told by, Greg Lewis > On Sun, May 27, 2001 at 02:03:31PM -0400, User Ipt Ian Patrick Thomas wrote: > > After having the following installed without any problems > > > > javavmwrapper-1.1 > > jdk-1.1.8 > > jfc-1.1.1 > > linux_base-6.1 > > linux-jdk-1.2.2 > > > > the port for jdk12-beta will still not build. Here are the errors. > > > > ELF binary type not known. Use "brandelf" to brand it. > > ELF binary type not known. Use "brandelf" to brand it. > > Does the Linux JDK 1.2.2 that you installed without any problems actually > work? The above lines appear to indicate that it does not and that the > binaries need branding. Can you actually do a "java -version" with it? > > > ERROR: Your ALT_BOOTDIR environment variable does not point > > to a valid JDK for bootstrapping this build. > > A JDK 1.2 or 1.2.x build must be bootstrapped against > > a 1.2-V (or later) build. Please update your ALT_BOOTDIR > > setting, or just unset it, and try again. > > > > gmake: *** [sanity] Error 1 > > *** Error code 2 > > > > Stop. > > *** Error code 1 > > > > Stop. > > > > I have checked this variable in the Makefile. It seems to be looking in the right place. > > > > MAKE_ENV= HAVE_DPS="no" \ > > ALT_BOOTDIR="${JDK12DIR}" \ > > > > Here is the variable it references. > > > > JDK12DIR?= ${LOCALBASE}/linux-jdk${JDK_VERSION} > > > > Here is the path of the linuxjdk it is looking for. > > > > /usr/local/linux-jdk1.2.2 > > Does this JDK actually work for you? > > > So I delete ALT_BOOTDIR as it advises, and the build gets further, but ... > > Note that this warning is part of the Sun sources. In this case you must > get the Linux JDK you have working, and then the native port will be able > to build. You cannot just delete ALT_BOOTDIR as then it will assume a > default place for the bootstrap compiler as below (a place which doesn't > exist!). > > > I'm stumped. I'll keep fiddling but maybe someone else has ran into this. I'm running 3.5 > > Stable. > > Brandelf the Linux JDK binaries and see how things go. > > regards, Greg > -- > Greg Lewis Email : glewis@eyesbeyond.com > Eyes Beyond Mobile: 0419 868 494 > Information Technology Web : http://www.eyesbeyond.com > -- Have blue screens given you the blues, go to www.freebsd.org for the cure. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon May 28 7:10:24 2001 Delivered-To: freebsd-java@freebsd.org Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by hub.freebsd.org (Postfix) with ESMTP id 350F437B424 for ; Mon, 28 May 2001 07:10:11 -0700 (PDT) (envelope-from K.J.Koster@kpn.com) Received: by l04.research.kpn.com with Internet Mail Service (5.5.2653.19) id ; Mon, 28 May 2001 16:10:10 +0100 Message-ID: <59063B5B4D98D311BC0D0001FA7E452205FD9C1C@l04.research.kpn.com> From: "Koster, K.J." To: 'User Ipt Ian Patrick Thomas' , glewis@eyesbeyond.com Cc: freebsd-java@FreeBSD.ORG Subject: RE: can't install jdk1.2.2 Date: Mon, 28 May 2001 16:09:59 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" 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 If the Linux JDK works you don't have to brandelf anything. Kees Jan ================================================ You are only young once, but you can stay immature all your life. > -----Original Message----- > From: User Ipt Ian Patrick Thomas [mailto:ipthomas_77@yahoo.com] > Sent: maandag 28 mei 2001 14:36 > To: glewis@eyesbeyond.com > Cc: freebsd-java@FreeBSD.ORG > Subject: Re: can't install jdk1.2.2 > > > O.K., I put the Makefile back to its original state and > got the same > errors. I went ahead and loaded the linux module and did > java -version on > the linux 1.2. > > java version "1.2.2" > Classic VM (build Linux_JDK_1.2.2_RC4, green threads, sunwjit) > > It looks functional to me. I'll try to compile some of > my programs with > the linux javac and see what happens. RMI should give me a noticable > difference, sans skeletons after rmic on serializables. What > binary's should > I run brandelf on? All of the ones in /usr/local/linux-jdk1.2.2/bin, > /usr/local/linux-jdk1.2.2/bin/i386/green_threads, or > /usr/local/linux-jdk1.2.2/bin/i386/native_threads? Also is > it brandelf -t > Linux [filename here]? Thanks for the help so far. > > Ian > > As told by, Greg Lewis > > On Sun, May 27, 2001 at 02:03:31PM -0400, User Ipt Ian > Patrick Thomas wrote: > > > After having the following installed without any problems > > > > > > javavmwrapper-1.1 > > > jdk-1.1.8 > > > jfc-1.1.1 > > > linux_base-6.1 > > > linux-jdk-1.2.2 > > > > > > the port for jdk12-beta will still not build. Here are > the errors. > > > > > > ELF binary type not known. Use "brandelf" to brand it. > > > ELF binary type not known. Use "brandelf" to brand it. > > > > Does the Linux JDK 1.2.2 that you installed without any > problems actually > > work? The above lines appear to indicate that it does not > and that the > > binaries need branding. Can you actually do a "java > -version" with it? > > > > > ERROR: Your ALT_BOOTDIR environment variable does not point > > > to a valid JDK for bootstrapping this build. > > > A JDK 1.2 or 1.2.x build must be bootstrapped against > > > a 1.2-V (or later) build. Please update your ALT_BOOTDIR > > > setting, or just unset it, and try again. > > > > > > gmake: *** [sanity] Error 1 > > > *** Error code 2 > > > > > > Stop. > > > *** Error code 1 > > > > > > Stop. > > > > > > I have checked this variable in the Makefile. It seems > to be looking in the right place. > > > > > > MAKE_ENV= HAVE_DPS="no" \ > > > ALT_BOOTDIR="${JDK12DIR}" \ > > > > > > Here is the variable it references. > > > > > > JDK12DIR?= ${LOCALBASE}/linux-jdk${JDK_VERSION} > > > > > > Here is the path of the linuxjdk it is looking for. > > > > > > /usr/local/linux-jdk1.2.2 > > > > Does this JDK actually work for you? > > > > > So I delete ALT_BOOTDIR as it advises, and the build > gets further, but ... > > > > Note that this warning is part of the Sun sources. In this > case you must > > get the Linux JDK you have working, and then the native > port will be able > > to build. You cannot just delete ALT_BOOTDIR as then it > will assume a > > default place for the bootstrap compiler as below (a place > which doesn't > > exist!). > > > > > I'm stumped. I'll keep fiddling but maybe someone else > has ran into this. I'm running 3.5 > > > Stable. > > > > Brandelf the Linux JDK binaries and see how things go. > > > > regards, Greg > > -- > > Greg Lewis Email : glewis@eyesbeyond.com > > Eyes Beyond Mobile: 0419 868 494 > > Information Technology Web : > http://www.eyesbeyond.com > > > > > -- > Have blue screens given you the blues, go to www.freebsd.org > for the cure. > > 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 Mon May 28 11:50:16 2001 Delivered-To: freebsd-java@freebsd.org Received: from albatross.prod.itd.earthlink.net (albatross.mail.pas.earthlink.net [207.217.120.120]) by hub.freebsd.org (Postfix) with ESMTP id 68D4737B423 for ; Mon, 28 May 2001 11:50:04 -0700 (PDT) (envelope-from ipthomas_77@yahoo.com) Received: from scarlet.my.domain (1Cust51.tnt12.buffalo.ny.da.uu.net [63.42.225.51]) by albatross.prod.itd.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id LAA06898; Mon, 28 May 2001 11:49:37 -0700 (PDT) Received: (from ipt@localhost) by scarlet.my.domain (8.9.3/8.9.3) id OAA29249; Mon, 28 May 2001 14:49:19 -0400 (EDT) (envelope-from ipt) From: User Ipt Ian Patrick Thomas Message-Id: <200105281849.OAA29249@scarlet.my.domain> Subject: Re: can't install jdk1.2.2 In-Reply-To: <59063B5B4D98D311BC0D0001FA7E452205FD9C1C@l04.research.kpn.com> from "Koster, K.J." at "May 28, 2001 04:09:59 pm" To: K.J.Koster@kpn.com (Koster, K.J.) Date: Mon, 28 May 2001 14:49:19 -0400 (EDT) Cc: freebsd-java@freebsd.org Operating-System: FreeBSD X-Mailer: ELM [version 2.4ME+ PL54 (25)] 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 O.K. the linux jdk works. I have linux emu loaded and running as stated by kldstat Id Refs Address Size Name 1 3 0xc0100000 1872dc kernel 2 1 0xc0a5d000 f000 linux.ko 3 1 0xc0a73000 2000 star_saver.ko I went ahead and tried to build again. I think it almost completed this time. Here is the latest error. The building went on for about 15-20 minutes with no problems before this happened. gmake[3]: *** [obj/i386/awt_AWTEvent.o] Error 1 gmake[3]: Leaving directory `/usr/ports/java/jdk12-beta/work/build/freebsd/sun/awt' gmake[2]: *** [optimized] Error 2 gmake[2]: Leaving directory `/usr/ports/java/jdk12-beta/work/build/freebsd/sun/awt' gmake[1]: *** [all] Error 1 gmake[1]: Leaving directory `/usr/ports/java/jdk12-beta/work/build/freebsd/sun' gmake: *** [all] Error 1 *** Error code 2 Stop. *** Error code 1 Stop. *** Error code 1 Stop. Should I upgrade my version of gmake or maybe use a flag when doing the make? My current version of gmake is GNU Make version 3.77. It appears that this is the latest one in the ports though. As of yet I have used no flags or options during the build, just make. Ian As told by, Koster, K.J. [Charset iso-8859-1 unsupported, filtering to ASCII...] > If the Linux JDK works you don't have to brandelf anything. > > Kees Jan > > ================================================ > You are only young once, > but you can stay immature all your life. > > > > -----Original Message----- > > From: User Ipt Ian Patrick Thomas [mailto:ipthomas_77@yahoo.com] > > Sent: maandag 28 mei 2001 14:36 > > To: glewis@eyesbeyond.com > > Cc: freebsd-java@FreeBSD.ORG > > Subject: Re: can't install jdk1.2.2 > > > > > > O.K., I put the Makefile back to its original state and > > got the same > > errors. I went ahead and loaded the linux module and did > > java -version on > > the linux 1.2. > > > > java version "1.2.2" > > Classic VM (build Linux_JDK_1.2.2_RC4, green threads, sunwjit) > > > > It looks functional to me. I'll try to compile some of > > my programs with > > the linux javac and see what happens. RMI should give me a noticable > > difference, sans skeletons after rmic on serializables. What > > binary's should > > I run brandelf on? All of the ones in /usr/local/linux-jdk1.2.2/bin, > > /usr/local/linux-jdk1.2.2/bin/i386/green_threads, or > > /usr/local/linux-jdk1.2.2/bin/i386/native_threads? Also is > > it brandelf -t > > Linux [filename here]? Thanks for the help so far. > > > > Ian > > > > As told by, Greg Lewis > > > On Sun, May 27, 2001 at 02:03:31PM -0400, User Ipt Ian > > Patrick Thomas wrote: > > > > After having the following installed without any problems > > > > > > > > javavmwrapper-1.1 > > > > jdk-1.1.8 > > > > jfc-1.1.1 > > > > linux_base-6.1 > > > > linux-jdk-1.2.2 > > > > > > > > the port for jdk12-beta will still not build. Here are > > the errors. > > > > > > > > ELF binary type not known. Use "brandelf" to brand it. > > > > ELF binary type not known. Use "brandelf" to brand it. > > > > > > Does the Linux JDK 1.2.2 that you installed without any > > problems actually > > > work? The above lines appear to indicate that it does not > > and that the > > > binaries need branding. Can you actually do a "java > > -version" with it? > > > > > > > ERROR: Your ALT_BOOTDIR environment variable does not point > > > > to a valid JDK for bootstrapping this build. > > > > A JDK 1.2 or 1.2.x build must be bootstrapped against > > > > a 1.2-V (or later) build. Please update your ALT_BOOTDIR > > > > setting, or just unset it, and try again. > > > > > > > > gmake: *** [sanity] Error 1 > > > > *** Error code 2 > > > > > > > > Stop. > > > > *** Error code 1 > > > > > > > > Stop. > > > > > > > > I have checked this variable in the Makefile. It seems > > to be looking in the right place. > > > > > > > > MAKE_ENV= HAVE_DPS="no" \ > > > > ALT_BOOTDIR="${JDK12DIR}" \ > > > > > > > > Here is the variable it references. > > > > > > > > JDK12DIR?= ${LOCALBASE}/linux-jdk${JDK_VERSION} > > > > > > > > Here is the path of the linuxjdk it is looking for. > > > > > > > > /usr/local/linux-jdk1.2.2 > > > > > > Does this JDK actually work for you? > > > > > > > So I delete ALT_BOOTDIR as it advises, and the build > > gets further, but ... > > > > > > Note that this warning is part of the Sun sources. In this > > case you must > > > get the Linux JDK you have working, and then the native > > port will be able > > > to build. You cannot just delete ALT_BOOTDIR as then it > > will assume a > > > default place for the bootstrap compiler as below (a place > > which doesn't > > > exist!). > > > > > > > I'm stumped. I'll keep fiddling but maybe someone else > > has ran into this. I'm running 3.5 > > > > Stable. > > > > > > Brandelf the Linux JDK binaries and see how things go. > > > > > > regards, Greg > > > -- > > > Greg Lewis Email : glewis@eyesbeyond.com > > > Eyes Beyond Mobile: 0419 868 494 > > > Information Technology Web : > > http://www.eyesbeyond.com > > > > > > > > > -- > > Have blue screens given you the blues, go to www.freebsd.org > > for the cure. > > > > 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 > -- Have blue screens given you the blues, go to www.freebsd.org for the cure. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon May 28 13:56:29 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 1936237B422 for ; Mon, 28 May 2001 13:56:27 -0700 (PDT) (envelope-from jonc@itouch.co.nz) Received: (from jonc@localhost) by itouch.co.nz (8.11.3/8.11.1) id f4SKtgs15371; Tue, 29 May 2001 08:55:42 +1200 (NZST) (envelope-from jonc) Date: Tue, 29 May 2001 08:55:42 +1200 From: Jonathan Chen To: Greg Lewis Cc: "'FreeBSD Java mailing list'" Subject: Re: Who used jdk 1.1.8 and linux 1.2.2? Message-ID: <20010529085542.B13807@itouchnz.itouch> References: <59063B5B4D98D311BC0D0001FA7E452205FD9C0E@l04.research.kpn.com> <20010528092920.C30532@itouchnz.itouch> <20010528084414.B31291@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: <20010528084414.B31291@misty.eyesbeyond.com>; from glewis@eyesbeyond.com on Mon, May 28, 2001 at 08:44:14AM +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 Mon, May 28, 2001 at 08:44:14AM +0930, Greg Lewis wrote: > On Mon, May 28, 2001 at 09:29:20AM +1200, Jonathan Chen wrote: > > On Fri, May 25, 2001 at 10:21:49AM +0100, Koster, K.J. wrote: > > > Dear All, > > > > > > We are collecting a tremendous number of JDK's. We have 1.1.8, 1.2.2 (2x), > > > 1.3.0. As soon as someone sits down to write the Makefiles for them, 1.3.1 > > > and 1.4 should be added to this list. > > > > > > I appreciate that 1.1.8 is genuinely useful for applet development, and also > > > our only official native port. I don't think it's time to pull the plug on > > > it. Still I'd like to know how widely it's used. > > > > Since it's the only official native port, it's the only version that I > > can install on our production machines. > > Is this a management policy? Just curious as I'm using the native 1.2.2 > JDK in a production environment without any problems. Sort of. They want to have something that's readily installable. If I can get the build to *complete* the second time, I could possibly make a package for jdk1.2beta, and that should satisfy them.. Cheers. -- Jonathan Chen ---------------------------------------------------------------------- Power corrupts, Absolute Power is pretty neat To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue May 29 5:13:25 2001 Delivered-To: freebsd-java@freebsd.org Received: from smtp25.baruch.cuny.edu (smtp25.baruch.cuny.edu [150.210.155.201]) by hub.freebsd.org (Postfix) with SMTP id 4C64937B424 for ; Tue, 29 May 2001 05:13:23 -0700 (PDT) (envelope-from choepete@mindspring.com) Received: (qmail 29660 invoked by uid 0); 29 May 2001 10:49:27 -0000 Received: from unknown (HELO mindspring.com) (150.210.151.46) by smtp25.baruch.cuny.edu with SMTP; 29 May 2001 10:49:27 -0000 Message-ID: <3B1392D4.E4C01BD0@mindspring.com> Date: Tue, 29 May 2001 08:15:16 -0400 From: Peter Choe X-Mailer: Mozilla 4.75 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-java@freebsd.org Subject: finally got jdk12-beta ports installed, now... 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 so, i finally got jdk12-beta installed. if anyone is interested, i had the linux emulator from freebsd3.4 running. after install the latest emulator as suggested by K.J Koster, it installed. so, just make sure everything you need is the latest. now the question is, can i deinstall, jdk1.1.8 and linux-jdk1.2.2 and still use jdk 1.2? peter choe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue May 29 5:22:44 2001 Delivered-To: freebsd-java@freebsd.org Received: from heinz.jollem.com (c104187.upc-c.chello.nl [212.187.104.187]) by hub.freebsd.org (Postfix) with ESMTP id 215EB37B423 for ; Tue, 29 May 2001 05:22:40 -0700 (PDT) (envelope-from ernst@heinz.jollem.com) Received: (from ernst@localhost) by heinz.jollem.com (8.11.3/8.11.3) id f4TCKtJ01266; Tue, 29 May 2001 14:20:55 +0200 (CEST) (envelope-from ernst) Date: Tue, 29 May 2001 14:20:55 +0200 From: Ernst de Haan To: Peter Choe Cc: freebsd-java@FreeBSD.ORG Subject: Re: finally got jdk12-beta ports installed, now... Message-ID: <20010529142055.B1215@c187104187.telekabel.chello.nl> References: <3B1392D4.E4C01BD0@mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3B1392D4.E4C01BD0@mindspring.com>; from choepete@mindspring.com on Tue, May 29, 2001 at 08:15:16AM -0400 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 Peter, > now the question is, can i deinstall, jdk1.1.8 and linux-jdk1.2.2 and > still use jdk 1.2? Yup. I guess so. I think I've done that too, in the past. Ernst -- Ernst de Haan Java Architect Jollem Information Technology "Come to me all who are weary and burdened and I will give you rest" -- Jesus Christ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue May 29 5:23:29 2001 Delivered-To: freebsd-java@freebsd.org Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by hub.freebsd.org (Postfix) with ESMTP id 78E3E37B422 for ; Tue, 29 May 2001 05:23:26 -0700 (PDT) (envelope-from K.J.Koster@kpn.com) Received: by l04.research.kpn.com with Internet Mail Service (5.5.2653.19) id ; Tue, 29 May 2001 14:23:24 +0100 Message-ID: <59063B5B4D98D311BC0D0001FA7E452205FD9C23@l04.research.kpn.com> From: "Koster, K.J." To: 'Peter Choe' , freebsd-java@FreeBSD.ORG Subject: RE: finally got jdk12-beta ports installed, now... Date: Tue, 29 May 2001 14:23:17 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" 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 Dear Peter, > > so, i finally got jdk12-beta installed. if anyone is > interested, i had > the linux emulator from freebsd3.4 running. after install the latest > emulator as suggested by K.J Koster, it installed. so, just make sure > everything you need is the latest. > Ah, the quest comes to an end. Congratulations. :) > > now the question is, can i deinstall, jdk1.1.8 and linux-jdk1.2.2 and > still use jdk 1.2? > Yes, it is now a fullyfeatured, independent JDK. In fact, you can use it to bootstrap the JDK builds instead of using the linux one, so you can deinstall the linux emu as well if you like. That's irony for you. :-) Kees Jan ================================================ You are only young once, but you can stay immature all your life. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue May 29 5:27:39 2001 Delivered-To: freebsd-java@freebsd.org Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by hub.freebsd.org (Postfix) with ESMTP id AC49F37B422 for ; Tue, 29 May 2001 05:27:37 -0700 (PDT) (envelope-from K.J.Koster@kpn.com) Received: by l04.research.kpn.com with Internet Mail Service (5.5.2653.19) id ; Tue, 29 May 2001 14:27:36 +0100 Message-ID: <59063B5B4D98D311BC0D0001FA7E452205FD9C24@l04.research.kpn.com> From: "Koster, K.J." To: 'Jonathan Chen' Cc: 'FreeBSD Java mailing list' Subject: RE: Who used jdk 1.1.8 and linux 1.2.2? Date: Tue, 29 May 2001 14:27:34 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" 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 Dear Jonathan, > > > > Is this a management policy? Just curious as I'm using the > native 1.2.2 > > JDK in a production environment without any problems. > > Sort of. They want to have something that's readily installable. If I > can get the build to *complete* the second time, I could possibly make > a package for jdk1.2beta, and that should satisfy them.. > Hmm. Interesting. I use the jdk-beta from /usr/ports and it installs out of the box on my 4.3-stable boxen. What version of FreeBSD are you using, and what version of the linux emulator? Kees Jan ================================================ You are only young once, but you can stay immature all your life. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue May 29 5:52:56 2001 Delivered-To: freebsd-java@freebsd.org Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by hub.freebsd.org (Postfix) with ESMTP id BF59937B423 for ; Tue, 29 May 2001 05:52:53 -0700 (PDT) (envelope-from K.J.Koster@kpn.com) Received: by l04.research.kpn.com with Internet Mail Service (5.5.2653.19) id ; Tue, 29 May 2001 14:52:49 +0100 Message-ID: <59063B5B4D98D311BC0D0001FA7E452205FD9C25@l04.research.kpn.com> From: "Koster, K.J." To: 'User Ipt Ian Patrick Thomas' Cc: freebsd-java@freebsd.org Subject: RE: can't install jdk1.2.2 Date: Tue, 29 May 2001 14:52:44 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" 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 Dear Ian, > > I went ahead and tried to build again. I think it > almost completed this time. Here is the > latest error. The building went on for about 15-20 minutes > with no problems before this happened. > Good, so you're making progress. :-) > > gmake[3]: *** [obj/i386/awt_AWTEvent.o] Error 1 > gmake[3]: Leaving directory > ... snip ... > Stop. > Ah, what would be interesting is the error message that occurs just before this lot. You managed to cut of the interesting bits. :-) Try "man script" to find a way to capture all build output to a file. You can mail me the file at k.j.koster@kpn.com if you wish. Please don't post such a file to this list, that would be rude and people might pee in your cornflakes if you do (new expression I learned, had to use it, sorry). Anyway, since this is an AWT error message please make sure that you have XFree86 and OpenMotif installed. > > Should I upgrade my version of gmake or maybe use a > flag when doing the make? > Nope, this is not a gmake problem. Kees Jan ================================================ You are only young once, but you can stay immature all your life. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue May 29 7: 0: 8 2001 Delivered-To: freebsd-java@freebsd.org Received: from hobbits.brel.com (hobbits.brel.com [203.127.231.61]) by hub.freebsd.org (Postfix) with ESMTP id B4ADB37B422 for ; Tue, 29 May 2001 06:59:58 -0700 (PDT) (envelope-from calvinng@hobbits.brel.com) Received: by hobbits.brel.com (Postfix, from userid 1001) id 4A76D3329; Tue, 29 May 2001 21:59:53 +0800 (SGT) Date: Tue, 29 May 2001 21:59:53 +0800 From: Calvin NG To: "Koster, K.J." Cc: 'Peter Choe' , freebsd-java@FreeBSD.ORG Subject: Re: finally got jdk12-beta ports installed, now... Message-ID: <20010529215953.A27810@brel.com> References: <59063B5B4D98D311BC0D0001FA7E452205FD9C23@l04.research.kpn.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <59063B5B4D98D311BC0D0001FA7E452205FD9C23@l04.research.kpn.com>; from K.J.Koster@kpn.com on Tue, May 29, 2001 at 02:23:17PM +0100 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 Greetings, Yes, you can. In fact, I tar up the whole directory, /usr/local/jdk1.2.2 and copy this to other machines that requires the JDK. This saves having to go thru the whole tedious process. But, IIRC, you are not allowed to put it up for others to download it. Part of the Sun's license. Regards, /calvin lines with :> are quotes from Koster, K.J.'s email :> Dear Peter, :> :> > :> > so, i finally got jdk12-beta installed. if anyone is :> > interested, i had :> > the linux emulator from freebsd3.4 running. after install the latest :> > emulator as suggested by K.J Koster, it installed. so, just make sure :> > everything you need is the latest. :> > :> Ah, the quest comes to an end. Congratulations. :) :> :> > :> > now the question is, can i deinstall, jdk1.1.8 and linux-jdk1.2.2 and :> > still use jdk 1.2? :> > :> Yes, it is now a fullyfeatured, independent JDK. In fact, you can use it to :> bootstrap the JDK builds instead of using the linux one, so you can :> deinstall the linux emu as well if you like. That's irony for you. :-) :> :> Kees Jan :> :> ================================================ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue May 29 9:55: 4 2001 Delivered-To: freebsd-java@freebsd.org Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by hub.freebsd.org (Postfix) with ESMTP id 621BD37B446 for ; Tue, 29 May 2001 09:55:01 -0700 (PDT) (envelope-from K.J.Koster@kpn.com) Received: by l04.research.kpn.com with Internet Mail Service (5.5.2653.19) id ; Tue, 29 May 2001 18:55:00 +0100 Message-ID: <59063B5B4D98D311BC0D0001FA7E452205FD9C2C@l04.research.kpn.com> From: "Koster, K.J." To: 'User Ipt Ian Patrick Thomas' Cc: 'FreeBSD Java mailing list' Subject: RE: output from script Date: Tue, 29 May 2001 18:54:56 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" 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 Dear Ian, The relevant bits of the error are this: ../../../../src/freebsd/native/sun/awt/awt_AWTEvent.c In file included from ../../../../src/freebsd/native/sun/awt/awt_AWTEvent.c:37: ../../../../src/freebsd/native/sun/awt/awt_p.h:29: X11/Intrinsic.h: No such file or directory ../../../../src/freebsd/native/sun/awt/awt_p.h:30: X11/IntrinsicP.h: No such file or directory ../../../../src/freebsd/native/sun/awt/awt_p.h:31: X11/Shell.h: No such file or directory ../../../../src/freebsd/native/sun/awt/awt_p.h:32: X11/StringDefs.h: No such file or directory ../../../../src/freebsd/native/sun/awt/awt_p.h:33: X11/Xatom.h: No such file or directory ../../../../src/freebsd/native/sun/awt/awt_p.h:34: X11/keysym.h: No such file or directory ../../../../src/freebsd/native/sun/awt/awt_p.h:35: X11/keysymdef.h: No such file or directory In file included from /usr/X11R6/include/Xm/CascadeB.h:47, from ../../../../src/freebsd/native/sun/awt/awt_p.h:36, Are these files (X11/Intrinsic.h, etc) installed? Kees Jan ================================================ You are only young once, but you can stay immature all your life. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue May 29 10:37:44 2001 Delivered-To: freebsd-java@freebsd.org Received: from heinz.jollem.com (c104187.upc-c.chello.nl [212.187.104.187]) by hub.freebsd.org (Postfix) with ESMTP id 1CC2237B423; Tue, 29 May 2001 10:37:35 -0700 (PDT) (envelope-from ernst@heinz.jollem.com) Received: (from ernst@localhost) by heinz.jollem.com (8.11.3/8.11.3) id f4THZsf02716; Tue, 29 May 2001 19:35:54 +0200 (CEST) (envelope-from ernst) Date: Tue, 29 May 2001 19:35:54 +0200 (CEST) Message-Id: <200105291735.f4THZsf02716@heinz.jollem.com> To: FreeBSD-gnats-submit@freebsd.org Subject: From: ernst@jollem.com Reply-To: ernst@jollem.com Cc: java@freebsd.org X-send-pr-version: 3.113 X-GNATS-Notify: 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 >Submitter-Id: current-users >Originator: Ernst de Haan >Organization: Jollem Information Technology >Confidential: no >Synopsis: Update port: java/orion (1.4.5_4 -> 1.4.5_5) >Severity: non-critical >Priority: low >Category: ports >Class: maintainer-update >Release: FreeBSD 4.3-RELEASE i386 >Environment: System: FreeBSD heinz.jollem.com 4.3-RELEASE FreeBSD 4.3-RELEASE #5: Mon May 14 16:08:56 CEST 2001 root@heinz.jollem.com:/usr/src/sys/compile/HEINZ i386 >Description: Changes: Now installing a man page for 'orionctl'. Correctly stopping Orion and removing the PID file on deinstall. Verbose install (removed the @-signs). Changes the exit codes in the script (and documented them in the man page) Extended the documentation in pkg-descr. >How-To-Repeat: N/A >Fix: diff -ruN --exclude=CVS --exclude=work /usr/ports/java/orion/Makefile /home/ernst/freebsd-ports/java/orion/Makefile --- /usr/ports/java/orion/Makefile Tue May 29 16:29:40 2001 +++ /home/ernst/freebsd-ports/java/orion/Makefile Tue May 29 19:29:34 2001 @@ -7,7 +7,7 @@ PORTNAME= orion PORTVERSION= 1.4.5 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= java www MASTER_SITES= ftp://ftp.sunet.se/pub/database/utils/orionserver/ \ ${MASTER_SITE_LOCAL} \ @@ -36,22 +36,27 @@ .include do-install: - @${MKDIR} ${ORION_HOME} - @${CP} -R ${WRKSRC}/* ${ORION_HOME} - @${CHMOD} 755 `find ${ORION_HOME} -type d` - @${CAT} ${FILESDIR}/${ORIONCTL_NAME} \ + ${MKDIR} ${ORION_HOME} + ${CP} -R ${WRKSRC}/* ${ORION_HOME} + ${CHMOD} 755 `find ${ORION_HOME} -type d` + ${CAT} ${FILESDIR}/${ORIONCTL_NAME} \ | ${SED} "/%%PORTNAME%%/s//${PORTNAME}/" \ | ${SED} "/%%PORTVERSION%%/s//${PORTVERSION}/" \ | ${SED} "/%%ORION_HOME%%/s//${ORION_HOME:S/\//\\\//g}/" \ | ${SED} "/%%RC_SCRIPT_NAME%%/s//${PORTNAME}.sh/" \ | ${SED} "/%%JAVA_HOME%%/s//${JAVA_HOME:S/\//\\\//g}/" \ > ${ORIONCTL_DEST} - @${CHMOD} 755 ${ORIONCTL_DEST} - @${LN} -sf ${ORIONCTL_DEST} ${RC_SCRIPT} - @${MKDIR} ${ORION_HOME}/application-deployments - @${LN} -sf ${JAVA_HOME}/jre/tools.jar ${ORION_HOME}/tools.jar + ${CAT} ${FILESDIR}/${ORIONCTL_NAME}.1 \ + | ${SED} "/%%PREFIX%%/s//${PREFIX:S/\//\\\//g}/" \ + > ${WRKDIR}/${ORIONCTL_NAME}.1 + ${CHMOD} 755 ${ORIONCTL_DEST} + ${LN} -sf ${ORIONCTL_DEST} ${RC_SCRIPT} + ${MKDIR} ${ORION_HOME}/application-deployments + ${LN} -sf ${JAVA_HOME}/lib/tools.jar ${ORION_HOME}/tools.jar + ${INSTALL_MAN} ${WRKDIR}/orionctl.1 ${MANPREFIX}/man/man1 post-install: - @echo "${PORTTITLE} ${PORTVERSION} has been installed in ${ORION_HOME}." + @${ECHO} "${PORTTITLE} ${PORTVERSION} has been installed in ${ORION_HOME}." + @${ECHO} "Use 'man orionctl' for information about starting and stopping Orion." .include diff -ruN --exclude=CVS --exclude=work /usr/ports/java/orion/files/orionctl /home/ernst/freebsd-ports/java/orion/files/orionctl --- /usr/ports/java/orion/files/orionctl Tue May 29 16:29:40 2001 +++ /home/ernst/freebsd-ports/java/orion/files/orionctl Mon May 28 11:18:49 2001 @@ -30,9 +30,8 @@ if [ "${AS_RC_SCRIPT}" = "yes" ]; then echo "" fi - echo "${NAME}: ERROR: Orion has already been started." echo "${NAME}: ERROR: Found Orion PID file at ${PID_FILE}. Orion is probably already running." - exit 64 + exit 1 fi # Make sure the Orion directory does exist @@ -41,7 +40,7 @@ echo "" fi echo "${NAME}: ERROR: Unable to find Orion home directory at ${ORION_HOME}." - exit 64 + exit 2 fi # Make sure the Orion JAR file exists @@ -50,7 +49,7 @@ echo "" fi echo "${NAME}: ERROR: Unable to find Orion JAR file at ${JAR_FILE}." - exit 64 + exit 3 fi # Make sure the Java VM can be found @@ -59,7 +58,7 @@ echo "" fi echo "${NAME}: ERROR: Unable to find Java VM at ${JAVA_HOME}." - exit 64 + exit 4 fi # Create the process ID file @@ -83,14 +82,14 @@ # ...otherwise complain else echo "${NAME}: ERROR: Unable to find Orion PID file at ${PID_FILE}. Orion is probably not running." - exit 64 + exit 16 fi else if [ "${AS_RC_SCRIPT}" = "yes" ]; then echo -n " ${NAME}" fi /bin/kill `cat ${PID_FILE}` - rm ${PID_FILE} + rm -f ${PID_FILE} fi ;; diff -ruN --exclude=CVS --exclude=work /usr/ports/java/orion/files/orionctl.1 /home/ernst/freebsd-ports/java/orion/files/orionctl.1 --- /usr/ports/java/orion/files/orionctl.1 Thu Jan 1 01:00:00 1970 +++ /home/ernst/freebsd-ports/java/orion/files/orionctl.1 Mon May 28 10:00:07 2001 @@ -0,0 +1,96 @@ +.Dd May 26, 2001 +.Dt ORIONCTL 1 +.Os FreeBSD +.Sh NAME +.Nm orionctl +.Nd Orion server control interface +.Sh SYNOPSIS +.Nm +.Op Ar start | Ar stop +.Sh DESCRIPTION +The +.Nm +shell script provides an interface to the Orion application server. +.Pp +This script has 2 modes of operation, One is +.Em shell script mode +and the other is +.Em rc script mode . +If run as +.Nm +shell script mode is used, otherwise rc script mode is used. Shell script mode +assumes that the script is used as a normal shell script, while rc script mode +assumes the script is used to start or stop Orion at boot time. +.Pp +The script expects exactly one argument, either +.Ar start +or +.Ar stop . +If more than one argument is given, then all arguments but the first are +ignored. +.Bl -tag -width indent +.It Ar start +Start Orion, if it is not already running. The ID of the started process will +be saved in a PID file. +.It Ar stop +Stop Orion, if it is actually running. The process with the ID stored in +the PID file will be killed. +.El +.Sh ERRORS +The following error conditions are detected. They will be checked in the +specified order. In every case where an error message is printed it will be +prepended by the name of the script +.Em ( basename $0 ) . +.Pp +If no argument is passed, or if an argument other than +.Ar start +or +.Ar stop +is passed as the first argument, then a simple help message is printed and the +script is exited with error code 64. +.Pp +In +.Em rc script mode +a newline will be printed before any error message. +.Pp +When using the argument +.Ar start +the following errors conditions can be triggered: +.Bl -tag -width indent +.It Em The Orion PID file already exists. +Orion is probably already running. Prints an error message and exits the +script with error code 1. +.It Em Orion home directory cannot be found +Prints an error message and exits the script with error code 2. +.It Em Orion JAR file cannot be found +Prints an error message and exits the script with error code 3. +.It Em Java VM cannot be found +Prints an error message and exits the script with error code 4. +.El +.Pp +When using the argument +.Ar stop +the following error condition can be triggered: +.Bl -tag -width indent +.It Em The Orion PID file cannot be found +Orion is probably not running. Prints an error message and exits the script +with error code 16. +.El +.Sh FILES +.Bl -tag -width -indent +.It Pa /var/run/orion.pid +The Orion PID file that is used to store the process ID of the currently +running Orion process in. It is deleted as soon as Orion is stopped and +recreated when Orion is started. It should never be writable for anyone but +.Em root , +.It Pa %%PREFIX%%/etc/rc.d/orion.sh +A symlink to the +.Nm +script. This causes Orion to be started at boot time. When called from this +location the +.Nm +script will use +.Em rc script mode . +.El +.Sh AUTHORS +.An Ernst de Haan Aq ernst@jollem.com diff -ruN --exclude=CVS --exclude=work /usr/ports/java/orion/pkg-deinstall /home/ernst/freebsd-ports/java/orion/pkg-deinstall --- /usr/ports/java/orion/pkg-deinstall Thu Jan 1 01:00:00 1970 +++ /home/ernst/freebsd-ports/java/orion/pkg-deinstall Mon May 28 11:22:20 2001 @@ -0,0 +1,8 @@ +#!/bin/sh +PID_FILE=/var/run/orion.pid +if [ -e ${PID_FILE} ]; then + echo -n "Orion is still running." + /bin/kill `cat ${PID_FILE}` + rm -f ${PID_FILE} + echo " Stopped." +fi diff -ruN --exclude=CVS --exclude=work /usr/ports/java/orion/pkg-descr /home/ernst/freebsd-ports/java/orion/pkg-descr --- /usr/ports/java/orion/pkg-descr Thu May 17 15:42:08 2001 +++ /home/ernst/freebsd-ports/java/orion/pkg-descr Sat May 26 16:15:41 2001 @@ -7,4 +7,10 @@ use. You need to purchase a license from http://www.orionserver.com/ if you would like to use this server commercially. +This port will install an 'orionctl' script in ${PREFIX}/bin that can be used +to start and stop the server. A man page for this script is installed. + +A script in ${PREFIX}/etc/rc.d/orion.sh typically causes Orion to be started +at boot time. This script is in fact a symlink to the orionctl script. + WWW: http://www.orionserver.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue May 29 11:17:46 2001 Delivered-To: freebsd-java@freebsd.org Received: from hawk.mail.pas.earthlink.net (hawk.mail.pas.earthlink.net [207.217.120.22]) by hub.freebsd.org (Postfix) with ESMTP id D682B37B42C for ; Tue, 29 May 2001 11:17:43 -0700 (PDT) (envelope-from ipthomas_77@yahoo.com) Received: from scarlet.my.domain (1Cust43.tnt3.buffalo.ny.da.uu.net [63.20.91.43]) by hawk.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id LAA19767; Tue, 29 May 2001 11:17:56 -0700 (PDT) Received: (from ipt@localhost) by scarlet.my.domain (8.9.3/8.9.3) id OAA17195; Tue, 29 May 2001 14:16:57 -0400 (EDT) (envelope-from ipt) From: User Ipt Ian Patrick Thomas Message-Id: <200105291816.OAA17195@scarlet.my.domain> Subject: Re: output from script To: K.J.Koster@kpn.com (Koster, K.J.) Date: Tue, 29 May 2001 14:16:56 -0400 (EDT) Cc: freebsd-java@freebsd.org In-Reply-To: from "Koster, K.J." at May 29, 2001 06:54:56 PM Operating-System: FreeBSD 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 Where in /usr/X11R6 should I look? Is this the list of files I should check for? X11/Intrinsic.h: X11/IntrinsicP.h: X11/Shell.h: X11/StringDefs.h: X11/Xatom.h: X11/keysym.h: X11/keysymdef.h: Ian As told by, Koster, K.J. > > Dear Ian, > > The relevant bits of the error are this: > > ../../../../src/freebsd/native/sun/awt/awt_AWTEvent.c > In file included from > ../../../../src/freebsd/native/sun/awt/awt_AWTEvent.c:37: > ../../../../src/freebsd/native/sun/awt/awt_p.h:29: X11/Intrinsic.h: No such > file or directory > ../../../../src/freebsd/native/sun/awt/awt_p.h:30: X11/IntrinsicP.h: No such > file or directory > ../../../../src/freebsd/native/sun/awt/awt_p.h:31: X11/Shell.h: No such file > or directory > ../../../../src/freebsd/native/sun/awt/awt_p.h:32: X11/StringDefs.h: No such > file or directory > ../../../../src/freebsd/native/sun/awt/awt_p.h:33: X11/Xatom.h: No such file > or directory > ../../../../src/freebsd/native/sun/awt/awt_p.h:34: X11/keysym.h: No such > file or directory > ../../../../src/freebsd/native/sun/awt/awt_p.h:35: X11/keysymdef.h: No such > file or directory > In file included from /usr/X11R6/include/Xm/CascadeB.h:47, > from ../../../../src/freebsd/native/sun/awt/awt_p.h:36, > > Are these files (X11/Intrinsic.h, etc) installed? > > Kees Jan > > ================================================ > You are only young once, > but you can stay immature all your life. > -- Have blue screens given you the blues, go to www.freebsd.org for the cure. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue May 29 11:55:45 2001 Delivered-To: freebsd-java@freebsd.org Received: from hawk.mail.pas.earthlink.net (hawk.mail.pas.earthlink.net [207.217.120.22]) by hub.freebsd.org (Postfix) with ESMTP id 3CCFB37B424 for ; Tue, 29 May 2001 11:55:38 -0700 (PDT) (envelope-from ipthomas_77@yahoo.com) Received: from scarlet.my.domain (1Cust43.tnt3.buffalo.ny.da.uu.net [63.20.91.43]) by hawk.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id LAA17974; Tue, 29 May 2001 11:55:47 -0700 (PDT) Received: (from ipt@localhost) by scarlet.my.domain (8.9.3/8.9.3) id OAA36717; Tue, 29 May 2001 14:54:47 -0400 (EDT) (envelope-from ipt) From: User Ipt Ian Patrick Thomas Message-Id: <200105291854.OAA36717@scarlet.my.domain> Subject: Re: output from script To: K.J.Koster@kpn.com (Koster, K.J.) Date: Tue, 29 May 2001 14:54:44 -0400 (EDT) Cc: freebsd-java@freebsd.org In-Reply-To: from "Koster, K.J." at May 29, 2001 08:23:27 PM Operating-System: FreeBSD 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 O.K. I'll run locate.updatedb first to make sure I'm up to speed on new additions. Worst case. If they are not in here, where should I look for help on how to build them? Ian As told by, Koster, K.J. > > Dear Ian, > > They *should* be in /usr/X11R6/include/X11, and if it's not I have no idea > where to get it, to be honest. Let's think about when we know if they're > there. > > "locate Intrinsic.h" may be a good thing to try. > > Kees Jan > > ================================================ > You are only young once, > but you can stay immature all your life. > > > > -----Original Message----- > > From: User Ipt Ian Patrick Thomas [mailto:ipthomas_77@yahoo.com] > > Sent: dinsdag 29 mei 2001 19:17 > > To: K.J.Koster@kpn.com > > Cc: freebsd-java@freebsd.org > > Subject: Re: output from script > > > > > > Where in /usr/X11R6 should I look? Is this the list of > > files I should check for? > > > > X11/Intrinsic.h: > > X11/IntrinsicP.h: > > X11/Shell.h: > > X11/StringDefs.h: > > X11/Xatom.h: > > X11/keysym.h: > > X11/keysymdef.h: > > > > Ian > > > > As told by, Koster, K.J. > > > > > > Dear Ian, > > > > > > The relevant bits of the error are this: > > > > > > ../../../../src/freebsd/native/sun/awt/awt_AWTEvent.c > > > In file included from > > > ../../../../src/freebsd/native/sun/awt/awt_AWTEvent.c:37: > > > ../../../../src/freebsd/native/sun/awt/awt_p.h:29: > > X11/Intrinsic.h: No such > > > file or directory > > > ../../../../src/freebsd/native/sun/awt/awt_p.h:30: > > X11/IntrinsicP.h: No such > > > file or directory > > > ../../../../src/freebsd/native/sun/awt/awt_p.h:31: > > X11/Shell.h: No such file > > > or directory > > > ../../../../src/freebsd/native/sun/awt/awt_p.h:32: > > X11/StringDefs.h: No such > > > file or directory > > > ../../../../src/freebsd/native/sun/awt/awt_p.h:33: > > X11/Xatom.h: No such file > > > or directory > > > ../../../../src/freebsd/native/sun/awt/awt_p.h:34: > > X11/keysym.h: No such > > > file or directory > > > ../../../../src/freebsd/native/sun/awt/awt_p.h:35: > > X11/keysymdef.h: No such > > > file or directory > > > In file included from /usr/X11R6/include/Xm/CascadeB.h:47, > > > from > > ../../../../src/freebsd/native/sun/awt/awt_p.h:36, > > > > > > Are these files (X11/Intrinsic.h, etc) installed? > > > > > > Kees Jan > > > > > > ================================================ > > > You are only young once, > > > but you can stay immature all your life. > > > > > > > > > -- > > Have blue screens given you the blues, go to www.freebsd.org > > for the cure. > > > -- Have blue screens given you the blues, go to www.freebsd.org for the cure. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue May 29 12: 5:47 2001 Delivered-To: freebsd-java@freebsd.org Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by hub.freebsd.org (Postfix) with ESMTP id 4CF6237B42C for ; Tue, 29 May 2001 12:05:45 -0700 (PDT) (envelope-from K.J.Koster@kpn.com) Received: by l04.research.kpn.com with Internet Mail Service (5.5.2653.19) id ; Tue, 29 May 2001 21:05:44 +0100 Message-ID: <59063B5B4D98D311BC0D0001FA7E452205FD9C2F@l04.research.kpn.com> From: "Koster, K.J." To: 'User Ipt Ian Patrick Thomas' Cc: freebsd-java@freebsd.org Subject: RE: output from script Date: Tue, 29 May 2001 21:05:39 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" 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 Dear Ian, > > O.K. I'll run locate.updatedb first to make sure I'm > up to speed on new > additions. Worst case. If they are not in here, where > should I look for help on how to build them? > To be honest: I have no idea. Is OpenMotif installed properly? Kees Jan ================================================ You are only young once, but you can stay immature all your life. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue May 29 12:32: 1 2001 Delivered-To: freebsd-java@freebsd.org Received: from hawk.mail.pas.earthlink.net (hawk.mail.pas.earthlink.net [207.217.120.22]) by hub.freebsd.org (Postfix) with ESMTP id 176A437B423 for ; Tue, 29 May 2001 12:31:41 -0700 (PDT) (envelope-from ipthomas_77@yahoo.com) Received: from scarlet.my.domain (1Cust43.tnt3.buffalo.ny.da.uu.net [63.20.91.43]) by hawk.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id MAA20822; Tue, 29 May 2001 12:31:53 -0700 (PDT) Received: (from ipt@localhost) by scarlet.my.domain (8.9.3/8.9.3) id PAA61537; Tue, 29 May 2001 15:30:22 -0400 (EDT) (envelope-from ipt) From: User Ipt Ian Patrick Thomas Message-Id: <200105291930.PAA61537@scarlet.my.domain> Subject: Re: output from script To: K.J.Koster@kpn.com (Koster, K.J.) Date: Tue, 29 May 2001 15:30:19 -0400 (EDT) Cc: freebsd-java@freebsd.org In-Reply-To: from "Koster, K.J." at May 29, 2001 09:05:39 PM Operating-System: FreeBSD 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 I found this when I ran pkg_info. open-motif-devel-2.1.30 Open Motif 2.1.30 - Development libraries and header Any idea on how to test if it works? Usually packages won't register until they have been installed correctly. Ian As told by, Koster, K.J. > > Dear Ian, > > > > > O.K. I'll run locate.updatedb first to make sure I'm > > up to speed on new > > additions. Worst case. If they are not in here, where > > should I look for help on how to build them? > > > To be honest: I have no idea. > > Is OpenMotif installed properly? > > Kees Jan > > ================================================ > You are only young once, > but you can stay immature all your life. > -- Have blue screens given you the blues, go to www.freebsd.org for the cure. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue May 29 14:23:20 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 BCEE837B422 for ; Tue, 29 May 2001 14:23:16 -0700 (PDT) (envelope-from jonc@itouch.co.nz) Received: (from jonc@localhost) by itouch.co.nz (8.11.3/8.11.1) id f4TLMsS95950; Wed, 30 May 2001 09:22:54 +1200 (NZST) (envelope-from jonc) Date: Wed, 30 May 2001 09:22:54 +1200 From: Jonathan Chen To: "Koster, K.J." Cc: "'FreeBSD Java mailing list'" Subject: Re: Who used jdk 1.1.8 and linux 1.2.2? Message-ID: <20010530092254.A93515@itouchnz.itouch> References: <59063B5B4D98D311BC0D0001FA7E452205FD9C24@l04.research.kpn.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <59063B5B4D98D311BC0D0001FA7E452205FD9C24@l04.research.kpn.com>; from K.J.Koster@kpn.com on Tue, May 29, 2001 at 02:27:34PM +0100 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, May 29, 2001 at 02:27:34PM +0100, Koster, K.J. wrote: > Dear Jonathan, > > > > > > > Is this a management policy? Just curious as I'm using the > > native 1.2.2 > > > JDK in a production environment without any problems. > > > > Sort of. They want to have something that's readily installable. If I > > can get the build to *complete* the second time, I could possibly make > > a package for jdk1.2beta, and that should satisfy them.. > > > Hmm. Interesting. I use the jdk-beta from /usr/ports and it installs out of > the box on my 4.3-stable boxen. I'll give it another shot. The past few weeks, I had trouble pulling the Linux-rpms from the FTP-servers; I think they have since been fixed... Cheers. -- Jonathan Chen ---------------------------------------------------------------------- Do not take life too seriously. You will never get out of it alive. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed May 30 1:58:45 2001 Delivered-To: freebsd-java@freebsd.org Received: from hobbits.brel.com (hobbits.brel.com [203.127.231.61]) by hub.freebsd.org (Postfix) with ESMTP id 4F44A37B42C for ; Wed, 30 May 2001 01:58:40 -0700 (PDT) (envelope-from calvinng@hobbits.brel.com) Received: by hobbits.brel.com (Postfix, from userid 1001) id 6D14D3353; Wed, 30 May 2001 16:58:35 +0800 (SGT) Date: Wed, 30 May 2001 16:58:35 +0800 From: Calvin NG To: "Koster, K.J." Cc: 'User Ipt Ian Patrick Thomas' , 'FreeBSD Java mailing list' Subject: Re: output from script Message-ID: <20010530165835.C29304@brel.com> References: <59063B5B4D98D311BC0D0001FA7E452205FD9C2C@l04.research.kpn.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <59063B5B4D98D311BC0D0001FA7E452205FD9C2C@l04.research.kpn.com>; from K.J.Koster@kpn.com on Tue, May 29, 2001 at 06:54:56PM +0100 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 Greetings, The X11 include files should be in /usr/X11R6/include, i.e., X11/Intrinsic.h is actually /usr/X11R6/include/X11/Intrinsic.h Regards, /calvin lines with :> are quotes from Koster, K.J.'s email :> Dear Ian, :> :> The relevant bits of the error are this: :> :> ../../../../src/freebsd/native/sun/awt/awt_AWTEvent.c :> In file included from :> ../../../../src/freebsd/native/sun/awt/awt_AWTEvent.c:37: :> ../../../../src/freebsd/native/sun/awt/awt_p.h:29: X11/Intrinsic.h: No such :> file or directory :> ../../../../src/freebsd/native/sun/awt/awt_p.h:30: X11/IntrinsicP.h: No such :> file or directory :> ../../../../src/freebsd/native/sun/awt/awt_p.h:31: X11/Shell.h: No such file :> or directory :> ../../../../src/freebsd/native/sun/awt/awt_p.h:32: X11/StringDefs.h: No such :> file or directory :> ../../../../src/freebsd/native/sun/awt/awt_p.h:33: X11/Xatom.h: No such file :> or directory :> ../../../../src/freebsd/native/sun/awt/awt_p.h:34: X11/keysym.h: No such :> file or directory :> ../../../../src/freebsd/native/sun/awt/awt_p.h:35: X11/keysymdef.h: No such :> file or directory :> In file included from /usr/X11R6/include/Xm/CascadeB.h:47, :> from ../../../../src/freebsd/native/sun/awt/awt_p.h:36, :> :> Are these files (X11/Intrinsic.h, etc) installed? :> :> Kees Jan :> :> ================================================ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed May 30 2:48:39 2001 Delivered-To: freebsd-java@freebsd.org Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by hub.freebsd.org (Postfix) with ESMTP id 2E1E037B424 for ; Wed, 30 May 2001 02:48:37 -0700 (PDT) (envelope-from K.J.Koster@kpn.com) Received: by l04.research.kpn.com with Internet Mail Service (5.5.2653.19) id ; Wed, 30 May 2001 11:48:35 +0100 Message-ID: <59063B5B4D98D311BC0D0001FA7E452205FD9C36@l04.research.kpn.com> From: "Koster, K.J." To: 'User Ipt Ian Patrick Thomas' Cc: 'FreeBSD Java mailing list' Subject: RE: output from script Date: Wed, 30 May 2001 11:48:34 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" 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 Dear Ian, > > The X11 include files should be in /usr/X11R6/include, > i.e., X11/Intrinsic.h is actually > /usr/X11R6/include/X11/Intrinsic.h > This header file is part of the "programmers libs and header files" in /stand/sysinstall. Since you have installed the XFree-4 port, rather than XFree-3 using /stand/sysinstall I am not sure where you should get that file without blowing away your installation. :-) Kees Jan ================================================ You are only young once, but you can stay immature all your life. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed May 30 5: 4:50 2001 Delivered-To: freebsd-java@freebsd.org Received: from mail.noos.fr (racine.noos.net [212.198.2.71]) by hub.freebsd.org (Postfix) with ESMTP id 9266837B423 for ; Wed, 30 May 2001 05:04:47 -0700 (PDT) (envelope-from clefevre@redirect.to) Received: (qmail 32490628 invoked by uid 0); 30 May 2001 11:02:36 -0000 Received: from d081.dhcp212-198-228.noos.fr (HELO gits.dyndns.org) ([212.198.228.81]) (envelope-sender ) by racine.noos.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 30 May 2001 11:02:36 -0000 Received: (from root@localhost) by gits.dyndns.org (8.11.3/8.11.3) id f4UB2Zc57307; Wed, 30 May 2001 13:02:35 +0200 (CEST) (envelope-from clefevre@redirect.to) To: ernst@jollem.com Cc: FreeBSD-gnats-submit@freebsd.org, java@freebsd.org Subject: Re: ports/27748: Update port: java/orion (1.4.5_4 -> 1.4.5_5) References: <200105291735.f4THZsf02716@heinz.jollem.com> X-Face: V|+c;4!|B?E%BE^{E6);aI.[<97Zd*>^#%Y5Cxv;%Y[PT-LW3;A:fRrJ8+^k"e7@+30g0YD0*^^3jgyShN7o?a]C la*Zv'5NA,=963bM%J^o]C Reply-To: Cyrille Lefevre In-Reply-To: From: Cyrille Lefevre Date: 30 May 2001 13:02:34 +0200 Message-ID: Lines: 29 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) 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 ernst@jollem.com writes: [snip] > diff -ruN --exclude=CVS --exclude=work /usr/ports/java/orion/pkg-deinstall /home/ernst/freebsd-ports/java/orion/pkg-deinstall > --- /usr/ports/java/orion/pkg-deinstall Thu Jan 1 01:00:00 1970 > +++ /home/ernst/freebsd-ports/java/orion/pkg-deinstall Mon May 28 11:22:20 2001 > @@ -0,0 +1,8 @@ > +#!/bin/sh > +PID_FILE=/var/run/orion.pid > +if [ -e ${PID_FILE} ]; then > + echo -n "Orion is still running." > + /bin/kill `cat ${PID_FILE}` > + rm -f ${PID_FILE} > + echo " Stopped." > +fi As I told you messages and <200105290016.f4T0GbU72454@gits.dyndns.org> in -ports, this pkg-deinstall script isn't needed since it could be done as a one liner to the beginning of pkg-plist such as : @unexec [ -e /var/run/orion.pid ] && { echo killing orion.; kill `cat /var/run/orion.pid`; echo remoing pid file.; rm -f /var/run/orion.pid; } I just wanted this noted in gnats. the commiter will decide :P Cyrille. -- home: mailto:clefevre@redirect.to UNIX is user-friendly; it's just particular work: mailto:Cyrille.Lefevre@edf.fr about who it chooses to be friends with. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed May 30 11:43:45 2001 Delivered-To: freebsd-java@freebsd.org Received: from gull.mail.pas.earthlink.net (gull.mail.pas.earthlink.net [207.217.121.85]) by hub.freebsd.org (Postfix) with ESMTP id D184B37B423 for ; Wed, 30 May 2001 11:43:42 -0700 (PDT) (envelope-from ipthomas_77@yahoo.com) Received: from scarlet.my.domain (1Cust1.tnt12.buffalo.ny.da.uu.net [63.42.225.1]) by gull.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id LAA18541; Wed, 30 May 2001 11:43:15 -0700 (PDT) Received: (from ipt@localhost) by scarlet.my.domain (8.9.3/8.9.3) id OAA01047; Wed, 30 May 2001 14:42:44 -0400 (EDT) (envelope-from ipt) From: User Ipt Ian Patrick Thomas Message-Id: <200105301842.OAA01047@scarlet.my.domain> Subject: Re: output from script To: calvinng@brel.com (Calvin NG) Date: Wed, 30 May 2001 14:42:44 -0400 (EDT) Cc: freebsd-java@freebsd.org In-Reply-To: <20010530165835.C29304@brel.com> from "Calvin NG" at May 30, 2001 04:58:35 PM Operating-System: FreeBSD 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 I don't have this file. Here is what is in that directory. ICE SM bitmaps pixmaps PEX5 Xaw extensions qt PM Xmu fonts xpm.h I installed X from the packages on the xfree86 website, not from the ports. Should I go and install it from the ports or find out which package I didn't install originally? The latter would probably be easier. Ian As told by, Calvin NG > > Greetings, > > The X11 include files should be in /usr/X11R6/include, > i.e., X11/Intrinsic.h is actually /usr/X11R6/include/X11/Intrinsic.h > > Regards, > /calvin > > lines with :> are quotes from Koster, K.J.'s email > :> Dear Ian, > :> > :> The relevant bits of the error are this: > :> > :> ../../../../src/freebsd/native/sun/awt/awt_AWTEvent.c > :> In file included from > :> ../../../../src/freebsd/native/sun/awt/awt_AWTEvent.c:37: > :> ../../../../src/freebsd/native/sun/awt/awt_p.h:29: X11/Intrinsic.h: No such > :> file or directory > :> ../../../../src/freebsd/native/sun/awt/awt_p.h:30: X11/IntrinsicP.h: No such > :> file or directory > :> ../../../../src/freebsd/native/sun/awt/awt_p.h:31: X11/Shell.h: No such file > :> or directory > :> ../../../../src/freebsd/native/sun/awt/awt_p.h:32: X11/StringDefs.h: No such > :> file or directory > :> ../../../../src/freebsd/native/sun/awt/awt_p.h:33: X11/Xatom.h: No such file > :> or directory > :> ../../../../src/freebsd/native/sun/awt/awt_p.h:34: X11/keysym.h: No such > :> file or directory > :> ../../../../src/freebsd/native/sun/awt/awt_p.h:35: X11/keysymdef.h: No such > :> file or directory > :> In file included from /usr/X11R6/include/Xm/CascadeB.h:47, > :> from ../../../../src/freebsd/native/sun/awt/awt_p.h:36, > :> > :> Are these files (X11/Intrinsic.h, etc) installed? > :> > :> Kees Jan > :> > :> ================================================ > -- Have blue screens given you the blues, go to www.freebsd.org for the cure. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu May 31 16:34:10 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 0F85837B424 for ; Thu, 31 May 2001 16:34:08 -0700 (PDT) (envelope-from jonc@itouch.co.nz) Received: (from jonc@localhost) by itouch.co.nz (8.11.3/8.11.1) id f4VNY2I02516 for freebsd-java@freebsd.org; Fri, 1 Jun 2001 11:34:02 +1200 (NZST) (envelope-from jonc) Date: Fri, 1 Jun 2001 11:34:02 +1200 From: Jonathan Chen To: freebsd-java@freebsd.org Subject: Swing 1.1 differences between jdk-1.1 and jdk-1.2 Message-ID: <20010601113402.A98694@itouchnz.itouch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i 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 So, I finally managed to get jdk12-beta installed on my system (don't you just love the ports system!); and I ran a couple of Swing programs, including the SwingSet demo, to compare the differences. The most obvious difference is the font display (spacing, especially), which is quite significant. This is most obvious with the SwingSet demo, on the "Plain Text" panel. Does anyone on the list have any config-tweaks they can suggest so that Swing looks better under FreeBSD jdk-1.2? Cheers. -- Jonathan Chen ---------------------------------------------------------------------- Opportunities are seldom labeled To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Jun 1 0:23:11 2001 Delivered-To: freebsd-java@freebsd.org Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by hub.freebsd.org (Postfix) with ESMTP id 53FD937B422 for ; Fri, 1 Jun 2001 00:23:08 -0700 (PDT) (envelope-from K.J.Koster@kpn.com) Received: by l04.research.kpn.com with Internet Mail Service (5.5.2653.19) id ; Fri, 1 Jun 2001 09:23:07 +0100 Message-ID: <59063B5B4D98D311BC0D0001FA7E452205FD9C43@l04.research.kpn.com> From: "Koster, K.J." To: 'Jonathan Chen' Cc: freebsd-java@FreeBSD.ORG Subject: RE: Swing 1.1 differences between jdk-1.1 and jdk-1.2 Date: Fri, 1 Jun 2001 09:23:05 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" 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 Dear Jonathan, > > I finally managed to get jdk12-beta installed on my system (don't you > just love the ports system!); and I ran a couple of Swing programs, > including the SwingSet demo, to compare the differences. > Ah, well. The current beta is stable for server-side development and use. Swing and AWT are problematic and in some cases downright broken. Try the SwingSet and SwingSet2 demos. In particular, observer pop-up dialog box behaviour. Have a look at my website and a problem description: http://kjkoster.org/java/index.jsp?page=content/demo.jsp Kees Jan ================================================ You are only young once, but you can stay immature all your life. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Jun 1 1:45:18 2001 Delivered-To: freebsd-java@freebsd.org Received: from heinz.jollem.com (c104187.upc-c.chello.nl [212.187.104.187]) by hub.freebsd.org (Postfix) with ESMTP id CAD3E37B422 for ; Fri, 1 Jun 2001 01:45:13 -0700 (PDT) (envelope-from ernst@heinz.jollem.com) Received: (from ernst@localhost) by heinz.jollem.com (8.11.3/8.11.3) id f518hV401781 for java@freebsd.org; Fri, 1 Jun 2001 10:43:31 +0200 (CEST) (envelope-from ernst) Date: Fri, 1 Jun 2001 10:43:31 +0200 From: Ernst de Haan To: java@freebsd.org Subject: JDK ports revisited Message-ID: <20010601104331.A1730@c187104187.telekabel.chello.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i 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 all, Following is the suggested short term solution to solving the issues surrounding our JDK ports. Considering the discussions we had I would like to make this proposal and I would *really* like to see some feedback, either positive or negative. Step 1: ------- (a) Rename a few ports: * java/jdk -> java/jdk11 * java/jdk12-beta -> java/jdk12 * java/linux-jdk -> java/linux-blackdown-jdk12 * java/linux-jdk13 -> java/linux-sun-jdk13 * java/linux-jdk14 -> java/linux-sun-jdk14 * java/jdk-doc -> java/jdk11-doc (b) Make sure the old port directories display a warning message and then divert the make process to the new directory. The old port would become a `slave' to the new one. This should avoid problems with _DEPENDS stuff in depending ports. (c) Change the installation directory for these ports (I omitted ${PREFIX} for brevity: * jdk11: jdk1.1.8 [OK] * jdk12: jdk1.2.2 -> jdk1.2.2b10 * linux-blackdown-jdk12: linux-jdk1.2.2 -> linux-blackdown-jdk1.2.2 * linux-sun-jdk13: linux-jdk1.3.0 -> linux-sun-jdk1.3.0 * linux-sun-jdk14: linux-jdk1.4.0 -> linux-sun-jdk1.4.0b1 * jdk11-doc: jdk1.1.8/docs -> share/doc/jdk1.1/ (d) Make sure the ports also install symlinks so that the old installation directory still points to the new directory. This should make sure that _DEPENDS stuff in other ports should not break. Step 2: ------- (a) Find out what all the dependent ports are, modify them all and then submit a patch. (b) Add a few new ports, for *instance*: * java/linux-sun-jdk12 # The Sun JDK 1.2 for Linux Will install to ${PREFIX}/linux-sun-jdk1.2.2 * java/linux-ibm-jdk12 # The IBM JDK 1.2 for Linux Will install to ${PREFIX}/linux-ibm-jdk1.2.2 * java/jdk12-doc # The JDK 1.2 docs Will install to ${PREFIX}/share/doc/jdk1.2/ * java/jdk13-doc # The JDK 1.3 docs Will install to ${PREFIX}/share/doc/jdk1.3/ * java/jdk14-doc # The JDK 1.4 docs Will install to ${PREFIX}/share/doc/jdk1.4/ Step 3 ------ After eveything works as expected, and the new ports have been updated, we can safely remove the symlinks in ${PREFIX} (we'll modify the ports makefiles for this) and we can remove the slave ports in /usr/ports/java/. Kind regards, /Ernst -- Ernst de Haan Java Architect Jollem Information Technology "Come to me all who are weary and burdened and I will give you rest" -- Jesus Christ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Jun 1 1:58:17 2001 Delivered-To: freebsd-java@freebsd.org Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by hub.freebsd.org (Postfix) with ESMTP id 486CC37B422 for ; Fri, 1 Jun 2001 01:58:15 -0700 (PDT) (envelope-from K.J.Koster@kpn.com) Received: by l04.research.kpn.com with Internet Mail Service (5.5.2653.19) id ; Fri, 1 Jun 2001 10:58:13 +0100 Message-ID: <59063B5B4D98D311BC0D0001FA7E452205FD9C48@l04.research.kpn.com> From: "Koster, K.J." To: 'Ernst de Haan' Cc: java@FreeBSD.ORG Subject: RE: JDK ports revisited Date: Fri, 1 Jun 2001 10:58:13 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" 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 Dear Ernst, > > (b) Add a few new ports, for *instance*: > * java/linux-sun-jdk12 # The Sun JDK 1.2 for Linux > Will install to ${PREFIX}/linux-sun-jdk1.2.2 > > * java/linux-ibm-jdk12 # The IBM JDK 1.2 for Linux > Will install to ${PREFIX}/linux-ibm-jdk1.2.2 > Do we need all the Linux 1.2.2 JDK's when 1.3.x is out and 1.4 hitting soon? I suggest we don't bother and just use Linux JDK's 1.3.x and higher. Perhaps we should keep linux sun 1.2.2 around for comparison with our native port, but the linux ibm 1.2.2 port is unnecessary. Kees Jan ================================================ You are only young once, but you can stay immature all your life. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Jun 1 2:37:15 2001 Delivered-To: freebsd-java@freebsd.org Received: from heinz.jollem.com (c104187.upc-c.chello.nl [212.187.104.187]) by hub.freebsd.org (Postfix) with ESMTP id AABE337B424 for ; Fri, 1 Jun 2001 02:37:08 -0700 (PDT) (envelope-from ernst@heinz.jollem.com) Received: (from ernst@localhost) by heinz.jollem.com (8.11.3/8.11.3) id f519ZJU03246; Fri, 1 Jun 2001 11:35:19 +0200 (CEST) (envelope-from ernst) Date: Fri, 1 Jun 2001 11:35:19 +0200 From: Ernst de Haan To: "Koster, K.J." Cc: java@FreeBSD.ORG Subject: Re: JDK ports revisited Message-ID: <20010601113519.A3234@c187104187.telekabel.chello.nl> References: <59063B5B4D98D311BC0D0001FA7E452205FD9C48@l04.research.kpn.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <59063B5B4D98D311BC0D0001FA7E452205FD9C48@l04.research.kpn.com>; from K.J.Koster@kpn.com on Fri, Jun 01, 2001 at 10:58:13AM +0100 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 Dear Kees Jan, > > (b) Add a few new ports, for *instance*: > > * java/linux-sun-jdk12 # The Sun JDK 1.2 for Linux > > Will install to ${PREFIX}/linux-sun-jdk1.2.2 > > > > * java/linux-ibm-jdk12 # The IBM JDK 1.2 for Linux > > Will install to ${PREFIX}/linux-ibm-jdk1.2.2 > > > Do we need all the Linux 1.2.2 JDK's when 1.3.x is out and 1.4 hitting soon? > I suggest we don't bother and just use Linux JDK's 1.3.x and higher. > > Perhaps we should keep linux sun 1.2.2 around for comparison with our native > port, but the linux ibm 1.2.2 port is unnecessary. Well, I wouldn't mind having the 1.2 JDK's in the ports tree, the more JDK's I can test with, the better. I write my applications to work on JDK 1.2 too, if you switch to 1.3 then all of your clients will be forced to do the same. So what do you think of the general approach? Kind regards. Ernst -- Ernst de Haan Java Architect Jollem Information Technology "Come to me all who are weary and burdened and I will give you rest" -- Jesus Christ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Jun 1 2:44:48 2001 Delivered-To: freebsd-java@freebsd.org Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by hub.freebsd.org (Postfix) with ESMTP id DA69937B422 for ; Fri, 1 Jun 2001 02:44:45 -0700 (PDT) (envelope-from K.J.Koster@kpn.com) Received: by l04.research.kpn.com with Internet Mail Service (5.5.2653.19) id ; Fri, 1 Jun 2001 11:44:45 +0100 Message-ID: <59063B5B4D98D311BC0D0001FA7E452205FD9C49@l04.research.kpn.com> From: "Koster, K.J." To: 'Ernst de Haan' Cc: java@FreeBSD.ORG Subject: RE: JDK ports revisited Date: Fri, 1 Jun 2001 11:44:42 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" 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 Dear Ernst, > > if > you switch to 1.3 then all of your clients will be forced to > do the same. > As they should do anyway. Java is not mature and it's constantly changing. I think it's constantly improving. Even Orion (your specialty I gather) requires some features of 1.3, even if it runs just dandy for most applications with 1.2.2. The orion-interest list will tell you more about that. > > So what do you think of the general approach? > Fine with me. I don't have to do the work. :-) Kees Jan ================================================ You are only young once, but you can stay immature all your life. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Jun 1 2:59:34 2001 Delivered-To: freebsd-java@freebsd.org Received: from khan.acc.umu.se (khan.acc.umu.se [130.239.18.139]) by hub.freebsd.org (Postfix) with ESMTP id EBCEC37B422 for ; Fri, 1 Jun 2001 02:59:30 -0700 (PDT) (envelope-from markush@acc.umu.se) Received: from shaka.acc.umu.se (markush@shaka.acc.umu.se [130.239.18.148]) by khan.acc.umu.se (8.11.2/8.11.2) with ESMTP id f519xSq02787; Fri, 1 Jun 2001 11:59:28 +0200 (MEST) Received: (from markush@localhost) by shaka.acc.umu.se (8.11.2/8.11.2) id f519xSV09129; Fri, 1 Jun 2001 11:59:28 +0200 (MEST) Date: Fri, 1 Jun 2001 11:59:27 +0200 From: Markus Holmberg To: Ernst de Haan Cc: java@FreeBSD.ORG Subject: Re: JDK ports revisited Message-ID: <20010601115927.A9094@acc.umu.se> References: <20010601104331.A1730@c187104187.telekabel.chello.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3-current-20000511i In-Reply-To: <20010601104331.A1730@c187104187.telekabel.chello.nl>; from ernst@jollem.com on Fri, Jun 01, 2001 at 10:43:31AM +0200 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'm supporting this proposed change. Markus On Fri, Jun 01, 2001 at 10:43:31AM +0200, Ernst de Haan wrote: > Hi all, > > Following is the suggested short term solution to solving the issues > surrounding our JDK ports. Considering the discussions we had I would like to > make this proposal and I would *really* like to see some feedback, either > positive or negative. -- Markus Holmberg | Give me Unix or give me a typewriter. markush@acc.umu.se | http://www.freebsd.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Jun 1 3: 8:19 2001 Delivered-To: freebsd-java@freebsd.org Received: from heinz.jollem.com (c104187.upc-c.chello.nl [212.187.104.187]) by hub.freebsd.org (Postfix) with ESMTP id 6319237B422 for ; Fri, 1 Jun 2001 03:08:15 -0700 (PDT) (envelope-from ernst@heinz.jollem.com) Received: (from ernst@localhost) by heinz.jollem.com (8.11.3/8.11.3) id f51A6Wj03901; Fri, 1 Jun 2001 12:06:32 +0200 (CEST) (envelope-from ernst) Date: Fri, 1 Jun 2001 12:06:32 +0200 From: Ernst de Haan To: "Koster, K.J." Cc: java@FreeBSD.ORG Subject: Re: JDK ports revisited Message-ID: <20010601120632.A3889@c187104187.telekabel.chello.nl> References: <59063B5B4D98D311BC0D0001FA7E452205FD9C49@l04.research.kpn.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <59063B5B4D98D311BC0D0001FA7E452205FD9C49@l04.research.kpn.com>; from K.J.Koster@kpn.com on Fri, Jun 01, 2001 at 11:44:42AM +0100 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 Kees Jan, > > > > So what do you think of the general approach? > > > Fine with me. I don't have to do the work. :-) My next point would be the planning of the work. I would like to propose *YOU* to make the changes to the ports, test them privately, then send them to the list for some more testing and then make sure they get accepted by the committers ;-P /Ernst -- Ernst de Haan Java Architect Jollem Information Technology "Come to me all who are weary and burdened and I will give you rest" -- Jesus Christ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Jun 1 6: 0:49 2001 Delivered-To: freebsd-java@freebsd.org Received: from heinz.jollem.com (c104187.upc-c.chello.nl [212.187.104.187]) by hub.freebsd.org (Postfix) with ESMTP id D4A0937B424; Fri, 1 Jun 2001 06:00:40 -0700 (PDT) (envelope-from ernst@heinz.jollem.com) Received: (from root@localhost) by heinz.jollem.com (8.11.3/8.11.3) id f51Cwx327700; Fri, 1 Jun 2001 14:58:59 +0200 (CEST) (envelope-from ernst) Date: Fri, 1 Jun 2001 14:58:59 +0200 (CEST) Message-Id: <200106011258.f51Cwx327700@heinz.jollem.com> To: FreeBSD-gnats-submit@freebsd.org Subject: From: ernst@jollem.com Reply-To: ernst@jollem.com Cc: java@freebsd.org X-send-pr-version: 3.113 X-GNATS-Notify: 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 >Submitter-Id: current-users >Originator: Ernst de Haan >Organization: Jollem Information Technology >Confidential: no >Synopsis: New port: java/jdom >Severity: non-critical >Priority: low >Category: ports >Class: change-request >Release: FreeBSD 4.3-RELEASE i386 >Environment: System: FreeBSD heinz.jollem.com 4.3-RELEASE FreeBSD 4.3-RELEASE #5: Mon May 14 16:08:56 CEST 2001 root@heinz.jollem.com:/usr/src/sys/compile/HEINZ i386 >Description: Java library for accessing and manipulating XML documents. >How-To-Repeat: N/A >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # java/jdom # java/jdom/Makefile # java/jdom/pkg-comment # java/jdom/pkg-descr # java/jdom/pkg-plist # java/jdom/distinfo # echo c - java/jdom mkdir -p java/jdom > /dev/null 2>&1 echo x - java/jdom/Makefile sed 's/^X//' >java/jdom/Makefile << 'END-of-java/jdom/Makefile' X# New ports collection makefile for: JDOM X# Date created: June 1, 2001 X# Whom: Ernst de Haan X# X# $FreeBSD$ X# X XPORTNAME= jdom XPORTVERSION= 1.0b6 XCATEGORIES= java XMASTER_SITES= http://www.jdom.org/dist/binary/ XDISTNAME= ${PORTNAME}-${PORTVERSION:C/[0-9]*\.[0-9]*//} X XMAINTAINER= ernst@jollem.com X XPLIST_SUB+= TARGET_PREFIX=${TARGET_DIR:S/^${PREFIX}\///} XPLIST_SUB+= PREFIX=${PREFIX} XTARGET_DIR?= ${PREFIX}/share/java/${PORTNAME}-${PORTVERSION} X XWRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:C/[0-9]*\.[0-9]*//} X XNO_BUILD= yes X X.include X Xdo-install: X ${MKDIR} ${TARGET_DIR} X ${CP} -r ${WRKSRC}/* ${TARGET_DIR} X X.include END-of-java/jdom/Makefile echo x - java/jdom/pkg-comment sed 's/^X//' >java/jdom/pkg-comment << 'END-of-java/jdom/pkg-comment' XJava library for accessing and manipulating XML documents. END-of-java/jdom/pkg-comment echo x - java/jdom/pkg-descr sed 's/^X//' >java/jdom/pkg-descr << 'END-of-java/jdom/pkg-descr' XJDOM is a Java library for accessing and manipulating XML documents. XIt has a straightforward API, is a lightweight and fast, and is Xoptimized for the Java programmer. It's an alternative to DOM and XSAX, although it integrates well with both DOM and SAX. X XWWW: http://www.jdom.org/ END-of-java/jdom/pkg-descr echo x - java/jdom/pkg-plist sed 's/^X//' >java/jdom/pkg-plist << 'END-of-java/jdom/pkg-plist' X%%TARGET_PREFIX%%/etc/crypt.pl X%%TARGET_PREFIX%%/etc/replic.pl X%%TARGET_PREFIX%%/samples/sax/XMLFilterBase.java X%%TARGET_PREFIX%%/samples/sax/DataUnformatFilter.java X%%TARGET_PREFIX%%/samples/sax/FilterTest.java X%%TARGET_PREFIX%%/samples/sax/DataFormatFilter.java X%%TARGET_PREFIX%%/samples/sax/XMLWriter.java X%%TARGET_PREFIX%%/samples/sax/test1.xml X%%TARGET_PREFIX%%/samples/sax/test2.xml X%%TARGET_PREFIX%%/samples/DOMBuilderDemo.java X%%TARGET_PREFIX%%/samples/SAXBuilderDemo.java X%%TARGET_PREFIX%%/samples/TestXMLOutputter.java X%%TARGET_PREFIX%%/samples/WarReader.java X%%TARGET_PREFIX%%/samples/cdata.xml X%%TARGET_PREFIX%%/samples/contents.xml X%%TARGET_PREFIX%%/samples/fibo.xml X%%TARGET_PREFIX%%/samples/inline.xml X%%TARGET_PREFIX%%/samples/namespaces.xml X%%TARGET_PREFIX%%/samples/testNamespaces.xml X%%TARGET_PREFIX%%/samples/Count.java X%%TARGET_PREFIX%%/samples/web.xml X%%TARGET_PREFIX%%/lib/bin/antRun X%%TARGET_PREFIX%%/lib/bin/antRun.hid X%%TARGET_PREFIX%%/lib/ant.jar X%%TARGET_PREFIX%%/lib/collections.jar X%%TARGET_PREFIX%%/lib/collections.license X%%TARGET_PREFIX%%/lib/collections.readme X%%TARGET_PREFIX%%/lib/xerces.jar X%%TARGET_PREFIX%%/build/jdom-jdk11.jar X%%TARGET_PREFIX%%/build/jdom.jar X%%TARGET_PREFIX%%/src/java/org/jdom/adapters/XercesDOMAdapter.java X%%TARGET_PREFIX%%/src/java/org/jdom/adapters/CrimsonDOMAdapter.java X%%TARGET_PREFIX%%/src/java/org/jdom/adapters/DOMAdapter.java X%%TARGET_PREFIX%%/src/java/org/jdom/adapters/OracleV1DOMAdapter.java X%%TARGET_PREFIX%%/src/java/org/jdom/adapters/OracleV2DOMAdapter.java X%%TARGET_PREFIX%%/src/java/org/jdom/adapters/ProjectXDOMAdapter.java X%%TARGET_PREFIX%%/src/java/org/jdom/adapters/XML4JDOMAdapter.java X%%TARGET_PREFIX%%/src/java/org/jdom/adapters/AbstractDOMAdapter.java X%%TARGET_PREFIX%%/src/java/org/jdom/input/BuilderErrorHandler.java X%%TARGET_PREFIX%%/src/java/org/jdom/input/DOMBuilder.java X%%TARGET_PREFIX%%/src/java/org/jdom/input/SAXBuilder.java X%%TARGET_PREFIX%%/src/java/org/jdom/input/SAXBuilder.java.orig X%%TARGET_PREFIX%%/src/java/org/jdom/output/DOMOutputter.java X%%TARGET_PREFIX%%/src/java/org/jdom/output/NamespaceStack.java X%%TARGET_PREFIX%%/src/java/org/jdom/output/SAXOutputter.java X%%TARGET_PREFIX%%/src/java/org/jdom/output/XMLOutputter.java X%%TARGET_PREFIX%%/src/java/org/jdom/DataConversionException.java X%%TARGET_PREFIX%%/src/java/org/jdom/DocType.java X%%TARGET_PREFIX%%/src/java/org/jdom/Document.java X%%TARGET_PREFIX%%/src/java/org/jdom/Document.java.orig X%%TARGET_PREFIX%%/src/java/org/jdom/Element.java X%%TARGET_PREFIX%%/src/java/org/jdom/Element.java.orig X%%TARGET_PREFIX%%/src/java/org/jdom/Entity.java X%%TARGET_PREFIX%%/src/java/org/jdom/IllegalAddException.java X%%TARGET_PREFIX%%/src/java/org/jdom/Attribute.java X%%TARGET_PREFIX%%/src/java/org/jdom/IllegalNameException.java X%%TARGET_PREFIX%%/src/java/org/jdom/IllegalTargetException.java X%%TARGET_PREFIX%%/src/java/org/jdom/JDOMException.java X%%TARGET_PREFIX%%/src/java/org/jdom/Namespace.java X%%TARGET_PREFIX%%/src/java/org/jdom/PartialList.java X%%TARGET_PREFIX%%/src/java/org/jdom/ProcessingInstruction.java X%%TARGET_PREFIX%%/src/java/org/jdom/Verifier.java X%%TARGET_PREFIX%%/src/java/org/jdom/Verifier.java.orig X%%TARGET_PREFIX%%/src/java/org/jdom/IllegalDataException.java X%%TARGET_PREFIX%%/src/java/org/jdom/CDATA.java X%%TARGET_PREFIX%%/src/java/org/jdom/Comment.java X%%TARGET_PREFIX%%/build.bat X%%TARGET_PREFIX%%/TODO.txt X%%TARGET_PREFIX%%/README.txt X%%TARGET_PREFIX%%/LICENSE.txt X%%TARGET_PREFIX%%/COMMITTERS.txt X%%TARGET_PREFIX%%/CHANGES.txt X%%TARGET_PREFIX%%/build11.sh X%%TARGET_PREFIX%%/build11.bat X%%TARGET_PREFIX%%/build.xml X%%TARGET_PREFIX%%/build.sh X@dirrm %%TARGET_PREFIX%%/etc X@dirrm %%TARGET_PREFIX%%/samples/sax X@dirrm %%TARGET_PREFIX%%/samples X@dirrm %%TARGET_PREFIX%%/lib/bin X@dirrm %%TARGET_PREFIX%%/lib X@dirrm %%TARGET_PREFIX%%/build X@dirrm %%TARGET_PREFIX%%/src/java/org/jdom/adapters X@dirrm %%TARGET_PREFIX%%/src/java/org/jdom/input X@dirrm %%TARGET_PREFIX%%/src/java/org/jdom/output X@dirrm %%TARGET_PREFIX%%/src/java/org/jdom X@dirrm %%TARGET_PREFIX%%/src/java/org X@dirrm %%TARGET_PREFIX%%/src/java X@dirrm %%TARGET_PREFIX%%/src X@dirrm %%TARGET_PREFIX%% X@unexec rmdir %%PREFIX%%/share/java 2>/dev/null || true END-of-java/jdom/pkg-plist echo x - java/jdom/distinfo sed 's/^X//' >java/jdom/distinfo << 'END-of-java/jdom/distinfo' XMD5 (jdom-b6.tar.gz) = eaffabd4ce596421a5c0696224ee4347 END-of-java/jdom/distinfo exit To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Jun 1 9:33:42 2001 Delivered-To: freebsd-java@freebsd.org Received: from mail.xmission.com (mail.xmission.com [198.60.22.22]) by hub.freebsd.org (Postfix) with ESMTP id 9E3EE37B42C for ; Fri, 1 Jun 2001 09:33:39 -0700 (PDT) (envelope-from glewis@misty.eyesbeyond.com) Received: from [166.70.7.204] (helo=misty.eyesbeyond.com) by mail.xmission.com with esmtp (Exim 3.12 #1) id 155rrm-0002cu-00; Fri, 01 Jun 2001 10:33:39 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.1/8.11.1) id f51GV0419162; Sat, 2 Jun 2001 02:01:00 +0930 (CST) (envelope-from glewis) Date: Sat, 2 Jun 2001 02:00:59 +0930 From: Greg Lewis To: Ernst de Haan Cc: java@FreeBSD.ORG Subject: Re: JDK ports revisited Message-ID: <20010602020059.A18838@misty.eyesbeyond.com> References: <20010601104331.A1730@c187104187.telekabel.chello.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010601104331.A1730@c187104187.telekabel.chello.nl>; from ernst@jollem.com on Fri, Jun 01, 2001 at 10:43:31AM +0200 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 Fri, Jun 01, 2001 at 10:43:31AM +0200, Ernst de Haan wrote: > Following is the suggested short term solution to solving the issues > surrounding our JDK ports. Considering the discussions we had I would like to > make this proposal and I would *really* like to see some feedback, either > positive or negative. [Steps snipped] I think this is a great idea FWIW. To elaborate on a previous question I had. Lets say we are suddenly able to distribute a binary version of the J2SDK (1.2.2 for arguments sake). Is the jdk12 port then replaced by the binary distribution? Would we then create a src-jdk12 (or somesuch) port in case people want to compile it from source? I ask because a binary version may have some functionality missing (e.g. the DPS libraries) that people may want to make their own decision about and compile in. regards, Greg -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Mobile: 0419 868 494 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 Fri Jun 1 16: 8: 5 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 8CDF437B423 for ; Fri, 1 Jun 2001 16:08:03 -0700 (PDT) (envelope-from billh@gnuppy.monkey.org) Received: from billh by gnuppy.monkey.org with local (Exim 3.22 #1 (Debian)) id 155y1T-0001hC-00; Fri, 01 Jun 2001 16:08:03 -0700 To: freebsd-java@freebsd.org Subject: JavaOne anybody ? Cc: billh@gnuppy.monkey.org Message-Id: From: Bill Huey Date: Fri, 01 Jun 2001 16:08:03 -0700 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 Hello, BTW, I'm heading up to SF for one day on June the 6th for a licensee conference. If anybody would like to meet and hang out please contact me. I'm also looking for an extra JavaOne badge for entrance into the conference if folks aren't using it. The conference is so expensive I can't imagine why it wouldn't be, but I thought I'd try anyways. I've gotten reponses about this before, but searching through my mbox would be hell right now and possibly contain dated responses. ;-) Thanks. bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Jun 2 9:39:47 2001 Delivered-To: freebsd-java@freebsd.org Received: from matrix.dynamic-cast.com (r175-5-dsl.sea.lightrealm.net [216.122.5.175]) by hub.freebsd.org (Postfix) with ESMTP id 71B5437B424 for ; Sat, 2 Jun 2001 09:39:44 -0700 (PDT) (envelope-from herveyw@dynamic-cast.com) Received: from chillipepper (chillipepper.private.dynamic-cast.com [192.168.1.1]) by matrix.dynamic-cast.com (8.11.3/8.11.3) with SMTP id f52GdY825338; Sat, 2 Jun 2001 09:39:35 -0700 (PDT) (envelope-from herveyw@dynamic-cast.com) Message-ID: <020301c0eb82$9ce25b90$0101a8c0@chillipepper> From: "Hervey Wilson" To: "Ernst de Haan" , References: <20010601104331.A1730@c187104187.telekabel.chello.nl> Subject: Re: JDK ports revisited Date: Sat, 2 Jun 2001 09:39:36 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2462.0000 X-Mimeole: Produced By Microsoft MimeOLE V6.00.2462.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 From: "Ernst de Haan" > > Step 2: > ------- > > (a) Find out what all the dependent ports are, modify them all and then submit > a patch. > This is the area where I'd like to see some improvements - assuming of course I haven't missed something during my experimentation. Essentially, it appears that many of the Java ports (for example, Tomcat) have dependencies on the native jdk1.1.8 port in their Makefile although these ports work fine on the other JDK versions. I prefer to use the Linux JDK 1.3 port for the moment and find myself having to doctor these Makefiles in order get things to install. Is there a way this can be solved with a more generic dependency or did I just miss something obvious ? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Jun 2 9:43:28 2001 Delivered-To: freebsd-java@freebsd.org Received: from heinz.jollem.com (c104187.upc-c.chello.nl [212.187.104.187]) by hub.freebsd.org (Postfix) with ESMTP id 929C737B422 for ; Sat, 2 Jun 2001 09:43:24 -0700 (PDT) (envelope-from ernst@heinz.jollem.com) Received: (from ernst@localhost) by heinz.jollem.com (8.11.3/8.11.3) id f52GfcT11557; Sat, 2 Jun 2001 18:41:38 +0200 (CEST) (envelope-from ernst) Date: Sat, 2 Jun 2001 18:41:37 +0200 From: Ernst de Haan To: Hervey Wilson Cc: java@FreeBSD.ORG Subject: Re: JDK ports revisited Message-ID: <20010602184137.A11537@c187104187.telekabel.chello.nl> References: <20010601104331.A1730@c187104187.telekabel.chello.nl> <020301c0eb82$9ce25b90$0101a8c0@chillipepper> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <020301c0eb82$9ce25b90$0101a8c0@chillipepper>; from herveyw@dynamic-cast.com on Sat, Jun 02, 2001 at 09:39:36AM -0700 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 Hervey, > This is the area where I'd like to see some improvements - assuming of > course I haven't missed something during my experimentation. Essentially, it > appears that many of the Java ports (for example, Tomcat) have dependencies > on the native jdk1.1.8 port in their Makefile although these ports work fine > on the other JDK versions. I prefer to use the Linux JDK 1.3 port for the > moment and find myself having to doctor these Makefiles in order get things > to install. > > Is there a way this can be solved with a more generic dependency or did I > just miss something obvious ? This is where javavmwrapper comes in. Any Java port that needs a Java VM version 1.1 or higher should depend on javavmwrapper, instead of on java/jdk or so. If you give me a (partial) list of the ports that expose the problem you mention, then I'll see what I can do. I can probably fix them within a few days. Kind regards. Ernst -- Ernst de Haan Java Architect Jollem Information Technology "Come to me all who are weary and burdened and I will give you rest" -- Jesus Christ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Jun 2 9:50:55 2001 Delivered-To: freebsd-java@freebsd.org Received: from matrix.dynamic-cast.com (r175-5-dsl.sea.lightrealm.net [216.122.5.175]) by hub.freebsd.org (Postfix) with ESMTP id 2A6DB37B422 for ; Sat, 2 Jun 2001 09:50:52 -0700 (PDT) (envelope-from herveyw@dynamic-cast.com) Received: from chillipepper (chillipepper.private.dynamic-cast.com [192.168.1.1]) by matrix.dynamic-cast.com (8.11.3/8.11.3) with SMTP id f52Gol825750; Sat, 2 Jun 2001 09:50:47 -0700 (PDT) (envelope-from herveyw@dynamic-cast.com) Message-ID: <021101c0eb84$2dcd17c0$0101a8c0@chillipepper> From: "Hervey Wilson" To: "Ernst de Haan" Cc: References: <20010601104331.A1730@c187104187.telekabel.chello.nl> <020301c0eb82$9ce25b90$0101a8c0@chillipepper> <20010602184137.A11537@c187104187.telekabel.chello.nl> Subject: Re: JDK ports revisited Date: Sat, 2 Jun 2001 09:50:49 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2462.0000 X-Mimeole: Produced By Microsoft MimeOLE V6.00.2462.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 From: "Ernst de Haan" > > This is where javavmwrapper comes in. Any Java port that needs a Java VM > version 1.1 or higher should depend on javavmwrapper, instead of on java/jdk > or so. If you give me a (partial) list of the ports that expose the problem > you mention, then I'll see what I can do. I can probably fix them within a few > days. Thanks Ernst ! Here are the ports that I've come across that exhibit this problem: /usr/ports/www/jakarta-tomcat /usr/ports/www/jakarta-ant /usr/ports/www/mod_jk I notice that other ports do use javavmwrapper as a dependency, maybe I was just unlucky :) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Jun 2 9:52:40 2001 Delivered-To: freebsd-java@freebsd.org Received: from matrix.dynamic-cast.com (r175-5-dsl.sea.lightrealm.net [216.122.5.175]) by hub.freebsd.org (Postfix) with ESMTP id 986FD37B424 for ; Sat, 2 Jun 2001 09:52:38 -0700 (PDT) (envelope-from herveyw@dynamic-cast.com) Received: from chillipepper (chillipepper.private.dynamic-cast.com [192.168.1.1]) by matrix.dynamic-cast.com (8.11.3/8.11.3) with SMTP id f52GqY825762; Sat, 2 Jun 2001 09:52:34 -0700 (PDT) (envelope-from herveyw@dynamic-cast.com) Message-ID: <021f01c0eb84$6d4cbd10$0101a8c0@chillipepper> From: "Hervey Wilson" To: "Ernst de Haan" Cc: Subject: Re: JDK ports revisited Date: Sat, 2 Jun 2001 09:52:36 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2462.0000 X-Mimeole: Produced By Microsoft MimeOLE V6.00.2462.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 From: "Hervey Wilson" > > /usr/ports/www/jakarta-ant > Doh ! jakarta-ant is fine :) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Jun 2 10:55:21 2001 Delivered-To: freebsd-java@freebsd.org Received: from ammut.amduat.net (ammut.amduat.net [206.124.145.163]) by hub.freebsd.org (Postfix) with ESMTP id 20F1537B43E for ; Sat, 2 Jun 2001 10:55:18 -0700 (PDT) (envelope-from jsbarrett@acm.org) Received: from acm.org (osiris.amduat.net [10.0.0.69]) by ammut.amduat.net (8.11.3/8.11.3) with ESMTP id f524uW486082; Fri, 1 Jun 2001 21:56:32 -0700 (PDT) (envelope-from jsbarrett@acm.org) Message-ID: <3B1871FB.2090605@acm.org> Date: Fri, 01 Jun 2001 21:56:27 -0700 From: "Jacob S. Barrett" Reply-To: jbarrett@amduat.net User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9+) Gecko/20010601 X-Accept-Language: en-us MIME-Version: 1.0 To: Hervey Wilson Cc: Calvin NG , Bryan Liesner , Lanny Baron , freebsd-java@FreeBSD.ORG Subject: Re: mod_jk won't build on FreeBSD References: <01052722011204.34260@panda.FreeBSDsystems.COM> <20010527221148.O465-100000@gravy.kishka.net> <20010528122148.D24122@brel.com> <001b01c0e72f$527e1e10$0101a8c0@dynamiccast.com> Content-Type: text/plain; charset=us-ascii; format=flowed 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 I had all these same problems, as well as the pthread problem posted. I solved all of it by modifying the comiling instructions posted on the Tomcat website. I am running with the linux-jdk-1.3.0 symlinked to java. The below command build with no errors and loads in apache just fine. apxs -o mod_jk.so -DFREEBSD -W1,-pthread -I../jk -I/usr/local/java/include -I/usr/local/java/include/linux -c *.c ../jk/*.c I have Jakarta/Tomcat working, infact I am using Tomcat embeded in JBoss application server. Just out of curiousity. Is anyone working on a ports entry for JBoss? If no one is and no one plans to how hard would it be for a ports virgin like myself to contribute one? -- Jacob S. Barrett jsbarrett@acm.org www.amduat.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Jun 2 11:22:12 2001 Delivered-To: freebsd-java@freebsd.org Received: from heinz.jollem.com (c104187.upc-c.chello.nl [212.187.104.187]) by hub.freebsd.org (Postfix) with ESMTP id 4A6CC37B422 for ; Sat, 2 Jun 2001 11:22:09 -0700 (PDT) (envelope-from ernst@heinz.jollem.com) Received: (from ernst@localhost) by heinz.jollem.com (8.11.3/8.11.3) id f52IKG612109; Sat, 2 Jun 2001 20:20:16 +0200 (CEST) (envelope-from ernst) Date: Sat, 2 Jun 2001 20:20:16 +0200 From: Ernst de Haan To: Hervey Wilson Cc: java@FreeBSD.ORG Subject: Re: JDK ports revisited Message-ID: <20010602202016.A12097@c187104187.telekabel.chello.nl> References: <021f01c0eb84$6d4cbd10$0101a8c0@chillipepper> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <021f01c0eb84$6d4cbd10$0101a8c0@chillipepper>; from herveyw@dynamic-cast.com on Sat, Jun 02, 2001 at 09:52:36AM -0700 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 Hervey, Hervey Wilson wrote: > From: "Hervey Wilson" > > > > /usr/ports/www/jakarta-ant > > > > Doh ! jakarta-ant is fine :) Figures. It's mine ;-P /Ernst -- Ernst de Haan Java Architect Jollem Information Technology "Come to me all who are weary and burdened and I will give you rest" -- Jesus Christ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Jun 2 15:12:11 2001 Delivered-To: freebsd-java@freebsd.org Received: from palle.girgensohn.se (c213.89.165.253.cm-upc.chello.se [213.89.165.253]) by hub.freebsd.org (Postfix) with ESMTP id C1A9137B424 for ; Sat, 2 Jun 2001 15:12:07 -0700 (PDT) (envelope-from girgen@partitur.se) Received: from partitur.se (localhost [127.0.0.1]) by palle.girgensohn.se (8.11.3/8.11.3) with ESMTP id f52MBrg87693; Sun, 3 Jun 2001 00:11:53 +0200 (CEST) (envelope-from girgen@partitur.se) Message-ID: <3B1964A8.3B397821@partitur.se> Date: Sun, 03 Jun 2001 00:11:52 +0200 From: Palle Girgensohn Organization: Partitur X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.3-STABLE i386) X-Accept-Language: sv, en MIME-Version: 1.0 To: Ernst de Haan Cc: Hervey Wilson , java@FreeBSD.ORG Subject: Re: JDK ports revisited References: <20010601104331.A1730@c187104187.telekabel.chello.nl> <020301c0eb82$9ce25b90$0101a8c0@chillipepper> <20010602184137.A11537@c187104187.telekabel.chello.nl> 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 Ernst de Haan wrote: > > Hervey, > > > This is the area where I'd like to see some improvements - assuming of > > course I haven't missed something during my experimentation. Essentially, it > > appears that many of the Java ports (for example, Tomcat) have dependencies > > on the native jdk1.1.8 port in their Makefile although these ports work fine > > on the other JDK versions. I prefer to use the Linux JDK 1.3 port for the > > moment and find myself having to doctor these Makefiles in order get things > > to install. Same here... > > Is there a way this can be solved with a more generic dependency or did I > > just miss something obvious ? > > This is where javavmwrapper comes in. Any Java port that needs a Java VM > version 1.1 or higher should depend on javavmwrapper, instead of on java/jdk > or so. If you give me a (partial) list of the ports that expose the problem > you mention, then I'll see what I can do. I can probably fix them within a few > days. I would like to see some centralized way to depend on java, and optionally add a least version. For the databases/postgresql7 port, which I maintain, I had to do some rather strange hackish things to determine which jdk that should be used (see /usr/ports/databases/postgres1l7/scripts/configure.postgresql, line 56ff). A USE_JAVA widget centrally defined in /usr/ports/Mk/bsd.ports.mk would be the ultimate solution, IMO. Also, I can't see that javavmwrapper whould really install *any* JDK if there is none installed already, and hence it is not enough for a port to depend on the javavmwrapper; no jdk would get installed on a clean system, and the build would fail... /Palle To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message