From owner-freebsd-ports Thu May 10 13: 5:25 2001 Delivered-To: freebsd-ports@freebsd.org Received: from ipcard.iptcom.net (ipcard.iptcom.net [212.9.224.5]) by hub.freebsd.org (Postfix) with ESMTP id 9BBD837B422 for ; Thu, 10 May 2001 13:05:19 -0700 (PDT) (envelope-from sobomax@mail-in.net) Received: from notebook.vega.com (dialup13-24.iptelecom.net.ua [212.9.229.24]) by ipcard.iptcom.net (8.9.3/8.9.3) with ESMTP id XAA90046; Thu, 10 May 2001 23:04:39 +0300 (EEST) (envelope-from sobomax@mail-in.net) Date: Thu, 10 May 2001 23:04:39 +0300 (EEST) Message-Id: <200105102004.XAA90046@ipcard.iptcom.net> To: ernst@heinz.jollem.com, freebsd-ports@FreeBSD.ORG From: Maxim Sobolev Reply-To: sobomax@FreeBSD.ORG Subject: Re: ports/26793: New port: java/ibm-jdk X-Mailer: Pygmy (v0.5.5) In-Reply-To: <200105071500.f47F0P825848@freefall.freebsd.org> Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, 7 May 2001 08:00:25 -0700 (PDT), Ernst de Haan wrote: > The following reply was made to PR ports/26793; it has been noted by GNATS. > > From: Ernst de Haan > To: freebsd-gnats-submit@FreeBSD.org, perky@python.or.kr > Cc: sobomax@FreeBSD.org > Subject: Re: ports/26793: New port: java/ibm-jdk > Date: Mon, 7 May 2001 10:25:30 +0200 > > Okay, I tested this JDK and it seems to work, at least with non-graphical > applications. I tested it with Ant and javadoc, and it runs without any big > problems. Only things I noticed are: > > * When starting 'java' the program gives a warning about not being able to > determine the number of processors. This looks like a linuxulator 'problem'. > Should I submit this as a new PR ? This problem is actually has been fixed about several months ago. The problem is that IBM's jdk uses /proc fs to determine number of processors in a very funny way: by counting how many "bogomips" strings are in the /proc/cpuinfo. Pretty innovative way to get hw.ncpu, isn't it :-). FreeBSD doesn't have a /proc/cpuinfo, therefore you have to mount linprocfs into /compat/proc to get rid of this warning. Alternatively, just copy cpuinfo file into /compat/proc from a linux box near you. [snip] > My suggestion: Make sure the name of the port is more specific (for example > 'linux-ibm-jdk1.3' instead of 'ibm-jdk'), make the name of the install > directory more specific ('linux-ibm-jdk1.3.0' instead of 'ibmjdk1.3.0') and > then submit this port for inclusion in the tree. It's good enough for testing > and further improvement IMO. Looks like a nice plan. -Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message