From owner-freebsd-java Sun Jul 22 0: 9:54 2001 Delivered-To: freebsd-java@freebsd.org Received: from sunysb.edu (dh198-236.dhcp.sunysb.edu [129.49.198.236]) by hub.freebsd.org (Postfix) with ESMTP id 7B28437B403 for ; Sun, 22 Jul 2001 00:09:51 -0700 (PDT) (envelope-from chris@sunysb.edu) Received: (from chris@localhost) by sunysb.edu (8.11.3/8.11.3) id f6M79i538835; Sun, 22 Jul 2001 03:09:44 -0400 (EDT) (envelope-from chris) From: Christopher Rued MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15194.31800.275932.992863@chris.xsb.com> Date: Sun, 22 Jul 2001 03:09:44 -0400 To: freebsd-java@freebsd.org Subject: Mozilla webclient X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid 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 Has anyone tried (and hopefully succeeded) in building the Mozilla Webclient on FreeBSD? I followed the instructions given on the website and was able to get everything compiled, but when I try to run it I get the following: (I've reformatted it a little to make it more readable): $ ./runem /usr/local/jdk1.2.2/bin/java -native -Djava.library.path=/usr/home/chris/mozilla/mozilla/dist/bin -classpath /usr/local/jdk1.2.2/lib/tools.jar:/usr/local/jdk1.2.2/lib/rt.jar:/usr/home/chris/dom/java:/usr/home/chris/mozilla/mozilla/dist/bin/../classes org.mozilla.webclient.test.EmbeddedMozilla /usr/home/chris/mozilla/mozilla/dist/bin Creating new EmbeddedMozilla window constructed with binDir: /usr/home/chris/mozilla/mozilla/dist/bin url: http://www.mozilla.org/projects/blackwood/webclient/ Inside NativeLoaderStub.cpp::loadMainDll in BrowserControlCanvas setBounds: x = 0 y = 0 w = 640 h = 480 native library does implement webclient.WindowControl Can't setBounds(java.awt.Rectangle[x=0,y=0,width=639,height=479]) null /usr/libexec/ld-elf.so.1: /usr/home/chris/webclient/mozilla/dist/bin/libnspr4.so: Undefined symbol "pthread_mutex_lock" This last line seems to indicate that some function is missing from some library. Has anyone tried this? Any ideas for a fix? TIA -- Chris To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Jul 22 10:57:10 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 61AED37B407 for ; Sun, 22 Jul 2001 10:57:05 -0700 (PDT) (envelope-from glewis@misty.eyesbeyond.com) Received: from [166.70.6.89] (helo=misty.eyesbeyond.com) by mail.xmission.com with esmtp (Exim 3.22 #1) id 15ONTP-0004fm-00; Sun, 22 Jul 2001 11:57:00 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.3/8.11.3) id f6MHutq02303; Mon, 23 Jul 2001 03:26:55 +0930 (CST) (envelope-from glewis) Date: Mon, 23 Jul 2001 03:26:55 +0930 From: Greg Lewis To: Christopher Rued Cc: freebsd-java@FreeBSD.ORG Subject: Re: Mozilla webclient Message-ID: <20010723032654.A2102@misty.eyesbeyond.com> References: <15194.31800.275932.992863@chris.xsb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <15194.31800.275932.992863@chris.xsb.com>; from c.rued@xsb.com on Sun, Jul 22, 2001 at 03:09:44AM -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, Jul 22, 2001 at 03:09:44AM -0400, Christopher Rued wrote: > I followed the instructions given on the website and was able to get > everything compiled, but when I try to run it I get the following: > (I've reformatted it a little to make it more readable): > > $ ./runem > > /usr/local/jdk1.2.2/bin/java -native -Djava.library.path=/usr/home/chris/mozilla/mozilla/dist/bin -classpath /usr/local/jdk1.2.2/lib/tools.jar:/usr/local/jdk1.2.2/lib/rt.jar:/usr/home/chris/dom/java:/usr/home/chris/mozilla/mozilla/dist/bin/../classes org.mozilla.webclient.test.EmbeddedMozilla /usr/home/chris/mozilla/mozilla/dist/bin > > Creating new EmbeddedMozilla window > > constructed with binDir: /usr/home/chris/mozilla/mozilla/dist/bin url: http://www.mozilla.org/projects/blackwood/webclient/ > > Inside NativeLoaderStub.cpp::loadMainDll > > in BrowserControlCanvas setBounds: x = 0 y = 0 w = 640 h = 480 > > native library does implement webclient.WindowControl > > Can't setBounds(java.awt.Rectangle[x=0,y=0,width=639,height=479]) null > > /usr/libexec/ld-elf.so.1: /usr/home/chris/webclient/mozilla/dist/bin/libnspr4.so: Undefined symbol "pthread_mutex_lock" > > This last line seems to indicate that some function is missing from > some library. No, it just looks like the pthreads library wasn't linked in. > Has anyone tried this? Any ideas for a fix? Make sure libnspr4 is linked with the pthreads library (you need to use the -pthread flag to gcc). Whats a URL to download this from? -- 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 Jul 22 13:14: 4 2001 Delivered-To: freebsd-java@freebsd.org Received: from sunysb.edu (dh198-236.dhcp.sunysb.edu [129.49.198.236]) by hub.freebsd.org (Postfix) with ESMTP id 9618737B403 for ; Sun, 22 Jul 2001 13:13:59 -0700 (PDT) (envelope-from chris@sunysb.edu) Received: (from chris@localhost) by sunysb.edu (8.11.3/8.11.3) id f6MKDD552742; Sun, 22 Jul 2001 16:13:13 -0400 (EDT) (envelope-from chris) From: Christopher Rued MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15195.13272.921265.427814@chris.xsb.com> Date: Sun, 22 Jul 2001 16:13:12 -0400 To: Greg Lewis Cc: Christopher Rued , freebsd-java@FreeBSD.ORG Subject: Re: Mozilla webclient In-Reply-To: <20010723032654.A2102@misty.eyesbeyond.com> References: <15194.31800.275932.992863@chris.xsb.com> <20010723032654.A2102@misty.eyesbeyond.com> X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid 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 followed the instructions given on the website and was able to get > > everything compiled, but when I try to run it I get the following: > > (I've reformatted it a little to make it more readable): > > > > $ ./runem > > > > /usr/local/jdk1.2.2/bin/java -native -Djava.library.path=/usr/home/chris/mozilla/mozilla/dist/bin -classpath /usr/local/jdk1.2.2/lib/tools.jar:/usr/local/jdk1.2.2/lib/rt.jar:/usr/home/chris/dom/java:/usr/home/chris/mozilla/mozilla/dist/bin/../classes org.mozilla.webclient.test.EmbeddedMozilla /usr/home/chris/mozilla/mozilla/dist/bin > > > > Creating new EmbeddedMozilla window > > > > constructed with binDir: /usr/home/chris/mozilla/mozilla/dist/bin url: http://www.mozilla.org/projects/blackwood/webclient/ > > > > Inside NativeLoaderStub.cpp::loadMainDll > > > > in BrowserControlCanvas setBounds: x = 0 y = 0 w = 640 h = 480 > > > > native library does implement webclient.WindowControl > > > > Can't setBounds(java.awt.Rectangle[x=0,y=0,width=639,height=479]) null > > > > /usr/libexec/ld-elf.so.1: /usr/home/chris/webclient/mozilla/dist/bin/libnspr4.so: Undefined symbol "pthread_mutex_lock" > > > > This last line seems to indicate that some function is missing from > > some library. > > No, it just looks like the pthreads library wasn't linked in. > > > Has anyone tried this? Any ideas for a fix? > > Make sure libnspr4 is linked with the pthreads library (you need to use > the -pthread flag to gcc). > > Whats a URL to download this from? http://www.mozilla.org/projects/blackwood/webclient/ I am trying to build Webclient 1.0. After I downloaded the Mozilla source, I ran ./configure with the options (which I gleaned from the mozilla port Makefile): --disable-cpp-exceptions --disable-cpp-exceptions --disable-cpp-rtti --disable-debug --disable-idltool --disable-jar-packaging --disable-md --disable-pedantic --disable-xterm-updates --enable-double-buffer --enable-editor --enable-mailnews --enable-mathml --enable-optimize --enable-pics --enable-svg --enable-tests --enable-toolkit=gtk --enable-x11-shm --with-jpeg=/usr/local --with-png=/usr/local --with-pthreads After I downloaded the Webclient source, I ran ./configure with the options (same as above, plus --with-java-supplement): --disable-cpp-exceptions --disable-cpp-exceptions --disable-cpp-rtti --disable-debug --disable-idltool --disable-jar-packaging --disable-md --disable-pedantic --disable-xterm-updates --enable-double-buffer --enable-editor --enable-mailnews --enable-mathml --enable-optimize --enable-pics --enable-svg --enable-tests --enable-toolkit=gtk --enable-x11-shm --with-jpeg=/usr/local --with-png=/usr/local --with-pthreads --with-java-supplement Other than that I followed the instructions as written. You would think (I have not yet tried to wade through the Makefiles) that the --with-pthreads would cause -pthread to be passed to gcc. I will take a look. Thanks. --Chris To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Jul 22 14:50:11 2001 Delivered-To: freebsd-java@freebsd.org Received: from sunysb.edu (dh198-236.dhcp.sunysb.edu [129.49.198.236]) by hub.freebsd.org (Postfix) with ESMTP id 20E9237B406 for ; Sun, 22 Jul 2001 14:50:06 -0700 (PDT) (envelope-from chris@sunysb.edu) Received: (from chris@localhost) by sunysb.edu (8.11.3/8.11.3) id f6MLnwF90491; Sun, 22 Jul 2001 17:49:58 -0400 (EDT) (envelope-from chris) From: Christopher Rued MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15195.19078.279362.308647@chris.xsb.com> Date: Sun, 22 Jul 2001 17:49:58 -0400 To: Christopher Rued Cc: Greg Lewis , freebsd-java@FreeBSD.ORG Subject: Re: Mozilla webclient In-Reply-To: <15195.13272.921265.427814@chris.xsb.com> References: <15194.31800.275932.992863@chris.xsb.com> <20010723032654.A2102@misty.eyesbeyond.com> <15195.13272.921265.427814@chris.xsb.com> X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid 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 Christopher Rued writes: > > > I followed the instructions given on the website and was able to get > > > everything compiled, but when I try to run it I get the following: > > > (I've reformatted it a little to make it more readable): > > > > > > $ ./runem > > > > > > /usr/local/jdk1.2.2/bin/java -native -Djava.library.path=/usr/home/chris/mozilla/mozilla/dist/bin -classpath /usr/local/jdk1.2.2/lib/tools.jar:/usr/local/jdk1.2.2/lib/rt.jar:/usr/home/chris/dom/java:/usr/home/chris/mozilla/mozilla/dist/bin/../classes org.mozilla.webclient.test.EmbeddedMozilla /usr/home/chris/mozilla/mozilla/dist/bin > > > > > > Creating new EmbeddedMozilla window > > > > > > constructed with binDir: /usr/home/chris/mozilla/mozilla/dist/bin url: http://www.mozilla.org/projects/blackwood/webclient/ > > > > > > Inside NativeLoaderStub.cpp::loadMainDll > > > > > > in BrowserControlCanvas setBounds: x = 0 y = 0 w = 640 h = 480 > > > > > > native library does implement webclient.WindowControl > > > > > > Can't setBounds(java.awt.Rectangle[x=0,y=0,width=639,height=479]) null > > > > > > /usr/libexec/ld-elf.so.1: /usr/home/chris/webclient/mozilla/dist/bin/libnspr4.so: Undefined symbol "pthread_mutex_lock" > > > > > > This last line seems to indicate that some function is missing from > > > some library. > > > > No, it just looks like the pthreads library wasn't linked in. > > > > > Has anyone tried this? Any ideas for a fix? > > > > Make sure libnspr4 is linked with the pthreads library (you need to use > > the -pthread flag to gcc). [SNIP] > You would think (I have not yet tried to wade through the Makefiles) > that the --with-pthreads would cause -pthread to be passed to gcc. It looks like -lpthread is passed to gcc, not -pthread. The weird thing is that, even without the patches, I am able to run the browser that I compile without any (apparent) problems. It's when I try to run the browser embedded in java that I get the error. I have applied the patches from the port, most applied cleanly -- the port uses a different version of the source. Let's see if that fixes anything. -- Chris To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Jul 22 16:17: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 1DF1437B403 for ; Sun, 22 Jul 2001 16:17:20 -0700 (PDT) (envelope-from glewis@misty.eyesbeyond.com) Received: from [166.70.13.111] (helo=misty.eyesbeyond.com) by mail.xmission.com with esmtp (Exim 3.22 #1) id 15OSTK-0007L0-00; Sun, 22 Jul 2001 17:17:15 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.3/8.11.3) id f6MNHAl03460; Mon, 23 Jul 2001 08:47:10 +0930 (CST) (envelope-from glewis) Date: Mon, 23 Jul 2001 08:47:09 +0930 From: Greg Lewis To: Christopher Rued Cc: Greg Lewis , freebsd-java@FreeBSD.ORG Subject: Re: Mozilla webclient Message-ID: <20010723084709.A3410@misty.eyesbeyond.com> References: <15194.31800.275932.992863@chris.xsb.com> <20010723032654.A2102@misty.eyesbeyond.com> <15195.13272.921265.427814@chris.xsb.com> <15195.19078.279362.308647@chris.xsb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <15195.19078.279362.308647@chris.xsb.com>; from c.rued@xsb.com on Sun, Jul 22, 2001 at 05:49:58PM -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, Jul 22, 2001 at 05:49:58PM -0400, Christopher Rued wrote: > > > > Has anyone tried this? Any ideas for a fix? > > > > > > Make sure libnspr4 is linked with the pthreads library (you need to use > > > the -pthread flag to gcc). > > [SNIP] > > > You would think (I have not yet tried to wade through the Makefiles) > > that the --with-pthreads would cause -pthread to be passed to gcc. > > It looks like -lpthread is passed to gcc, not -pthread. Thats the correct flag for most OSes, but not FreeBSD :). > The weird thing is that, even without the patches, I am able to run > the browser that I compile without any (apparent) problems. It's when > I try to run the browser embedded in java that I get the error. If I'm reading this correctly, its almost certainly an RTLD_LAZY vs. and RTLD_NOW issue (when the library is dlopen()'ed). > I have applied the patches from the port, most applied cleanly -- the > port uses a different version of the source. Let's see if that fixes > anything. It should, as I'd expect the mozilla patches to fix the linking flag to be -pthread. I'd be interested in hearing if this fixes the problem :). -- 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 Jul 22 21:42:20 2001 Delivered-To: freebsd-java@freebsd.org Received: from sunysb.edu (dh198-236.dhcp.sunysb.edu [129.49.198.236]) by hub.freebsd.org (Postfix) with ESMTP id C463437B401 for ; Sun, 22 Jul 2001 21:42:16 -0700 (PDT) (envelope-from chris@sunysb.edu) Received: (from chris@localhost) by sunysb.edu (8.11.3/8.11.3) id f6N4fY646911; Mon, 23 Jul 2001 00:41:34 -0400 (EDT) (envelope-from chris) From: Christopher Rued MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15195.43774.261412.856429@chris.xsb.com> Date: Mon, 23 Jul 2001 00:41:34 -0400 To: Greg Lewis Cc: freebsd-java@FreeBSD.ORG Subject: Re: Mozilla webclient In-Reply-To: <20010723084709.A3410@misty.eyesbeyond.com> References: <15194.31800.275932.992863@chris.xsb.com> <20010723032654.A2102@misty.eyesbeyond.com> <15195.13272.921265.427814@chris.xsb.com> <15195.19078.279362.308647@chris.xsb.com> <20010723084709.A3410@misty.eyesbeyond.com> X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid 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 Greg Lewis writes: > > It looks like -lpthread is passed to gcc, not -pthread. > > Thats the correct flag for most OSes, but not FreeBSD :). Any idea why FreeBSD uses a different flag? > > The weird thing is that, even without the patches, I am able to run > > the browser that I compile without any (apparent) problems. It's when > > I try to run the browser embedded in java that I get the error. > > If I'm reading this correctly, its almost certainly an RTLD_LAZY vs. > and RTLD_NOW issue (when the library is dlopen()'ed). > > > I have applied the patches from the port, most applied cleanly -- the > > port uses a different version of the source. Let's see if that fixes > > anything. > > It should, as I'd expect the mozilla patches to fix the linking flag > to be -pthread. I'd be interested in hearing if this fixes the problem :). I applied the patches, but still: /usr/libexec/ld-elf.so.1: /usr/home/chris/webclient/mozilla/... ...dist/bin/libnspr4.so: Undefined symbol "pthread_mutex_lock" -lpthread still shows up all over the Makefile in mozilla/nsprpub/pr/src. I guess I'll just have to manually modify the Makefile, and see if that solves the problem. -- Chris To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Jul 22 21:53:15 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 CBEA537B401 for ; Sun, 22 Jul 2001 21:53:11 -0700 (PDT) (envelope-from glewis@misty.eyesbeyond.com) Received: from [166.70.9.91] (helo=misty.eyesbeyond.com) by mail.xmission.com with esmtp (Exim 3.22 #1) id 15OXiO-0003QI-00; Sun, 22 Jul 2001 22:53:09 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.3/8.11.3) id f6N4qvP04345; Mon, 23 Jul 2001 14:22:57 +0930 (CST) (envelope-from glewis) Date: Mon, 23 Jul 2001 14:22:56 +0930 From: Greg Lewis To: Christopher Rued Cc: Greg Lewis , freebsd-java@FreeBSD.ORG Subject: Re: Mozilla webclient Message-ID: <20010723142255.A4307@misty.eyesbeyond.com> References: <15194.31800.275932.992863@chris.xsb.com> <20010723032654.A2102@misty.eyesbeyond.com> <15195.13272.921265.427814@chris.xsb.com> <15195.19078.279362.308647@chris.xsb.com> <20010723084709.A3410@misty.eyesbeyond.com> <15195.43774.261412.856429@chris.xsb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <15195.43774.261412.856429@chris.xsb.com>; from c.rued@xsb.com on Mon, Jul 23, 2001 at 12:41:34AM -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 Mon, Jul 23, 2001 at 12:41:34AM -0400, Christopher Rued wrote: > Greg Lewis writes: > > > It looks like -lpthread is passed to gcc, not -pthread. > > > > Thats the correct flag for most OSes, but not FreeBSD :). > > Any idea why FreeBSD uses a different flag? FreeBSD has no libpthread. The pthread functionality is contained in libc_r. However, -lc_r isn't quite correct either, as there are issues with the linker still wanting -lc as well by default (it'll mostly work in general, but its not quite right according to discussions I've seen). The -pthread flag makes it all DTRT. > > > I have applied the patches from the port, most applied cleanly -- the > > > port uses a different version of the source. Let's see if that fixes > > > anything. > > > > It should, as I'd expect the mozilla patches to fix the linking flag > > to be -pthread. I'd be interested in hearing if this fixes the problem :). > > I applied the patches, but still: > > /usr/libexec/ld-elf.so.1: /usr/home/chris/webclient/mozilla/... > ...dist/bin/libnspr4.so: Undefined symbol "pthread_mutex_lock" > > -lpthread still shows up all over the Makefile in mozilla/nsprpub/pr/src. > > I guess I'll just have to manually modify the Makefile, and see if > that solves the problem. Hmmm. The port itself sets BSD_PTHREAD_LIBS="${PTHREAD_LIBS}" in the environment to configure and fixes the NSPR linking line in patch-qt. Have you got your environment set up correctly when you invoke configure? That good be a problem. Try setenv BSD_PTHREAD_LIBS '-pthread' before you configure (assuming patch-qt is applying ok) and see how that works. -- 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 Mon Jul 23 2: 2: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 6A93F37B407 for ; Mon, 23 Jul 2001 02:02:52 -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, 23 Jul 2001 11:02:51 +0100 Message-ID: <59063B5B4D98D311BC0D0001FA7E452205FD9DC0@l04.research.kpn.com> From: "Koster, K.J." To: 'j mckitrick' Cc: freebsd-java@FreeBSD.ORG Subject: RE: java permission question (non-BSD) Date: Mon, 23 Jul 2001 11:02:50 +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 Jonathon, > | > | > > | > I know this isn't BSD specific, but I thought it would be a > | > good place to ask in case this is a BSD issue I am unaware of. > | > > | It isn't. :) > > Do you have a better idea on where I could go for help? I > don't know anyone > on other forums, so I thought asking here would be most efficient. > I tend to rely on http://groups.google.com/ Personally I don't mind this type of questions, as long as they're hard to answer. :) > > | > My current policy file includes connect, accept, and resolve > | > for the java server running RMI. How can I get the applet to > | > call this server? > | > > | Sign the applet and let your users accept the signature. A > | signed applet has access to the whole PC. > > A signed applet with a corresponding policy file. I was able > to set this > up, but now my applet times out (actually, 'unknown > exception') while trying to contact the server. > Hmm. Beats me. Sorry. Kees Jan ===================================================== You can't have everything. Where would you put it? [Steven Wright] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Jul 23 8:33:59 2001 Delivered-To: freebsd-java@freebsd.org Received: from crewsoft.com (ns.aenet.net [157.22.214.1]) by hub.freebsd.org (Postfix) with ESMTP id 91F7837B403 for ; Mon, 23 Jul 2001 08:33:56 -0700 (PDT) (envelope-from cedric@wireless-networks.com) Received: from [63.197.8.222] (account cberger@wireless-networks.com HELO wireless-networks.com) by crewsoft.com (CommuniGate Pro SMTP 3.4.7) with ESMTP id 786690; Mon, 23 Jul 2001 08:37:25 -0700 Message-ID: <3B5C4421.7EE59DA3@wireless-networks.com> Date: Mon, 23 Jul 2001 08:34:57 -0700 From: Cedric Berger X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: "Koster, K.J." Cc: 'Stu Brown' , freebsd-java@FreeBSD.ORG Subject: Re: Porting JDK1.2.2 to OpenBSD References: <59063B5B4D98D311BC0D0001FA7E452205FD9D9D@l04.research.kpn.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org "Koster, K.J." wrote: > You're still confusing me. Do any JDK's run on OpenBSD? If so, how? Which? > Why? (no, skip the last one). Linux JDK 1.3.1 works on OpenBSD Cedric To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Jul 23 9:31: 6 2001 Delivered-To: freebsd-java@freebsd.org Received: from veldy.net (w028.z064001117.msp-mn.dsl.cnc.net [64.1.117.28]) by hub.freebsd.org (Postfix) with ESMTP id D75E237B40B for ; Mon, 23 Jul 2001 09:31:00 -0700 (PDT) (envelope-from veldy@veldy.net) Received: from HP2500B (localhost.veldy.net [127.0.0.1]) by veldy.net (Postfix) with SMTP id D28E4BAA8; Mon, 23 Jul 2001 11:30:55 -0500 (CDT) Message-ID: <010701c11394$ba97e990$3028680a@tgt.com> From: "Thomas T. Veldhouse" To: "Cedric Berger" Cc: References: <59063B5B4D98D311BC0D0001FA7E452205FD9D9D@l04.research.kpn.com> <3B5C4421.7EE59DA3@wireless-networks.com> Subject: Re: Porting JDK1.2.2 to OpenBSD Date: Mon, 23 Jul 2001 11:30:03 -0500 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 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.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 Hotspot? Tom Veldhouse veldy@veldy.net ----- Original Message ----- From: "Cedric Berger" To: "Koster, K.J." Cc: "'Stu Brown'" ; Sent: Monday, July 23, 2001 10:34 AM Subject: Re: Porting JDK1.2.2 to OpenBSD > "Koster, K.J." wrote: > > > You're still confusing me. Do any JDK's run on OpenBSD? If so, how? Which? > > Why? (no, skip the last one). > > Linux JDK 1.3.1 works on OpenBSD > > Cedric > > > > 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 Jul 23 9:49:40 2001 Delivered-To: freebsd-java@freebsd.org Received: from crewsoft.com (ns.aenet.net [157.22.214.1]) by hub.freebsd.org (Postfix) with ESMTP id 0F47337B403 for ; Mon, 23 Jul 2001 09:49:35 -0700 (PDT) (envelope-from cedric@wireless-networks.com) Received: from [63.197.8.222] (account cberger@wireless-networks.com HELO wireless-networks.com) by crewsoft.com (CommuniGate Pro SMTP 3.4.7) with ESMTP id 786766; Mon, 23 Jul 2001 09:53:07 -0700 Message-ID: <3B5C55DF.9F9DCABD@wireless-networks.com> Date: Mon, 23 Jul 2001 09:50:39 -0700 From: Cedric Berger X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: "Thomas T. Veldhouse" Cc: freebsd-java@freebsd.org Subject: Re: Porting JDK1.2.2 to OpenBSD References: <59063B5B4D98D311BC0D0001FA7E452205FD9D9D@l04.research.kpn.com> <3B5C4421.7EE59DA3@wireless-networks.com> <010701c11394$ba97e990$3028680a@tgt.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org "Thomas T. Veldhouse" wrote: > Hotspot? No. classic & grean. Hostspot fails with any "big" program. Cedric To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Jul 23 10:15:28 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 82E9937B405 for ; Mon, 23 Jul 2001 10:15:22 -0700 (PDT) (envelope-from glewis@misty.eyesbeyond.com) Received: from [166.70.2.141] (helo=misty.eyesbeyond.com) by mail.xmission.com with esmtp (Exim 3.22 #1) id 15OjIe-0005rS-00; Mon, 23 Jul 2001 11:15:21 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.3/8.11.3) id f6NHFBS69502; Tue, 24 Jul 2001 02:45:11 +0930 (CST) (envelope-from glewis) Date: Tue, 24 Jul 2001 02:45:11 +0930 From: Greg Lewis To: Michael Robinson Cc: java@FreeBSD.ORG Subject: Re: JDK2 binary update Message-ID: <20010724024511.A69457@misty.eyesbeyond.com> References: <20010721152948.A679@elephant.netrinsics.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010721152948.A679@elephant.netrinsics.com>; from robinson@netrinsics.com on Sat, Jul 21, 2001 at 03:29:48PM +0800 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 Sat, Jul 21, 2001 at 03:29:48PM +0800, Michael Robinson wrote: > On Fri, Jul 20, 2001 at 06:41:32PM -0600, Nate Williams wrote: > > > P.S. Why is it, exactly, that Blackdown is not able to release a "Blackdown > > > FreeBSD JDK" binary? > > > > Because their current license limits them to releases for Linux. > > So I guess no one is going to chance a release of "Blackdown JDK for > Berkeley Linux" then? > > -Michael Robinson > > P.S. To whom at Sun should expressions of displeasure be addressed? I'm hopeful things are looking up on the licensing front, so I'm not sure we need to express displeasure to them at the moment :). > P.P.S. Did the 1.2 port ever complete JCK testing? No. My fault, I got caught up in other projects and didn't get this done. I think motiviation for this will be much higher once licensing is finalised. > P.P.P.S. Does anyone have an approximate idea of when Hotspot would have a > native port? I believe HotSpot relies on native threads. The 1.3.1 is reasonably close to getting native threads, so work on HotSpot should start after that. I'm not about to commit volunteers to a timeline though, sorry. -- 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 Mon Jul 23 12:18: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 C0AA737B405 for ; Mon, 23 Jul 2001 12:18:24 -0700 (PDT) (envelope-from ernst@heinz.jollem.com) Received: (from ernst@localhost) by heinz.jollem.com (8.11.3/8.11.4) id f6NJGeQ03519; Mon, 23 Jul 2001 21:16:40 +0200 (CEST) (envelope-from ernst) Date: Mon, 23 Jul 2001 21:16:40 +0200 From: Ernst de Haan To: Arun Sharma Cc: java@FreeBSD.ORG Subject: Re: POSIX port of Intel ORP Message-ID: <20010723211640.A3490@c104187.upc-c.chello.nl> References: <20010720100944.A13540@sharmas.dhs.org> <20010721025208.A65928@misty.eyesbeyond.com> <20010720104344.A22485@sharmas.dhs.org> <20010721032457.A66507@misty.eyesbeyond.com> <20010721104950.A31627@sharmas.dhs.org> <20010721200740.B32616@sharmas.dhs.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010721200740.B32616@sharmas.dhs.org>; from arun@sharmas.dhs.org on Sat, Jul 21, 2001 at 08:07:40PM -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 Arun, > http://oss.software.ibm.com/pipermail/pthreads-devel/2001-July/000050.html > > and bingo! it solved all the problems. My ngpt port is still very > rough and untested. I can put up a 4.3-STABLE binary if people here > are interested. After compiling, you need to *manually* copy > libngpt.so.10 to /usr/local/lib and symlink it to libpthread.so. Would not this be a candidate for a FreeBSD port? If so, then I can help you write the port, or -if you provide *detailed* build instructions- I can write and submit the port for you. Ernst -- Ernst de Haan Euronet Internet B.V. "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 Mon Jul 23 20:17:37 2001 Delivered-To: freebsd-java@freebsd.org Received: from sunysb.edu (dh198-236.dhcp.sunysb.edu [129.49.198.236]) by hub.freebsd.org (Postfix) with ESMTP id B75AE37B406 for ; Mon, 23 Jul 2001 20:17:33 -0700 (PDT) (envelope-from chris@sunysb.edu) Received: (from chris@localhost) by sunysb.edu (8.11.3/8.11.3) id f6O3Gov16049; Mon, 23 Jul 2001 23:16:50 -0400 (EDT) (envelope-from chris) From: Christopher Rued MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15196.59554.155838.779765@chris.xsb.com> Date: Mon, 23 Jul 2001 23:16:50 -0400 To: Greg Lewis Cc: Christopher Rued , freebsd-java@FreeBSD.ORG Subject: Re: Mozilla webclient In-Reply-To: <20010723142255.A4307@misty.eyesbeyond.com> References: <15194.31800.275932.992863@chris.xsb.com> <20010723032654.A2102@misty.eyesbeyond.com> <15195.13272.921265.427814@chris.xsb.com> <15195.19078.279362.308647@chris.xsb.com> <20010723084709.A3410@misty.eyesbeyond.com> <15195.43774.261412.856429@chris.xsb.com> <20010723142255.A4307@misty.eyesbeyond.com> X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid 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 have applied the patches from the port, most applied cleanly -- the > > > > port uses a different version of the source. Let's see if that fixes > > > > anything. > > > > > > It should, as I'd expect the mozilla patches to fix the linking flag > > > to be -pthread. I'd be interested in hearing if this fixes the problem :). > > > > I applied the patches, but still: > > > > /usr/libexec/ld-elf.so.1: /usr/home/chris/webclient/mozilla/... > > ...dist/bin/libnspr4.so: Undefined symbol "pthread_mutex_lock" > > > > -lpthread still shows up all over the Makefile in mozilla/nsprpub/pr/src. > > > > I guess I'll just have to manually modify the Makefile, and see if > > that solves the problem. > > Hmmm. The port itself sets BSD_PTHREAD_LIBS="${PTHREAD_LIBS}" in the > environment to configure and fixes the NSPR linking line in patch-qt. > Have you got your environment set up correctly when you invoke > configure? That good be a problem. Try > > setenv BSD_PTHREAD_LIBS '-pthread' Same thing :(. I also noticed a problem compiling a java class that make sort of just glazes over (it complains about not being able to find org.mozilla.dom.DocumentLoadListener), but that doesn't seem to be the real issue here (It'll probably show up later :)). Another interesting thing, which makes me think that I'm doing something wrong in the building process, is when I add /usr/X11R6/lib/mozilla (the path where the port installs its libraries) to the beginning of LD_LIBRARY_PATH, I seem to get past the point where I was getting: Undefined symbol 'pthread_mutex_lock', but now I get: Inside NativeLoaderStub.cpp::loadMainDll Got Error: /usr/home/chris/webclient/mozilla/dist/bin/libwebclient.so: Undefined symbol "Implementation__C8nsString" Then it just hangs. Maybe I should try starting with an older version of the port, and compile Mozilla that way. Then, compile the webclient? Any other ideas? Thanks again. --Chris To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Jul 23 21:45:41 2001 Delivered-To: freebsd-java@freebsd.org Received: from hotmail.com (f163.law8.hotmail.com [216.33.241.163]) by hub.freebsd.org (Postfix) with ESMTP id BD9D437B407 for ; Mon, 23 Jul 2001 21:45:38 -0700 (PDT) (envelope-from jmd526@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 23 Jul 2001 21:45:38 -0700 Received: from 66.89.179.250 by lw8fd.law8.hotmail.msn.com with HTTP; Tue, 24 Jul 2001 04:45:38 GMT X-Originating-IP: [66.89.179.250] From: "John Daniels" To: java@FreeBSD.org Subject: Re: JDK2 binary update Date: Tue, 24 Jul 2001 00:45:38 -0400 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 24 Jul 2001 04:45:38.0680 (UTC) FILETIME=[7C55C780:01C113FB] 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, 24 Jul 2001 02:45:11 +0930 Greg Lewis wrote: >I'm hopeful things are looking up on the licensing front, so I'm not >sure we need to express displeasure to them at the moment :). I would have thought that there would have been at least some sort of announcement by now, if only to say "we are working with FreeBSD to get this done..." Especially in light of: 1) we have met Sun's qualifications for moving forward (at least for a couple of months now), and 2) Microsoft's recent announcements: 1-support for C#/Net on FreeBSD, and 2-no Java in Windows XP when shipped -- further evidence that they have abandoned compromising Java (embrace, extend, own) for a strategy of direct competition If history is any guide, MS will compete aggressively with a strong product and low pricing. Building a strong Java community on *BSD could have helped Sun delay/deter MS. Instead, it now seems that FreeBSD is getting more attention from MS than Sun. FreeBSD is the perfect vehicle for MS to prove that they can play nice with Unix and Open Source, while blunting the advance of Gnu/Linux (witness MS's recent bashing of the GPL). In addition, MS is already the largest Software Vendor for Mac's and that is likely to continue with OS X (perhaps extending to *BSD's in the future?) It's only a matter of time before a major vendor supports a next generation programming language on FreeBSD. The longer that it takes Sun to welcome FreeBSD into the Java community, the less I care if that is Sun or MS. John Copyright 2001 John Daniels. All rights reserved. _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Jul 23 21:53:47 2001 Delivered-To: freebsd-java@freebsd.org Received: from neptune.he.net (neptune.he.net [216.218.166.2]) by hub.freebsd.org (Postfix) with ESMTP id 2090237B409 for ; Mon, 23 Jul 2001 21:53:45 -0700 (PDT) (envelope-from robinson@netrinsics.com) Received: from netrinsics.com ([202.108.24.23] (may be forged)) by neptune.he.net (8.8.6/8.8.2) with ESMTP id VAA11039 for ; Mon, 23 Jul 2001 21:53:52 -0700 Received: (from robinson@localhost) by netrinsics.com (8.11.2/8.11.1) id f6O4rkR05333; Tue, 24 Jul 2001 12:53:46 +0800 (+0800) (envelope-from robinson) Date: Tue, 24 Jul 2001 12:53:46 +0800 From: Michael Robinson To: Nate Williams Cc: java@freebsd.org Subject: Re: JDK2 binary update Message-ID: <20010724125346.B5003@elephant.netrinsics.com> References: <200107180829.f6I8Tif05950@netrinsics.com> <15192.53180.822415.204485@nomad.yogotech.com> <20010721133924.A281@elephant.netrinsics.com> <15196.44247.972389.446657@nomad.yogotech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <15196.44247.972389.446657@nomad.yogotech.com>; from nate@yogotech.com on Mon, Jul 23, 2001 at 05:01:43PM -0600 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, Jul 23, 2001 at 05:01:43PM -0600, Nate Williams wrote: > Have you started work on it, so we can know what kind of problems exist? I've explained this before. I, and anyone who would be working for me, are legally prohibited from even possessing Sun's Java source code, because we aren't residents of a country on Sun's "approved countries" list. Not only does this mean I'm not in a position to work on a native FreeBSD port, this also means that any native FreeBSD port that has to be built from source is useless to me. Since the project is not able to employ the only contribution I'm able to provide (to wit, financial), I'm left passively waiting for either a reliable Linux distribution or a reliable FreeBSD Java. Whichever comes first. -Michael Robinson To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Jul 24 13: 2:35 2001 Delivered-To: freebsd-java@freebsd.org Received: from sunysb.edu (dh198-236.dhcp.sunysb.edu [129.49.198.236]) by hub.freebsd.org (Postfix) with ESMTP id 49BD037B405 for ; Tue, 24 Jul 2001 13:02:33 -0700 (PDT) (envelope-from chris@sunysb.edu) Received: (from chris@localhost) by sunysb.edu (8.11.3/8.11.3) id f6OK2Nq53986; Tue, 24 Jul 2001 16:02:23 -0400 (EDT) (envelope-from chris) From: Christopher Rued MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15197.54350.810742.441216@chris.xsb.com> Date: Tue, 24 Jul 2001 16:02:22 -0400 To: Christopher Rued Cc: Greg Lewis , freebsd-java@FreeBSD.ORG Subject: Re: Mozilla webclient In-Reply-To: <15196.59554.155838.779765@chris.xsb.com> References: <15194.31800.275932.992863@chris.xsb.com> <20010723032654.A2102@misty.eyesbeyond.com> <15195.13272.921265.427814@chris.xsb.com> <15195.19078.279362.308647@chris.xsb.com> <20010723084709.A3410@misty.eyesbeyond.com> <15195.43774.261412.856429@chris.xsb.com> <20010723142255.A4307@misty.eyesbeyond.com> <15196.59554.155838.779765@chris.xsb.com> X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid 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 > Maybe I should try starting with an older version of the port, and > compile Mozilla that way. Then, compile the webclient? I tried this (I got the port with tag RELEASE_4_2_0)... Still not working: /usr/libexec/ld-elf.so.1: /usr/ports/www/mozillaM18/mozilla/work/mozilla/dist/bin/libnspr4.so: Undefined symbol "pthread_mutex_lock" I will try talking to the Mozilla people, to see if they have seen this. Any new suggestions are welcome :). Thanks for the help. --Chris To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Jul 25 23: 7: 0 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 03BC337B401; Wed, 25 Jul 2001 23:06:58 -0700 (PDT) (envelope-from adsharma@sharmas.dhs.org) Received: from sharmas.dhs.org (cpe-66-1-147-119.ca.sprintbbd.net [66.1.147.119]) by gull.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id XAA04114; Wed, 25 Jul 2001 23:06:56 -0700 (PDT) Received: (from adsharma@localhost) by sharmas.dhs.org (8.11.3/8.11.3) id f6Q66Dl58112; Wed, 25 Jul 2001 23:06:13 -0700 (PDT) (envelope-from adsharma) Date: Wed, 25 Jul 2001 23:06:13 -0700 (PDT) From: Arun Sharma Message-Id: <200107260606.f6Q66Dl58112@sharmas.dhs.org> To: FreeBSD-gnats-submit@freebsd.org Subject: New port: ngpt - Next generation pthread (many to one mapping) Reply-To: adsharma@sharmas.dhs.org 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: Arun Sharma >Organization: >Confidential: no >Synopsis: New port: ngpt - Next generation pthread (many to one mapping) >Severity: non-critical >Priority: high >Category: ports >Class: change-request >Release: FreeBSD 4.3-STABLE i386 >Environment: System: FreeBSD omni.mirabella.net 4.3-STABLE FreeBSD 4.3-STABLE #3: Fri Jun 22 20:28:18 PDT 2001 root@omni.mirabella.net:/usr/src/sys/compile/omni i386 >Description: This port implements a many to one mapping between user and kernel threads. The priority is high because a Java VM implementation that's being tested depends on this. >How-To-Repeat: >Fix: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Jul 26 0:11: 6 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 6E8C437B405; Thu, 26 Jul 2001 00:11:03 -0700 (PDT) (envelope-from ernst@heinz.jollem.com) Received: (from ernst@localhost) by heinz.jollem.com (8.11.3/8.11.4) id f6Q79Kj00896; Thu, 26 Jul 2001 09:09:20 +0200 (CEST) (envelope-from ernst) Date: Thu, 26 Jul 2001 09:09:20 +0200 From: Ernst de Haan To: Arun Sharma Cc: FreeBSD-gnats-submit@FreeBSD.ORG, java@FreeBSD.ORG Subject: Re: New port: ngpt - Next generation pthread (many to one mapping) Message-ID: <20010726090920.C875@c104187.upc-c.chello.nl> References: <200107260606.f6Q66Dl58112@sharmas.dhs.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200107260606.f6Q66Dl58112@sharmas.dhs.org>; from adsharma@sharmas.dhs.org on Wed, Jul 25, 2001 at 11:06:13PM -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 So where is the 'Fix' ? Shouldn't you have sent a shar file ? :-) Ernst Arun Sharma wrote: > > >Submitter-Id: current-users > >Originator: Arun Sharma > >Organization: > >Confidential: no > >Synopsis: New port: ngpt - Next generation pthread (many to one mapping) > >Severity: non-critical > >Priority: high > >Category: ports > >Class: change-request > >Release: FreeBSD 4.3-STABLE i386 > >Environment: > System: FreeBSD omni.mirabella.net 4.3-STABLE FreeBSD 4.3-STABLE #3: Fri Jun 22 20:28:18 PDT 2001 root@omni.mirabella.net:/usr/src/sys/compile/omni i386 > > > > >Description: > This port implements a many to one mapping between user and kernel > threads. The priority is high because a Java VM implementation > that's being tested depends on this. > > >How-To-Repeat: > > >Fix: > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message > -- Ernst de Haan Euronet Internet B.V. "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 Thu Jul 26 9:20:12 2001 Delivered-To: freebsd-java@freebsd.org Received: from sharmas.dhs.org (cpe-66-1-147-119.ca.sprintbbd.net [66.1.147.119]) by hub.freebsd.org (Postfix) with ESMTP id 183D037B405; Thu, 26 Jul 2001 09:20:07 -0700 (PDT) (envelope-from adsharma@sharmas.dhs.org) Received: by sharmas.dhs.org (Postfix, from userid 500) id 4B8EA5DD97; Thu, 26 Jul 2001 09:20:26 -0700 (PDT) Date: Thu, 26 Jul 2001 09:20:26 -0700 From: Arun Sharma To: freebsd-gnats-submit@FreeBSD.org, java@freebsd.org Subject: Re: ports/29239: New port: ngpt - Next generation pthread (many to one mapping) Message-ID: <20010726092026.A22178@sharmas.dhs.org> References: <200107260606.f6Q66Dl58112@sharmas.dhs.org> <200107260610.f6Q6A0E33851@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.15i In-Reply-To: <200107260610.f6Q6A0E33851@freefall.freebsd.org>; from gnats-admin@FreeBSD.org on Wed, Jul 25, 2001 at 11:10:00PM -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 Resending the Fix. The earlier one doesn't show up in the PR. -Arun # 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: # # ngpt/Makefile # ngpt/distinfo # ngpt/pkg-comment # ngpt/pkg-descr # ngpt/pkg-plist # echo x - ngpt/Makefile sed 's/^X//' >ngpt/Makefile << 'END-of-ngpt/Makefile' X# New ports collection makefile for: ngpt X# Date created: Wed Jul 25 22:10:00 PDT 2001 X# Whom: Arun Sharma X# X# $FreeBSD: $ X# X XPORTNAME= ngpt XPORTVERSION= 1.0.0 XCATEGORIES= devel XMASTER_SITES= http://www.sharma-home.net/~adsharma/projects/freebsd/ XMASTER_SITE_SUBDIR= ngpt-${PORTVERSION}.tar.gz X XMAINTAINER= arun@sharmas.dhs.org X XINSTALLS_SHLIB= yes XGNU_CONFIGURE= yes XCONFIGURE_ARGS= --enable-tests=no --enable-maintainer=no --enable-pthread XUSE_GMAKE= yes X X.include END-of-ngpt/Makefile echo x - ngpt/distinfo sed 's/^X//' >ngpt/distinfo << 'END-of-ngpt/distinfo' XMD5 (ngpt-1.0.0.tar.gz) = 8685e6794e95842760c14ad2ba1e34e3 END-of-ngpt/distinfo echo x - ngpt/pkg-comment sed 's/^X//' >ngpt/pkg-comment << 'END-of-ngpt/pkg-comment' XNGPT is a next generation pthread implementation based on GNU pth END-of-ngpt/pkg-comment echo x - ngpt/pkg-descr sed 's/^X//' >ngpt/pkg-descr << 'END-of-ngpt/pkg-descr' XNGPT is a next generation pthread implementation based on GNU pth END-of-ngpt/pkg-descr echo x - ngpt/pkg-plist sed 's/^X//' >ngpt/pkg-plist << 'END-of-ngpt/pkg-plist' Xbin/pthread-config Xinclude/pthread.h Xlib/libpthread.so Xlib/libpthread.so.10 Xlib/libpthread.la Xlib/libpthread.a END-of-ngpt/pkg-plist exit To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Jul 26 11:30:17 2001 Delivered-To: freebsd-java@freebsd.org Received: from athena.fasturl.net (athena.fasturl.net [209.32.216.150]) by hub.freebsd.org (Postfix) with ESMTP id DAFEE37B403 for ; Thu, 26 Jul 2001 11:30:14 -0700 (PDT) (envelope-from michael@fasturl.net) Received: by athena.fasturl.net (Postfix, from userid 1001) id C121D66B07; Thu, 26 Jul 2001 18:34:06 +0000 (GMT) Date: Thu, 26 Jul 2001 18:34:06 +0000 From: Michael Burns To: freebsd-java@freebsd.org Subject: socket problems with linux-jdk1.3.1 Message-ID: <20010726183406.A99945@fasturl.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 recently installed the linux-jdk1.3.1 port onto a 3.5-STABLE system. I'm getting the following error when I connect to a simple server (I'm using the "KnockKnockServer" example from the tutorial but have had the same problem with other previously-working servers). $ java -classic KnockKnockServer & [1] 16734 $ telnet localhost 4444 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. Knock! Knock! Exception in thread "main" java.net.SocketException: Resource temporarily unavailable: Resource temporarily unavailable at java.net.SocketInputStream.socketRead(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:86) at java.net.SocketInputStream.read(SocketInputStream.java:67) at java.io.InputStreamReader.fill(InputStreamReader.java:173) at java.io.InputStreamReader.read(InputStreamReader.java:249) at java.io.BufferedReader.fill(BufferedReader.java:139) at java.io.BufferedReader.readLine(BufferedReader.java:299) at java.io.BufferedReader.readLine(BufferedReader.java:362) at KnockKnockServer.main(KnockKnockServer.java:33) Connection closed by foreign host. [1]+ Exit 1 java KnockKnockServer $ Any ideas? -- Michael Burns Systems Administrator Vener Net Inc. michael@fasturl.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Jul 26 12:30:15 2001 Delivered-To: freebsd-java@freebsd.org Received: from mail.covalent.net (unknown [64.84.39.162]) by hub.freebsd.org (Postfix) with SMTP id 5776637B406 for ; Thu, 26 Jul 2001 12:30:13 -0700 (PDT) (envelope-from iank@covalent.net) Received: (qmail 11892 invoked from network); 26 Jul 2001 19:35:55 -0000 Received: from atlas.sfo.covalent.net (10.0.0.2) by mail.covalent.net with SMTP; 26 Jul 2001 19:35:55 -0000 Date: Thu, 26 Jul 2001 12:30:13 -0700 (PDT) From: "Ian Kallen " X-Sender: iank@atlas.sfo.covalent.net To: freebsd-java@freebsd.org Subject: Class.getPackage() returning null Message-ID: 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'm using the 1.2.2 port but hitting a bug that doesn't seem to afflicting my co-workers using blackdown linux' 1.2.2 JVM. We're doing some things with reflection where we call getPackage() but just get null returned. getName() is fine, is getPackage() a known bug and is there a fix? I'm using a JVM built using freebsd-jdk122-patches-10 and otherwise seems to work fine. cheers, -Ian -- Ian Kallen | AIM: iankallen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Jul 26 15:12:33 2001 Delivered-To: freebsd-java@freebsd.org Received: from etrn.xmission.com (etrn.xmission.com [198.60.22.17]) by hub.freebsd.org (Postfix) with ESMTP id F23B637B401 for ; Thu, 26 Jul 2001 15:12:30 -0700 (PDT) (envelope-from glewis@misty.eyesbeyond.com) Received: from [198.60.22.22] (helo=mail.xmission.com) by etrn.xmission.com with esmtp (Exim 3.12 #1) id 15PtMs-0003AG-00; Thu, 26 Jul 2001 16:12:30 -0600 Received: from [166.70.2.117] (helo=misty.eyesbeyond.com) by mail.xmission.com with esmtp (Exim 3.22 #1) id 15PtMr-0005Ih-00; Thu, 26 Jul 2001 16:12:30 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.3/8.11.3) id f6QMCOX65963; Fri, 27 Jul 2001 07:42:24 +0930 (CST) (envelope-from glewis) Date: Fri, 27 Jul 2001 07:42:24 +0930 From: Greg Lewis To: "Ian Kallen " Cc: freebsd-java@FreeBSD.ORG Subject: Re: Class.getPackage() returning null Message-ID: <20010727074224.A65932@misty.eyesbeyond.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from iank@covalent.net on Thu, Jul 26, 2001 at 12:30:13PM -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 On Thu, Jul 26, 2001 at 12:30:13PM -0700, Ian Kallen wrote: > I'm using the 1.2.2 port but hitting a bug that doesn't seem to afflicting my > co-workers using blackdown linux' 1.2.2 JVM. We're doing some things with > reflection where we call getPackage() but just get null > returned. getName() is fine, is getPackage() a known bug and is there a > fix? I'm using a JVM built using freebsd-jdk122-patches-10 and otherwise seems > to work fine. Its not a known bug AFAIK. If you could post a simple example that would save me having to go look up the reflection APIs :). -- 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 Jul 27 4:15:45 2001 Delivered-To: freebsd-java@freebsd.org Received: from hotmail.com (oe52.law3.hotmail.com [209.185.240.52]) by hub.freebsd.org (Postfix) with ESMTP id 678D737B401 for ; Fri, 27 Jul 2001 04:15:41 -0700 (PDT) (envelope-from jckweina@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 27 Jul 2001 04:15:41 -0700 X-Originating-IP: [65.9.255.104] From: "jckweina" To: Subject: JAVA TUTORIAL Date: Fri, 27 Jul 2001 07:13:32 -0400 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0005_01C1166B.A494A000" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Message-ID: X-OriginalArrivalTime: 27 Jul 2001 11:15:41.0367 (UTC) FILETIME=[78A9AC70:01C1168D] 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 This is a multi-part message in MIME format. ------=_NextPart_000_0005_01C1166B.A494A000 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I am a student studying information technology. I need some tutorial on = Java programming. I want to learn forte for Java with its full = components. My return email address is: jckweina@hotmail.com ------=_NextPart_000_0005_01C1166B.A494A000 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I am a student studying information=20 technology.  I need some tutorial on Java programming.  I want = to=20 learn forte for Java with its full components.
 
My return email address is:  jckweina@hotmail.com
 
 
 
------=_NextPart_000_0005_01C1166B.A494A000-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Jul 27 10:29:33 2001 Delivered-To: freebsd-java@freebsd.org Received: from veldy.net (w028.z064001117.msp-mn.dsl.cnc.net [64.1.117.28]) by hub.freebsd.org (Postfix) with ESMTP id 6E80137B403 for ; Fri, 27 Jul 2001 10:29:30 -0700 (PDT) (envelope-from veldy@veldy.net) Received: from HP2500B (localhost.veldy.net [127.0.0.1]) by veldy.net (Postfix) with SMTP id 4A562BAB2; Fri, 27 Jul 2001 12:29:28 -0500 (CDT) Message-ID: <015601c116c1$84e93620$3028680a@tgt.com> From: "Thomas T. Veldhouse" To: "jckweina" Cc: References: Subject: Re: JAVA TUTORIAL Date: Fri, 27 Jul 2001 12:28:15 -0500 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 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.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 Forte is an IDE and has nothing to do with Java per se. http://java.sun.com/docs/books/tutorial/ The above link will get you started with Java. You might pick up a good book as well. You milage will vary depending upon your current programming experience. Just to keep this related to FreeBSD, I would recommend you learn this on the FreeBSD native JDK1.2.2b10. Tom Veldhouse veldy@veldy.net PS -- Please avoid HTML email posts on this, and most mailing lists. ----- Original Message ----- From: jckweina To: freebsd-java@freebsd.org Sent: Friday, July 27, 2001 6:13 AM Subject: JAVA TUTORIAL I am a student studying information technology. I need some tutorial on Java programming. I want to learn forte for Java with its full components. My return email address is: jckweina@hotmail.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Jul 28 1:14:36 2001 Delivered-To: freebsd-java@freebsd.org Received: from www1.compnet.ch (unknown [195.134.144.40]) by hub.freebsd.org (Postfix) with ESMTP id E480437B403 for ; Sat, 28 Jul 2001 01:14:32 -0700 (PDT) (envelope-from peter@mutsaers.com) Received: from mutsaers.com (CH@adsl-unlimited.callino.ch [217.20.192.102] (may be forged)) by [195.134.144.41] (8.10.2/8.10.2) with ESMTP id f6S8ET220339 for ; Sat, 28 Jul 2001 10:14:29 +0200 Received: from mutsaers.com (pion [192.168.100.2]) by mutsaers.com (8.11.3/8.11.1) with ESMTP id f6S8ETl03913 for ; Sat, 28 Jul 2001 10:14:30 +0200 (CEST) (envelope-from peter@mutsaers.com) Message-ID: <3B627464.2050703@mutsaers.com> Date: Sat, 28 Jul 2001 10:14:28 +0200 From: Peter Mutsaers User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.2) Gecko/20010628 X-Accept-Language: en-us MIME-Version: 1.0 To: java@FreeBSD.ORG Subject: Re: JDK2 binary update References: Content-Type: text/plain; charset=ISO-8859-1; format=flowed 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 John Daniels wrote: > > It's only a matter of time before a major vendor supports a next > generation programming language on FreeBSD. The longer that it takes > Sun to welcome FreeBSD into the Java community, the less I care if that > is Sun or MS. > Indeed, Suns lack of support is inexcusable, is damaging to Java or to FreeBSD, depending on your perspective. In "my world", large applications for banks, virtually everything is being rewritten or newly implemented using - java - RDBMS (usually Oracle or DB2 on mainframe) - corba to glue it together The operating system more and more is only a platform to run java and database. Other characteristics of the operating system are becoming irrelevant (such as filesystem, since everything is either stored in the DB or put on the mainframe via corba). Choice of platform only depends on: - does it run Java2 fast and reliably - does it run Oracle reliably It hurts that FreeBSD no longer has a chance, even though as an OS it is good and superior to Linux. The only thing that counts is that Linux runs Java well, and FreeBSD does not. The result is, by the way, that we see more and more NT instead of UNIX, because although it is crap, it runs Java well (then the database runs somewhere else). Sun had better at least provide an excellent Java/Hotspot for most Unices; it is so annoying, almost all software is easily ported between all Unix variants, but the only piece of software that really matters these days (the JVM) is a sad exception. Then they might consider to stop support on NT, or at least not provide the server-version of Hotspot, to prevent defects from UNIX to NT. -- Peter Mutsaers | Dübendorf | UNIX - Live free or die peter@mutsaers.com | Switzerland | Running FreeBSD 4.3-stable To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message